https://www.icyphoenix.com/viewtopic.php?f=35&t=6497&p=44781#p44781
-----------------------------------
christmanrd
Sun 04 Oct, 2009 17:42

Re: Icy Phoenix 1.3.0.53a - Email To A Friend
-----------------------------------
[quote user="Lopalong" post="44610"]Just check that all your email addresses, both board and profile are squeaky clean and don't contain typo's. ;)

At least it will be a start somewhere.  8)

[b]Edit:[/b]

Or again do a file replacement with /includes/smtp.php - - - - - Binary of course! :P[/quote]


I have performed the above mentioned steps and I am still receiving the error.

It is looking for the "@" symbol after the name "[color=red]ME[/color]".  At least that is what I see in the error message.

[quote]Ran into problems sending Mail. Response: 501 >: "@" or "." expected after "[color=red]me[/color]"

DEBUG MODE

Line : 156
File : smtp.php[/quote]

Again, This is what it looks like prior to hitting send: 

[quote]Your Name:  	                   longhairedcountryboy
Your Email Address: 	           dave@daves     email address withheld from display
Your Friend's Name:              [color=red]me	[/color]
Your Friend's Email Address:  email address withheld from display[/quote]


smtp.php lines 148 - 158

  [code linenumbers=false]148	// Specify each user to send to and build to header.
149	$to_header = '';
150
151	// Add an additional bit of error checking to the To field.
152	$mail_to = (trim($mail_to) == '') ? 'Undisclosed-recipients:;' : trim($mail_to);
153	if (preg_match('#[^ ]+\@[^ ]+#', $mail_to))
154	{
155		fwrite($socket, "RCPT TO: <$mail_to>\r\n");
156		server_parse($socket, "250", __LINE__);
157	}
158
[/code]

Thanks, 

Dave


