Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Administrators

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-08-2010, 09:04 PM
New Member
 
Posts: 4
Default Phpmailer & Zimbra Server

hello,

i'm just setup zimbra open source colaboration server on ubuntu 8.04. it running smooth with ms outlook. i can send & received email. i'm software developer using php. just make testing with my php script to send email using zimbra server. until now failed. here my php script.


PHP Code:
require_once ('email/class.phpmailer.php');
$mail = new PHPMailer();
$mail->IsSMTP(); 
$mail->SMTPAuth true;
$mail->Host 'abc.com.my';
$mail->SMTPSecure 'tls'
$mail->Port 465;
$mail->SMTPDebug "true";   
$mail->Username 'myname';
$mail->Password 'mypassword';
$mail->SetFrom('myname@abc.com.my''Kamrul Arifin Bin Ngah');
$mail->AddAddress('otheruser@abc.com.my''Administrator');
$mail->Subject 'PHPMailer Message';
$mail->Body 'This e-mail is sent through PHPMailer.';
//$mail->AddAttachment('path/logo.png', 'logo.png');
if(!$mail->Send()) {
  echo 
'Mailer error: '.$mail->ErrorInfo;
} else {
  echo 
'Message has been sent.';

when i tried sending email from ubuntu my application server outside from zimbra local area network but failed. here the error when i run the script

Quote:
Language string failed to load: tls Mailer error: Language string failed to load: tls
error from zimbra log
Quote:
Nov 9 13:01:46 mail postfix/smtpd[4555]: warning: 115.132.160.122: hostname 132.115.in-addr.arpa verification failed: Name or service not known
Nov 9 13:01:46 mail postfix/smtpd[4555]: connect from unknown[115.132.160.122]
Nov 9 13:01:46 mail postfix/smtpd[4555]: setting up TLS connection from unknown[115.132.160.122]
Nov 9 13:01:56 mail postfix/smtpd[4555]: SSL_accept error from unknown[115.132.160.122]: -1
Nov 9 13:01:56 mail postfix/smtpd[4555]: warning: TLS library problem: 4555:error:140760FC:SSL routines:SSL23_GET_CLIENT_HELLO:unknown protocol:s23_srvr.c:578:
Nov 9 13:01:56 mail postfix/smtpd[4555]: lost connection after CONNECT from unknown[115.132.160.122]
Nov 9 13:01:56 mail postfix/smtpd[4555]: disconnect from unknown[115.132.160.122]
any expert can help me?
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.