i have just been hunting an error in the mailer class. the mailer was converting this format of mail "test@my-mail.com" to "test@my, mail.com"
look at: AKMailMessage line 128
function _getMessageHeaderFieldFormated($address_header_field)
{
$charset = empty($this->charset) ? AK_ACTION_MAILER_DEFAULT_CHARSET : $this->charset;
return join(", ",AkActionMailerQuoting::quoteAnyAddressIfNecessary(Ak::toArray($address_header_field), $charset));
}
Ak::toArray calls stringToArray which separate strings by "-"
function stringToArray($string)
{
$args = $string;
if(count($args) == 1 && !is_array($args)){
(array)$args = array_unique(array_map('trim',array_diff(explode(',',strtr($args.',',';|-',',,,')),array(''))));
}
return $args;
}
@insanet That was a bug, which has been fixed at rev.1203
@hafeez: That is normal on raw emails, see http://www.ietf.org/rfc/rfc2045.txt
1 to 3 of 3