General > Support

failing leaving message when op is offline

(1/2) > >>

agentili:
After I click in send i get:
Warning: mail() [function.mail]: Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in C:\Inetpub\vhosts\agri.com\httpdocs\webim\libs\common.php on line 513

Warning: Cannot modify header information - headers already sent by (output started at C:\Inetpub\vhosts\plantium.com.br\httpdocs\webim\libs\common.php:513) in C:\Inetpub\vhosts\agri.com\httpdocs\webim\libs\common.php on line 352

Warning: Cannot modify header information - headers already sent by (output started at C:\Inetpub\vhosts\plantium.com.br\httpdocs\webim\libs\common.php:513) in C:\Inetpub\vhosts\agri.com\httpdocs\webim\libs\common.php on line 353

Warning: Cannot modify header information - headers already sent by (output started at C:\Inetpub\vhosts\plantium.com.br\httpdocs\webim\libs\common.php:513) in C:\Inetpub\vhosts\agri.com\httpdocs\webim\libs\common.php on line 354

Warning: Cannot modify header information - headers already sent by (output started at C:\Inetpub\vhosts\plantium.com.br\httpdocs\webim\libs\common.php:513) in C:\Inetpub\vhosts\agri.com\httpdocs\webim\libs\common.php on line 355

techgaia:
Why dont you just use sendmail? it's so much easier.

agentili:
where and what do i change?

agentili:
I need to authentificate my smpt....I should insert something like :
$host = "mail.example.com";
$username = "smtp_username";
$password = "smtp_password";
$smtp = Mail::factory('smtp',
  array ('host' => $host,
    'auth' => true,
    'username' => $username,
    'password' => $password));

but my problem is where????? I tried in mail.php didnt work, I tried in leavemessage.php didnt work, tried in commom.php didnt work!!!! S.O.S :)

agentili:
my Friend who is a genious in PHP fixed for it to work with smtp authentification, whoever have this problem, email me :arturmiller79@hotmail.com

Regards

Navigation

[0] Message Index

[#] Next page

Go to full version