javascript - Opening mail box with html link - Stack Overflow

I have some requirements for my ASP.NET website like, On clicking a button, Composing mail window shoul

I have some requirements for my ASP.NET website like,

On clicking a button, Composing mail window should open with To, CC list and I should have a link 'Click here to send mail' in the body of the mail.

On clicking the link in mail body, Another posing mail window should open with To, cc list.

I am not supposed to use Outlook, since it is on server side. I am not supposed to use Mailmessage and smtp, since I want to open a mail item instead of triggering a mail.

Please suggest some solutions.

I have some requirements for my ASP.NET website like,

On clicking a button, Composing mail window should open with To, CC list and I should have a link 'Click here to send mail' in the body of the mail.

On clicking the link in mail body, Another posing mail window should open with To, cc list.

I am not supposed to use Outlook, since it is on server side. I am not supposed to use Mailmessage and smtp, since I want to open a mail item instead of triggering a mail.

Please suggest some solutions.

Share Improve this question edited Nov 3, 2014 at 12:12 mihai 38.6k11 gold badges62 silver badges89 bronze badges asked Nov 3, 2014 at 4:58 user3859666user3859666 2792 gold badges12 silver badges24 bronze badges 2
  • Sorry, but what wrong with using an SMTP server to send an email? – Chief Wiggum Commented Nov 3, 2014 at 5:00
  • I don't want to trigger a mail, instead I need to open a mail item.Is that possible to open a outlook window using SMTP? – user3859666 Commented Nov 3, 2014 at 5:44
Add a ment  | 

1 Answer 1

Reset to default 4

try this

<a href="mailto:[email protected][email protected]">Email Us!</a>

Even you can add more details like CC,BCC,Subject or Body template,

<a href="mailto:[email protected][email protected]&[email protected]&subject=Enquiry%20regarding%20product%20#0022&body=I%20would%20like%20more%20information%20on%20product%20#0022">Email Us!</a>

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745227934a4617547.html

相关推荐

  • javascript - Opening mail box with html link - Stack Overflow

    I have some requirements for my ASP.NET website like, On clicking a button, Composing mail window shoul

    4小时前
    20

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信