errors when trying to send mass email

This is an archive of the phpBB 2.0.x support forum. Support for phpBB2 has now ended.
Forum rules
Following phpBB2's EoL, this forum is now archived for reference purposes only.
Please see the following announcement for more information: viewtopic.php?f=14&t=1385785
Locked
iNfLuX
Registered User
Posts: 108
Joined: Thu Jul 10, 2003 2:55 pm
Contact:

errors when trying to send mass email

Post by iNfLuX » Sun May 22, 2005 10:37 pm

i am getting this error when trying to send a mass email...
Ran into problems sending Mail. Response: 500 5.5.1 Command unrecognized: "AUTH LOGIN"

DEBUG MODE

Line : 125
File : smtp.php


i did some searching and found a tip to comment out a portion of smtp.php because of a possibility of my smtp server not requiring AUTH LOGIN. i commented out the following code portion as shown below:

Code: Select all

	// Do we want to use AUTH?, send RFC2554 EHLO, else send RFC821 HELO
	// This improved as provided by SirSir to accomodate
	/*
	if( !empty($board_config['smtp_username']) && !empty($board_config['smtp_password']) )
	{ 
		fputs($socket, "EHLO " . $board_config['smtp_host'] . "\r\n");
		server_parse($socket, "250", __LINE__);

		fputs($socket, "AUTH LOGIN\r\n");
		server_parse($socket, "334", __LINE__);

		fputs($socket, base64_encode($board_config['smtp_username']) . "\r\n");
		server_parse($socket, "334", __LINE__);

		fputs($socket, base64_encode($board_config['smtp_password']) . "\r\n");
		server_parse($socket, "235", __LINE__);
	}
	else
	{
	*/
		fputs($socket, "HELO " . $board_config['smtp_host'] . "\r\n");
		server_parse($socket, "250", __LINE__);
	//}
this then resulted in this error...
Ran into problems sending Mail. Response: 550 5.7.1 ... Relaying denied

DEBUG MODE

Line : 154
File : smtp.php


i am now completely stumped. i have btw enabled "use smtp server for email" in the config and have filled in my correct smtp server address and username and password; i don't know why it's still claiming i'm trying to relay.... any help would be greatly appreciated!!

iNfLuX
Registered User
Posts: 108
Joined: Thu Jul 10, 2003 2:55 pm
Contact:

Post by iNfLuX » Mon May 23, 2005 1:32 am

anyone?

iNfLuX
Registered User
Posts: 108
Joined: Thu Jul 10, 2003 2:55 pm
Contact:

Post by iNfLuX » Tue May 24, 2005 1:06 am

come on, someone's got to have somethin' for me... ;)

Locked

Return to “2.0.x Support Forum”