Author Topic: Need some help with security code  (Read 790 times)

jSherz

  • Expert PHP Helper
  • Senior Member
  • *****
  • Posts: 409
  • Karma: +4/-0
    • View Profile
    • jSherz.com
Re: Need some help with security code
« Reply #30 on: January 09, 2012, 12:36:40 PM »
Do you have access to the mail server logs? Could you check if there's a reason why the e-mail didn't send?

Looking for PHP tutorials? View mine. Please use code or PHP tags in your posts.

Borntobewild

  • Regular Member
  • **
  • Posts: 29
  • Karma: +0/-0
    • View Profile
Re: Need some help with security code
« Reply #31 on: January 09, 2012, 12:39:15 PM »
Do you have access to the mail server logs? Could you check if there's a reason why the e-mail didn't send?
How?
I use Hotmail and Outlook to check my mails.

jSherz

  • Expert PHP Helper
  • Senior Member
  • *****
  • Posts: 409
  • Karma: +4/-0
    • View Profile
    • jSherz.com
Re: Need some help with security code
« Reply #32 on: January 10, 2012, 04:34:22 AM »
Try these headers instead:

PHP Code: [Select]
$headers "MIME-Version: 1.0\r\n";
$headers .= "Content-Type: text/html; charset=ISO-8859-1\r\n";
$headers .= 'From: ' $email "\r\n";
Looking for PHP tutorials? View mine. Please use code or PHP tags in your posts.

Borntobewild

  • Regular Member
  • **
  • Posts: 29
  • Karma: +0/-0
    • View Profile
Re: Need some help with security code
« Reply #33 on: January 10, 2012, 07:52:55 AM »
Try these headers instead:

PHP Code: [Select]
$headers "MIME-Version: 1.0\r\n";
$headers .= "Content-Type: text/html; charset=ISO-8859-1\r\n";
$headers .= 'From: ' $email "\r\n";

Ok, so first the $message, then the headers?

Borntobewild

  • Regular Member
  • **
  • Posts: 29
  • Karma: +0/-0
    • View Profile
Re: Need some help with security code
« Reply #34 on: January 10, 2012, 08:42:46 AM »
Ok, finally i get a mail with colored text.
But does Hotmail & Outlook have the same text tags/codes off HTML?