jQuery - send email on button click (2 parts)
Bajet $30-250 USD
- Freelancer
- Kerja
- AJAX
- jQuery - send email on button click (2 parts)
I have an email form written in HTML/PHP.
First part: I want to be able to click a button that says "Send Email", that pops-up another form asking for the Name/Email to whom you want to send to (using jQuery). On click, the PHP form would send an Ajax request that would send an email to that user with the contents of that form as the body of the email message, all text manipulation/tags included (so if it's bolded text, I want the email to have it bolded; even if it's set to non-HTML form, I want the tags to show.)
Second part: same as above, except button says "Send Email as Attachment". Would instead send the message as an attachment (PDF preferred, but text is fine as well), as long as the text manipulation tags are applied (again, if the text is bolded, I want the attachment to have the text bolded.)