CodeCharge Studio
search Register Login  

Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> PHP

 ! Pops up in email -strange?

Print topic Send  topic

Author Message
travel-net

Posts: 56
Posted: 10/11/2005, 2:39 AM

Hello,

I get this ! in the emails i send via PHP. They appear in the text, but i haven't placed them. This is my code:
    global $inschrijvers;  
  	$to_email = "";  
	$to_cc = "";  
  	$from = "someuser <someone@something.nl>";  
	$headers = "From: $from\nReply-To: $from\r\n";  
	$headers .= "To: ".$inschrijvers->contactpersoon->GetText()."<".$inschrijvers->email->GetText().">;\r\n";  
	$headers .= "cc: $cc\r\n";  
	$headers .= "bcc: $bcc\r\n";  
	$headers .= "MIME-Version: 1.0\r\n";  
	$headers .= "Content-type: text/html; charset=iso-8859-1\r\n";  
	$subject = "Bevestiging inschrijving Travel-Net FTP";    
  	$message = "Hallo ".$inschrijvers->contactpersoon->GetText().",<br><br>";  
	$message .= "U heeft zich op ".$inschrijvers->inschrijf_datum->GetText()." ingeschreven voor de IP-lijst van Travel-Net<br><br>";  
	$message .= "Dit is een automatisch gegenereerde email. U hoeft hier niet op te reageren";  
 	mail ($to_email,$subject,$message,$headers);    

When i open the mail i get this:
Dit is een auto! matisch gegenereerde email. U hoeft hier niet op te reageren

Everthing works fine, but why the ! character appears in the mail?

Regards,
Frans
Travel-Net
View profile  Send private message
Damian Hupfeld
Posted: 10/11/2005, 5:15 AM

Can you view the xxxxx_events file directly and check what is listed in
there? sometimes the actual file and the ccs files get out of sync.

regards
Damian Hupfeld
http://www.nexthost.com.au/services.php



"travel-net" <travel-net@forum.codecharge> wrote in message
news:5434b885821931@news.codecharge.com...
> Hello,
>
> I get this ! in the emails i send via PHP. They appear in the text,
> but
> i haven't placed them. This is my code:
>
    global $inschrijvers;  
>  $to_email = "";  
> $to_cc = "";  
>  $from = "someuser <someone@something.nl>";  
> $headers = "From: $from\nReply-To: $from\r\n";  
> $headers .= "To:  
> ".$inschrijvers->contactpersoon->GetText()."<".$inschrijvers->email->GetText().">;\r\n";  
> $headers .= "cc: $cc\r\n";  
> $headers .= "bcc: $bcc\r\n";  
> $headers .= "MIME-Version: 1.0\r\n";  
> $headers .= "Content-type: text/html; charset=iso-8859-1\r\n";  
> $subject = "Bevestiging inschrijving Travel-Net FTP";  
>  $message = "Hallo ".$inschrijvers->contactpersoon->GetText().",<br><br>";  
> $message .= "U heeft zich op ".$inschrijvers->inschrijf_datum->GetText()."  
> ingeschreven voor de IP-lijst van Travel-Net<br><br>";  
> $message .= "Dit is een automatisch gegenereerde email. U hoeft hier niet   
> op  
> te reageren";  
>  mail ($to_email,$subject,$message,$headers);  
> 
>
> When i open the mail i get this:
>
Dit is een auto! matisch gegenereerde email. U hoeft hier niet op te  
> reageren
>
> Everthing works fine, but why the ! character appears in the mail?
>
> Regards,
> Frans
> Travel-Net
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.codecharge.com/
>

travel-net

Posts: 56
Posted: 10/11/2005, 5:26 AM

Hello Damian,

I couldn't find the ! in the events files. I will compare the events files for other differences. Hope i will find it.

regards,
Frans
View profile  Send private message
travel-net

Posts: 56
Posted: 10/11/2005, 5:35 AM

Did compare the 2 events files Rootfile and Projectfile events.php. There was no difference in it.

I will look further.

Anyway, thanks for the tip.

Regards,
Frans
View profile  Send private message
DonB
Posted: 10/11/2005, 6:54 AM

What do you get if you change the content-type to plain text, not html?

--
DonB

http://www.gotodon.com/ccbth


"travel-net" <travel-net@forum.codecharge> wrote in message
news:5434b885821931@news.codecharge.com...
> Hello,
>
> I get this ! in the emails i send via PHP. They appear in the text,
but
> i haven't placed them. This is my code:
>
    global $inschrijvers;  
>   $to_email = "";  
> $to_cc = "";  
>   $from = "someuser <someone@something.nl>";  
> $headers = "From: $from\nReply-To: $from\r\n";  
> $headers .= "To:  
>  
".$inschrijvers->contactpersoon->GetText()."<".$inschrijvers->email->GetText  
().">;\r\n";  
> $headers .= "cc: $cc\r\n";  
> $headers .= "bcc: $bcc\r\n";  
> $headers .= "MIME-Version: 1.0\r\n";  
> $headers .= "Content-type: text/html; charset=iso-8859-1\r\n";  
> $subject = "Bevestiging inschrijving Travel-Net FTP";  
>   $message = "Hallo  
".$inschrijvers->contactpersoon->GetText().",<br><br>";  
> $message .= "U heeft zich op ".$inschrijvers->inschrijf_datum->GetText()."  
> ingeschreven voor de IP-lijst van Travel-Net<br><br>";  
> $message .= "Dit is een automatisch gegenereerde email. U hoeft hier niet  
op  
> te reageren";  
>   mail ($to_email,$subject,$message,$headers);  
> 
>
> When i open the mail i get this:
>
Dit is een auto! matisch gegenereerde email. U hoeft hier niet op te  
> reageren
>
> Everthing works fine, but why the ! character appears in the mail?
>
> Regards,
> Frans
> Travel-Net
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.codecharge.com/
>


Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

PHP Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.