如何在按钮点击时用PHP发送电子邮件

问题描述:

大家好,有人可以告诉我怎样才能用PHP发送包含我页面数据的电子邮件

我有一些客户详细信息和账单明细以及我想发送的管理页面上的其他一些信息点击按钮点击电子邮件中的数据

请各位帮帮我



我尝试了什么:



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>';

contact_detail [''])。 '> < / a>';
contact_detail['']) . '" ></a>';


上面有很多例子如何在网上这样做.Google it!但这是一个 [ ^ ]让您入门。
There are tons of examples on how to do this on the web. Google it! But here's one[^] to get you started.