Author Topic: SMTP with password authentication to send email FIX  (Read 7518 times)

0 Members and 2 Guests are viewing this topic.

Offline JimBobUK

  • Newbie
  • *
  • Posts: 15
    • View Profile
    • http://www.design-xtreme.co.uk
SMTP with password authentication to send email FIX
« 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

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
SMTP with password authentication to send email FIX
« Reply #1 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
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline JimBobUK

  • Newbie
  • *
  • Posts: 15
    • View Profile
    • http://www.design-xtreme.co.uk
SMTP with password authentication to send email FIX
« Reply #2 on: April 09, 2003, 05:27:07 PM »
Sorry!

Didnt know that 4images was around 6 months ago!

:(:(:(

What a hermit huh! :)

Offline saywhat

  • Pre-Newbie
  • Posts: 2
    • View Profile
JimBobUK you are the best!!!!!!!!!
« Reply #3 on: June 22, 2003, 07:00:39 PM »
JimBobUK,

Thank you soooooooo much for sharing this code!!!!!!!!!!

Offline JimBobUK

  • Newbie
  • *
  • Posts: 15
    • View Profile
    • http://www.design-xtreme.co.uk
SMTP with password authentication to send email FIX
« Reply #4 on: June 22, 2003, 09:02:04 PM »
No problem, glad to help :)