note 22126 rejected from function.mail by philip

From: Date: Thu, 04 Jul 2002 23:53:15 +0000
Subject: note 22126 rejected from function.mail by philip
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-32608@lists.php.net to get a copy of this message
i've noticed that sometimes, when you're trying to get a listo of email adresses from somewhere and put them into the mail() function they mess up making a part of the headers become a part of the text, and so headers dont work right. maybe in the list there are some unwanted chars wich the trim function seems to clear. try: mail( trim($adress), etc, etc); after contributing to the php knowdlege i'd like you answer to this question: how can i send a mail with an attached file???? i just can't bealive no one can answer to my question anywhere... thanks

« previous php.notes (#32608) next »