 |
Apache2Triad Help, Support and Development The apache2triad help , support and development forums
|
| View previous topic :: View next topic |
| Author |
Message |
jxc2010
Joined: 26 Nov 2006
Posts: 1
|
| Posted: Sun Nov 26, 2006 8:40 pm Post subject: SMTP Isn't Working |
|
|
Hi everyone.
I have setup my domain and opened the correct ports (for email I have 25 + 110) and when I sent an email from my GMail account to my new email server and I worked I was happy! But when I try to send an email, Uebimiau (btw, how do you say that?) says it cannot connect to the SMTP server. I tried this whole thing behind a proxy.
Hopefully someone can help!
Thanks :D
EDIT: According to Canyouseeme.org, my port 25 is NOT blocked by my ISP! Now what? |
|
| Back to top |
|
felician1
Joined: 23 Jul 2008
Posts: 1
|
| Posted: Sun Aug 03, 2008 9:55 am Post subject: Overcoming outgoing email problems on Uebimiau |
|
|
For the benefit of those running Apache2Triad 1.4.4 on Vista OS:
I was able to overcome the outgoing email problem on Uebimiau by modifying a few parameters on the following two files: /inc/config.php and /inc/class.phpmailer.php
On /inc/config.php find $mailer_type:
Code: ########################################################################
# Specify mail transport
# Allowed values:
# "smtp" - To use an external SMTP Server specified in $smtp_server
# "sendmail" - To server's sendmail-compatible MTA. If you need to change
# the path, look into /inc/class.phpmailer.php and search for
# var $Sendmail = "/usr/sbin/sendmail";
# "mail" - To use default PHP's mail() function
########################################################################
$mailer_type = "smtp";
Change $mailer_type to:
Code:
########################################################################
# Specify mail transport
# Allowed values:
# "smtp" - To use an external SMTP Server specified in $smtp_server
# "sendmail" - To server's sendmail-compatible MTA. If you need to change
# the path, look into /inc/class.phpmailer.php and search for
# var $Sendmail = "/usr/sbin/sendmail";
# "mail" - To use default PHP's mail() function
########################################################################
$mailer_type = "sendmail";
Then proceed to modify /inc/phpmailer.php. Find the code for $Sendmail:
Code:
/**
* Sets the path of the sendmail program.
* @var string
*/
var $Sendmail = "/usr/sbin/sendmail";
Change the code on $Sendmail to:
Code:
/**
* Sets the path of the sendmail program.
* @var string
*/
var $Sendmail = "C:/apache2triad/mail/bin/sendmail.exe";
Hope this helps others! |
|
| Back to top |
|
| |
|