Use the function imap_mail(). This function does rfc822 parsing on all mail adresses.
You have to load the imap extension to use this function though. - Frank > Hi > > I have one question about mail() function. It works fine, but... > Once I wanted to send an e-mail with recipient name in address. So I've > tried something like "Name" <user@server> - and didn't work. > Finally I got up, but could it be done? > > > > -- > PHP Windows Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php