php - Automate mailto process -


how can automate mailto process, instead of new compose window pop in 1 of mail clients possible have email send in background, not having user click send.

overall want receive email 1 of customers contains there choice "approved" or "rejected" , have them press on either button , email sent automatically , maybe after have clicked on button have redirect them page stating decision made etc.

if it's not possible automatically send email there inbox without there permission speak it'll automated there way capture or there email along there choice , have send orders@macwearembroideryclothing.com

approve & reject button code:

<a href="mailto:orders@macwearembroideryclothing.com?subject=review&body=rejected" style="background: #222222; border: 15px solid #222222; padding: 0 10px;color: #ffffff; font-family: sans-serif; font-size: 13px; line-height: 1.1; text-align: center; text-decoration: none; display: block; border-radius: 3px; font-weight: bold;" class="button-a">  <a href="mailto:orders@macwearembroideryclothing.com?subject=review&body=approved" style="background: #222222; border: 15px solid #222222; padding: 0 10px;color: #ffffff; font-family: sans-serif; font-size: 13px; line-height: 1.1; text-align: center; text-decoration: none; display: block; border-radius: 3px; font-weight: bold;" class="button-a"> 

gmail client:

html email before button click

after approve button has been pressed

you won't have access information (or able send through) users email account without co-operation - approach pretty written off.

i think key thing here your server needs work, , send email you. how depend on server technology use - able handle it. mentioned in comments php has various ways of sending emails.

you ask user email address, name etc... , include in email server sends you.

a start finding example of 'contact us' form works on server, , removing fields don't need.


Comments

Popular posts from this blog

php - How to add and update images or image url in Volusion using Volusion API -

javascript - IE9 error '$'is not defined -