如何在按钮点击时用PHP发送电子邮件 [英] How to send email in PHP on button click
本文介绍了如何在按钮点击时用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.
这篇关于如何在按钮点击时用PHP发送电子邮件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文