Re: imap_mail problems

From: Date: Tue, 21 Dec 2004 19:20:59 +0000
Subject: Re: imap_mail problems
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-204869@lists.php.net to get a copy of this message
Paul Aviles wrote: > Hello, I am having problems with this code below. The system is a FC1 > server > and it is supposed to send an email collecting some information of a > computer. The problem I am having is with the "<" and ">" characters. > When > the $header variable is created, it does not work if you add the < and > > characters. For some reason makes the whole string like null. Has anyone > seen this behaviour? If I try manually to send an email it does work and > php > does have imap support on it. Most likely, everything is working *FINE* but you are viewing your output in a BROWSER. So your BROWSER is interpreting < and > as an HTML tag and *not* showing you what's between them, because it's a tag the browser doesn't understand. Use "View Source" in your browser to verify this as a one-time solution. In the long run, you should use <PRE> tags and http://php.net/htmlentities to display debugging output. -- Like Music? http://l-i-e.com/artists.htm

« previous php.general (#204869) next »