Recent Topics

1 Mar 04, 2007 22:26    

My b2evolution Version: 1.9.x

My host says I HAVE to send email through my smtp server and not local host. I also have to provide a valid from email address which is also on my domain.

In wordpress I got this working by adding the following to pluggable.php file....

ini_set("SMTP","mail.mydomain.com");
ini_set("smtp_port","25");
ini_set("sendmail_from","tommy@mydomain.com");

Is there any way I can do something similar to make b2evoltuion work?

Regards,

Tommy

2 Mar 05, 2007 21:24

Add the same lines to /conf/_basic_config.php.

3 Mar 05, 2007 21:43

Does it matter where in the file I put the code?

4 Mar 05, 2007 22:56

I'd put them at the end, before the closing PHP tag ("?>") - with an additional comment that and why you've added them.

6 Mar 24, 2007 19:49

gr8dude, this theread here is "just" about setting PHP settings ("ini_set()").

the above settings are for PHP's mail function, but mail() only uses smtp under windows.


Form is loading...