Welcome Guest, Not a member yet? Register   Sign In
I choose SMTP, but get mail() error
#1

[eluser]nunomira[/eluser]
Hi,

I have a config file for sending email, something like:
Code:
$config['protocol'] = 'smtp';

$config['smtp_host'] = 'mail.myDomain.com';
$config['smtp_user'] = '[email protected]';
$config['smtp_pass'] = 'myDomain';


$config['email_from'] = '[email protected]';
$config['email_from_name'] = 'sender';

The thing is that I'm getting this error:

Quote:RROR - 2009-02-16 23:05:12 --&gt; Severity: Warning --&gt; mail() [<a href='function.mail'>function.mail</a>]: Failed to connect to mailserver at &quot;localhost&quot; port 25, verify your &quot;SMTP&quot; and &quot;smtp_port&quot; setting in php.ini or use ini_set() C:\wamp\www\myDomain-productions\CodeIgniter_1.7.1\system\libraries\Email.php 1519
ERROR - 2009-02-16 23:05:12 --&gt; Unable to send email using PHP mail(). Your server might not be configured to send mail using this method.<br /><pre>From: "Tribal Productions" <[email protected]>
Return-Path: <[email protected]>
Reply-To: "[email protected]" <[email protected]>
X-Sender: [email protected]
X-Mailer: CodeIgniter
X-Priority: 3 (Normal)

How is this?
I choose SMTP, have everything configured and CI tries to use mail() !
And this was working at work. But not now, at home (different computer).

I have a slight idea that I've had this problem in the past... and that it related to having AVG installed... but I'm not realy sure.
Can AVG block CI's SMTP connection and CI defaults to mail() ?
Does this make sense?


Messages In This Thread
I choose SMTP, but get mail() error - by El Forum - 02-16-2009, 04:12 PM
I choose SMTP, but get mail() error - by El Forum - 02-17-2009, 01:06 AM
I choose SMTP, but get mail() error - by El Forum - 02-17-2009, 01:16 AM
I choose SMTP, but get mail() error - by El Forum - 02-17-2009, 10:52 AM
I choose SMTP, but get mail() error - by El Forum - 02-17-2009, 12:00 PM
I choose SMTP, but get mail() error - by El Forum - 02-17-2009, 12:10 PM
I choose SMTP, but get mail() error - by El Forum - 04-06-2009, 03:16 PM
I choose SMTP, but get mail() error - by El Forum - 11-01-2009, 05:21 AM
I choose SMTP, but get mail() error - by El Forum - 11-01-2009, 04:52 PM
I choose SMTP, but get mail() error - by El Forum - 04-04-2010, 02:31 PM
I choose SMTP, but get mail() error - by El Forum - 04-04-2010, 03:09 PM
I choose SMTP, but get mail() error - by El Forum - 04-04-2010, 03:33 PM
I choose SMTP, but get mail() error - by El Forum - 04-04-2010, 04:35 PM
I choose SMTP, but get mail() error - by El Forum - 04-04-2010, 07:59 PM
I choose SMTP, but get mail() error - by El Forum - 04-07-2010, 01:55 AM
I choose SMTP, but get mail() error - by El Forum - 04-07-2010, 06:57 AM
I choose SMTP, but get mail() error - by El Forum - 04-17-2010, 11:48 AM
I choose SMTP, but get mail() error - by El Forum - 04-17-2010, 12:28 PM
I choose SMTP, but get mail() error - by El Forum - 06-08-2011, 01:18 AM
I choose SMTP, but get mail() error - by El Forum - 02-03-2012, 05:47 AM
I choose SMTP, but get mail() error - by El Forum - 02-03-2012, 05:54 AM
I choose SMTP, but get mail() error - by El Forum - 02-03-2012, 06:00 AM
I choose SMTP, but get mail() error - by El Forum - 11-28-2012, 04:47 PM
I choose SMTP, but get mail() error - by El Forum - 11-28-2012, 07:57 PM



Theme © iAndrew 2016 - Forum software by © MyBB