like
$this->Email->to = $username . '<' . $email '>';

i thought i can put whatever i want in $username here
and it works in outlook etc. the email gets through
only the email component aborts...
maybe a bug?


On 1 Sep., 00:05, euromark <[email protected]> wrote:
> i just stumpled on that after checking the error logs
> seems it only happens occasionally
>
> if a username contains some char like < @ [ etc
> the email will not be send to $username <$email>
> it aborts without any error at all
>
> is this from smtp protocol?
> or does the component do that?
> what chars are expicitly not allowed in the name part?
>
> i though about using Inflector::slug() on the username prior to
> passing in to the email component
> but that would change all äöüé etc (which are valid) as well
>
> any ideas?

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en

Reply via email to