使用php发送电子邮件到squirrelMail的问题 [英] problem in sending email using php to squirrelMail
本文介绍了使用php发送电子邮件到squirrelMail的问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在使用php仅将电子邮件发送到squirrelMail时遇到问题,但我可以向其他人发送电子邮件,例如gmail,yahoo等.我需要此代码
I had a problem in sending email using php to squirrelMail only but i can able to send mails others like gmail,yahoo etc..I need code for this
推荐答案
这根本没有意义,发送电子邮件很容易,而松鼠邮件只是邮件客户端.
就像您会说无法向Outlook发送电子邮件...
我正在使用此PHP代码发送邮件,并且对我来说效果很好:
This has no sense at all, sending an e-mail is easy and squirrel mail is only a mail client.
It is like you would say that sending an e-mail to outlook would not be possible...
I''m using this PHP code to send mails and it works perfectly for me:
mime_boundary = md5(time());
mime_boundary=md5(time());
标题 = " .date( lj FY,G:i"). " ;
headers = "Date: ".date("l j F Y, G:i")."\n";
这篇关于使用php发送电子邮件到squirrelMail的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文