Name in the "from:" field ?
Posted: Fri May 04, 2007 5:38 am
Ok it may sound a newbie question, but i can't figure it out...
I'm trying to show the "name" of the user sending the email in the from: field.
I've been using a variable $from with a content like
$from = "Username <postmaster@mydomain.com>"; //sender
But it seems that Swiftmailer ignore the part outside the <email> part.
I'm trying to show the "name" of the user sending the email in the from: field.
I've been using a variable $from with a content like
$from = "Username <postmaster@mydomain.com>"; //sender
But it seems that Swiftmailer ignore the part outside the <email> part.