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
|
 |
 |
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
|
 |
 |
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
|
 |
 |
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/
>
|
|
|
 |
|