Apache2Triad Help, Support and Development Forum Index Search Profile Log in to check your private messages Log in Register Memberlist Attachments Statistics Crew/Ranks Archive
 SMTP Isn't Working
Google
Post new topic Reply to topic
Author Message
jxc2010
 
 


Joined: 26 Nov 2006
Posts: 1

PostPosted: Sun Nov 26, 2006 8:40 pm Reply with quoteBack to top

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 Very Happy

EDIT: According to Canyouseeme.org, my port 25 is NOT blocked by my ISP! Now what?
View user's profileSend private message
felician1
 
 


Joined: 23 Jul 2008
Posts: 1

PostPosted: Sun Aug 03, 2008 9:55 am Reply with quoteBack to top

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!
View user's profileSend private message
Display posts from previous:      
Post new topic Reply to topic


 Jump to:   



View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum
Powered by phpBB © 2001, 2002 phpBB Group :: FI Theme
All times are GMT