3 messages in com.mysql.lists.eventum-usersSMTP error if national characters are...
FromSent OnAttachments
Lengyel György16 Sep 2007 23:23 
Lengyel György17 Sep 2007 00:53 
Elan Ruusamäe20 Sep 2007 04:44 
Subject:SMTP error if national characters are used in username
From:Lengyel György (leng@citromail.hu)
Date:09/16/2007 11:23:04 PM
List:com.mysql.lists.eventum-users

Dear List,

The error is:

******* An error was found at 09/16/2007 22:20:01 (1189974001) on line '242' of script '/mnt/md5/services/https/eventum-2.0.1/include/class.mail_queue.php'.

The error message passed to us was:

'Failed to send data [SMTP: Invalid response code received from server (code: 507, response: Need MAIL FROM and RCPT TO before DATA)]' *******

This happens if I use some national characters in the username field of a recipient the automated message meant to be sent to. It seems that character encoding does not matter since the situation is the same for the two recipient fields below:

To: =?UTF-8?Q?[IT]_Lengyel_Gy=C3=B6rgy?= <leng@citromail.hu> To: =?Latin2?Q?[IT]_Lengyel_Gy=C3=B6rgy?= <leng@citromail.hu>

The username in Eventum's user administration was set to "Lengyel György" in the two cases above and config's APP_CHARSET was UTF8 and Latin2 respectively.

As I change the username to "Lengyel Gyorgy" (note: no national characters) then mail is sent without any errors.

Thanks: Gyuri