Re: [PHP] SMTP and GroupWise
Todd Cary wrote: My client is using GroupWise to relay *without* having relay turned on and it needs/uses an authenication that is different from the regular SMTP. Here is a trace of a message that went through: [ snipped POP before SMTP authentication ] Does anyone know of a class that can provide this type of authenication? I don't know of a class, but phpprojekt 4.1 has this functionality built in. You could look at that code and get some ideas. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] SMTP and GroupWise
My client is using GroupWise to relay *without* having relay turned on and it needs/uses an authenication that is different from the regular SMTP. Here is a trace of a message that went through: 02/11/2004 06:55:27 SMTP to rcpt: Al Smith [EMAIL PROTECTED] 02/11/2004 06:55:29 +OK GroupWise POP3 server ready 02/11/2004 06:55:29 USER scan01 02/11/2004 06:55:29 +OK 02/11/2004 06:55:29 PASS *** 02/11/2004 06:55:29 +OK 02/11/2004 06:55:29 QUIT 02/11/2004 06:55:29 +OK GroupWise POP3 server signing off 02/11/2004 06:55:29 Authenticated at POP Host: mailman.cd-hq.com 02/11/2004 06:55:31 220 mailman.cd-hq.com GroupWise Internet Agent 6.5.1 Copyright (c) 1993-2003 Novell, Inc. All rights reserved. Ready 02/11/2004 06:55:31 HELO FDM 02/11/2004 06:55:31 250 mailman.cd-hq.com Ok 02/11/2004 06:55:31 MAIL FROM:[EMAIL PROTECTED] 02/11/2004 06:55:31 250 Ok 02/11/2004 06:55:31 RCPT TO:[EMAIL PROTECTED] 02/11/2004 06:55:31 250 Ok 02/11/2004 06:55:31 DATA 02/11/2004 06:55:31 354 Enter mail, end with . on a line by itself 02/11/2004 06:55:31 . 02/11/2004 06:55:31 250 Ok 02/11/2004 06:55:31 Rcpt: Al Smith ([EMAIL PROTECTED]) 1 file(s) sent 02/11/2004 06:55:31 QUIT 02/11/2004 06:55:31 221 mailman.cd-hq.com Closing transmission channel Does anyone know of a class that can provide this type of authenication? Todd -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] SMTP and GroupWise
That's just basic pop before smtp. A common way of authenticating. Just make a connection to the pop server after the hello and before sending the email. Most mail servers cache this info for a certain amount of time so you may not have to do it every time you send. I know that http://phpmailer.sourceforge.net/docs/ supports this you may want to look at their code. -Dave At 02:47 PM 4/22/2004, Todd Cary wrote: My client is using GroupWise to relay *without* having relay turned on and it needs/uses an authenication that is different from the regular SMTP. Here is a trace of a message that went through: 02/11/2004 06:55:27 SMTP to rcpt: Al Smith [EMAIL PROTECTED] 02/11/2004 06:55:29 +OK GroupWise POP3 server ready 02/11/2004 06:55:29 USER scan01 02/11/2004 06:55:29 +OK 02/11/2004 06:55:29 PASS *** 02/11/2004 06:55:29 +OK 02/11/2004 06:55:29 QUIT 02/11/2004 06:55:29 +OK GroupWise POP3 server signing off 02/11/2004 06:55:29 Authenticated at POP Host: mailman.cd-hq.com 02/11/2004 06:55:31 220 mailman.cd-hq.com GroupWise Internet Agent 6.5.1 Copyright (c) 1993-2003 Novell, Inc. All rights reserved. Ready 02/11/2004 06:55:31 HELO FDM 02/11/2004 06:55:31 250 mailman.cd-hq.com Ok 02/11/2004 06:55:31 MAIL FROM:[EMAIL PROTECTED] 02/11/2004 06:55:31 250 Ok 02/11/2004 06:55:31 RCPT TO:[EMAIL PROTECTED] 02/11/2004 06:55:31 250 Ok 02/11/2004 06:55:31 DATA 02/11/2004 06:55:31 354 Enter mail, end with . on a line by itself 02/11/2004 06:55:31 . 02/11/2004 06:55:31 250 Ok 02/11/2004 06:55:31 Rcpt: Al Smith ([EMAIL PROTECTED]) 1 file(s) sent 02/11/2004 06:55:31 QUIT 02/11/2004 06:55:31 221 mailman.cd-hq.com Closing transmission channel Does anyone know of a class that can provide this type of authenication? Todd -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php David G. O'Brien Web Services Coordinator / Systems Administrator NACCRRA The Nation's Network of Child Care Resource Referral 1319 F Street NW, Suite 500 Washington, DC 20004 (202) 393-5501 ext. 113 (202) 393-1109 fax -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] SMTP and GroupWise
David - I am using the phpmailer class, and I do not see mention of using the POP3 for authentication. Am I missing something? Todd David O'Brien wrote: That's just basic pop before smtp. A common way of authenticating. Just make a connection to the pop server after the hello and before sending the email. Most mail servers cache this info for a certain amount of time so you may not have to do it every time you send. I know that http://phpmailer.sourceforge.net/docs/ supports this you may want to look at their code. -Dave At 02:47 PM 4/22/2004, Todd Cary wrote: My client is using GroupWise to relay *without* having relay turned on and it needs/uses an authenication that is different from the regular SMTP. Here is a trace of a message that went through: 02/11/2004 06:55:27 SMTP to rcpt: Al Smith [EMAIL PROTECTED] 02/11/2004 06:55:29 +OK GroupWise POP3 server ready 02/11/2004 06:55:29 USER scan01 02/11/2004 06:55:29 +OK 02/11/2004 06:55:29 PASS *** 02/11/2004 06:55:29 +OK 02/11/2004 06:55:29 QUIT 02/11/2004 06:55:29 +OK GroupWise POP3 server signing off 02/11/2004 06:55:29 Authenticated at POP Host: mailman.cd-hq.com 02/11/2004 06:55:31 220 mailman.cd-hq.com GroupWise Internet Agent 6.5.1 Copyright (c) 1993-2003 Novell, Inc. All rights reserved. Ready 02/11/2004 06:55:31 HELO FDM 02/11/2004 06:55:31 250 mailman.cd-hq.com Ok 02/11/2004 06:55:31 MAIL FROM:[EMAIL PROTECTED] 02/11/2004 06:55:31 250 Ok 02/11/2004 06:55:31 RCPT TO:[EMAIL PROTECTED] 02/11/2004 06:55:31 250 Ok 02/11/2004 06:55:31 DATA 02/11/2004 06:55:31 354 Enter mail, end with . on a line by itself 02/11/2004 06:55:31 . 02/11/2004 06:55:31 250 Ok 02/11/2004 06:55:31 Rcpt: Al Smith ([EMAIL PROTECTED]) 1 file(s) sent 02/11/2004 06:55:31 QUIT 02/11/2004 06:55:31 221 mailman.cd-hq.com Closing transmission channel Does anyone know of a class that can provide this type of authenication? Todd -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php David G. O'Brien Web Services Coordinator / Systems Administrator NACCRRA The Nation's Network of Child Care Resource Referral 1319 F Street NW, Suite 500 Washington, DC 20004 (202) 393-5501 ext. 113 (202) 393-1109 fax -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] SMTP and GroupWise
On Friday 23 April 2004 03:27, Todd Cary wrote: I am using the phpmailer class, and I do not see mention of using the POP3 for authentication. Am I missing something? I don't think it supports POP-before-relay last time I looked - which was quite a while ago. What you need to do is login correctly to the POP server (any valid account will do) before you send your mail. manual IMAP, POP3 and NNTP Functions -- Jason Wong - Gremlins Associates - www.gremlins.biz Open Source Software Systems Integrators * Web Design Hosting * Internet Intranet Applications Development * -- Search the list archives before you post http://marc.theaimsgroup.com/?l=php-general -- /* Alive without breath, As cold as death; Never thirsty, ever drinking, All in mail ever clinking. */ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php