Click here to Skip to main content
15,889,462 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hello guys, anyone can tell me how can I send email with data of my page in PHP
I have some customer details and billing details and some other information on my admin page I want to send that data in email on button click
please guys help me please

What I have tried:

echo '<a href="mailto:' . esc_attr($contact_detail['']) . '" ></a>';
Posted
Comments
Mohibur Rashid 22-Aug-17 22:39pm    
href mailto in general trigger to open default mail client in your machine. You need to use mail related function, google is your friend

1 solution

There are tons of examples on how to do this on the web. Google it! But here's one[^] to get you started.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900