Hey,
I am using PEAR Mail to send emails, and I found that if the "From:" field is something like From: Dragoş <[email protected]>
, PEAR returns an error:
Validation failed for: Dragoş <[email protected]>
But, if I remove the ş
, PEAR returns true and sends email.
I tried to search on Google and StackOverflow for valid characters, but seems I have no luck here. Does anyone know what are the valid characters for the display name in From field?
Also, is there any way to "encode" these chars to be allowed on this field? I use PHP.
Thank you!
Nuno