从我的应用程序发送邮件 [英] send mail from my application

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

问题描述

我想从php应用程序向我的gmail帐户发送测试邮件.我尝试了很多代码,但消息未交付.

我尝试了很多好的代码,说的是错误文件中的错误,

sendmail:传递过程中出错:此服务器上没有SSL.

我必须在php.ini中配置的内容

请帮助我.

i want to send a test mail to my gmail account from a php application. i tried lot of codes but the messge was not delivering.

i tried many codes from good it was saying error in the error file that

sendmail: Error during delivery: SSL is not available on this server.

what i have to configure in php.ini

plz help me.

推荐答案

您遇到任何错误吗?您尝试了什么代码?试用Google的发送邮件php",您将获得许多有效的代码.
Did you get any error? What code did you try? Try Google for "send mail php" you will get lots of working code.


尝试!

try!


host ="ssl://mail.example.com";
host = "ssl://mail.example.com";


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

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