开发者

problems with sending mail

开发者 https://www.devze.com 2022-12-24 10:20 出处:网络
I use local server, and there are some problems with sending mail! I think i must change something in my php.ini file. can somebody help me?

I use local server, and there are some problems with sending mail!

I think i must change something in my php.ini file. can somebody help me?

The 开发者_开发技巧whole problem in this!!! It doesn't return any error! That is why,I'm not able to understand where i wrong?.


Vague question, vague answer: Use SwiftMailer.

You can find the description of the ini parameters directly influencing php's mail() function at http://php.net/manual/en/mail.configuration.php


The problems sending mail fom PHP can be various and many. Maybe you could try to give us a better description of how sending mail fails (e.g. do you get an error response from calling the mail function within php; is mail not delivered; are you even running a local mailserver or some equivalent library that enables sending off email from the machine). Then, it's easier to solve a potential problem at hand.


Check if sendmail can actually send emails from your local server

if not probably it is a problem of firewall.

if sendmail works, then the problems is with php, but in my experience the problem is always with the server.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号