4images Forum & Community

4images Issues / Ausgaben => Installation, Update & Configuration => Topic started by: JimBobUK on April 09, 2003, 04:44:53 PM

Title: SMTP with password authentication to send email FIX
Post by: JimBobUK on April 09, 2003, 04:44:53 PM
My server requires Authentication so when I went through your script, I changed the following lines....

These lines are taken from the Plain email php file.....

Quote
Was......
var $auth_type = "PLAIN"; // Default: "LOGIN". Set to "PLAIN" if required.
Now......
var $auth_type = "LOGIN"; // Default: "LOGIN". Set to "PLAIN" if required.

Quote
Was.....
fputs($fp, "EHLO ".$config['smtp_host'].$this->crlf);
Now.....
fputs($fp, "HELO ".$config['smtp_host'].$this->crlf);

Quote
Was.....
$this->error('EHLO invalid mail server response: $result', 1);
Now.....
$this->error('HELO invalid mail server response: $result', 1);


I hope this is a cure to some peoples problems
Title: SMTP with password authentication to send email FIX
Post by: V@no on April 09, 2003, 05:06:53 PM
ah, I wish u post it 6 month ago... :?  :D  :wink:
http://4homepages.de/forum/viewtopic.php?t=1382
Title: SMTP with password authentication to send email FIX
Post by: JimBobUK on April 09, 2003, 05:27:07 PM
Sorry!

Didnt know that 4images was around 6 months ago!

:(:(:(

What a hermit huh! :)
Title: JimBobUK you are the best!!!!!!!!!
Post by: saywhat on June 22, 2003, 07:00:39 PM
JimBobUK,

Thank you soooooooo much for sharing this code!!!!!!!!!!
Title: SMTP with password authentication to send email FIX
Post by: JimBobUK on June 22, 2003, 09:02:04 PM
No problem, glad to help :)