Rita
Rita

Reputation: 921

Sending email using MailTo is not working on my ASP.NET MVC application

I have a web Page in my ASP.NET MVC application with a link called "Click here to request the access".

When the user clicks on this, Outlook New Email window is not showing.

Here is the Code using mailto:

<span><a href="mailto:[email protected]?subject=Please give access to the user">Click Here</a> to request the access.</span>

Wondering.. am i missing any setting or anything? Or is there any security thing that is stopping me.

Appreciate your time.

Thanks

Upvotes: 2

Views: 1150

Answers (1)

marcind
marcind

Reputation: 53183

This has nothing to do with the server. This is a client-side (browser) behavior. Do mailto links work for other websites? Is Outlook registered as the default mail software?

Upvotes: 7

Related Questions