从我的PHP网页发送电子邮件 [英] Send email from my PHP webpage

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

问题描述

亲爱的朋友们

我是Sarfaraz。我正在开发一个HTML / CSS的小网站,但我必须在页面上添加一个电子邮件发送选项。我知道它可以在PHP和Asp.net等我试过,但它显示错误。你可以帮我写一下这段代码,或者你在互联网上有什么参考。

谢谢

Sarfaraz

Dear friends
I am Sarfaraz. I am developing a small website in HTML/CSS but i have to add an email sending option on the page. I know it is possible with in PHP and Asp.net etc. I tried but it is displaying errors. Could you please help me in writing this piece of code or if you have any reference on the internet.
Thank you
Sarfaraz

推荐答案

<?php <br mode="hold" /?>


to =xxx@gmail.com; //尝试使用您的邮件ID
to = "xxx@gmail.com";//try with ur mail id


subject =我的主题;
subject = "My subject";


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

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