View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0002561||mantisbt||feature||public||2002-09-24 00:03||2019-01-11 06:46|
|Platform||SUN SPARC||OS||Solaris||OS Version||2.7|
|Target Version||Fixed in Version|
|Summary||0002561: Include mail server in config|
My web server can't send mails, so i would like use another one specified in config.
|Tags||No tags attached.|
This already exists... look for $g_smtp_host in your config file.
Note that you have to use the phpMailer classes to use this though...
If you're on *nix, you need to have sendmail installed and php just uses that to send the mail wherever it needs to go.
Check out http://www.php.net/manual/en/ref.mail.php if you need more info
Actually, I just committed code that sets the SMTP system variable when you send a message. This will help if your server is running on windows, but it isn't used on *nix because sendmail should be available there.