如何在html页面发送电子邮件? [英] How to send email in html page?

查看:451
本文介绍了如何在html页面发送电子邮件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我有一个Contactus页面,然后我给出了姓名,电子邮件和内容,然后clcik提交按钮我要发送电子邮件。



如何在html页面发送电子邮件?



提前致谢。

santhosh

解决方案

你的问题就像问 - 我怎么能用踏板自行车到达月球......



答案是 - 你不能。



发送电子邮件需要SMTP服务器。它不能仅从HTML发送。您需要访问驻留在服务器端的SMTP服务器。因此,您需要切换到ASP.NET或PHP或其他任何平台上的动态网站。



HTML网站是静态的。它们不能用于发送电子邮件。用户可以通过点击HTML页面中的mailto链接来打开他的默认电子邮件编辑器。但是实际上无法从您的网站发送邮件。


您可以从这里开始。< br $> b $ b

http:/ /www.bing.com/search?q=Sending+Email+in+HTML&FORM=QSRE1 [ ^ ]



访问上面提到的链接你会发现溶液。!!!

Hi,
I have one Contactus page and in that i give name,email and content then clcik submit button i want to send email.

How to send email in html page?

Thanks in advance.
santhosh

解决方案

Your question is like asking - "How can I reach the moon using a pedal led bicycle"...

And the answer is - You cannot.

Sending email requires SMTP server. It cannot be sent from the HTML alone. You need the access to the SMTP server which resides on server side. So you need to switch to dynamic website on platform like ASP.NET or PHP or any other.

HTML websites are static. They cannot be used to send email. At the most the user can open his default email editor by clicking on the mailto link in the HTML page.But cannot actually SEND mail from your website.


you can start it from here.

http://www.bing.com/search?q=Sending+Email+in+HTML&FORM=QSRE1[^]

visit above mentioned link you will find the solution.!!!


这篇关于如何在html页面发送电子邮件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆