-1

I am aware that we can send mail using jQuery by mailtofunction and send the mail from outlook. By default it will take the from address as the account logged into outlook.

How can we customize the from address by jQuery, so that while opening the mail in outlook, a user specifies mail address should be populated in From address?

Thanks in advance.

Naren
  • 1,300
  • 14
  • 32
  • `mailto` is html and has nothing to do with jquery – Pete Dec 17 '15 at 14:00
  • Also you can't change the from address in outlook - you can only send emails from any account you have set up in outlook, otherwise people would be able to just spam and send emails from spoof accounts – Pete Dec 17 '15 at 14:14

1 Answers1

0

mailto is no function of jquery not javascript, it is a html link and your browser opens your default mail program if you press it!

You can not do this with a mailto, you have to write both a E-Mail script (eg. in PHP) and use jQuery.post.

See how to here

Community
  • 1
  • 1
Clemens Himmer
  • 1,340
  • 2
  • 13
  • 26