[SOLVED] Problems with argosoft mail server
Posted: Fri Mar 30, 2007 8:07 am
feyd | Please use
feyd | Please use
Code: Select all
,Code: Select all
and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]
Hi,
Thnak you for swiftmailer Its a nice applicacion...
I have problems when send an email to a Argosoft SMTP server...
I solved using:
1. I need to add $smtp->setExtension("AUTH", array("LOGIN")); in connect mode.
2. I need to modify $this->command("EHLO " . $this->domain, 250); to force EHLO command... If I use HELO dont work...
With these changes all works... but I need to modify swift.php
Can you review it?
Seems that if (strpos($greeting->getString(), "ESMTP")) dont work...
Argosoft returns:
220 ArGoSoft Mail Server Freeware, Version 1.8 (1.8.8.9)
NOT ESMTP!!!
Can you add some options or...?Code: Select all
$smtp = new Swift_Connection_SMTP($this->Host);
$smtp->attachAuthenticator(new Swift_Authenticator_LOGIN());
$smtp->setExtension("AUTH", array("LOGIN"));
$smtp->setUsername($this->Username);
$smtp->setpassword($this->Password);
$this->swift = new Swift($smtp);feyd | Please use
Code: Select all
,Code: Select all
and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]