 |
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: 2
|
| 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 |
|
vanzant
Joined: 08 Sep 2008
Posts: 6
|
| Posted: Mon Sep 08, 2008 7:16 pm Post subject: ok |
|
|
but what if you use 2 domains check it outt
you can not sent from 1 domain to another domain or if you place the webmain in vhost with 2 domains not working at all
however.
what is working is if you sent email from outlook treu that domain and you check in webmail than you see the mail and if you repley back to that sender it works
but try so sent from this webmail to other domains NOT WORKING
setup 4 domains in your mailserver and the settings are all the same like the first 1
this is not good at all
no wonder you can not sent true other domains true internet...
no alot of work on this thrash mailserver if you ask me
:roll: |
|
| Back to top |
|
| |
|