Jump to content

Recommended Posts

Posted

Hey,

 

I am trying to set the Importance of an email sent via the mail() command to high, but everything I try doesn't work.

 

Does anyone have any idea how I can fix it?

 

Dan

Posted (edited)

Found this on devshed, headers should contain:

 

$headers = $headers . "X-Priority: 2\nX-MSmail-Priority: high"; 

 

So...

 

$headers = "From: [email protected]" . "\r\n" . 
           "Reply-To: [email protected]" . "\r\n" . 
           "X-Priority: 2\nX-MSmail-Priority: high" ."\r\n". 
           "Content-type: text/html; charset=iso-8859-1" . "\r\n";  

Edited by dwhyte85
  • Thanks 1

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



  • 156 What is your preferred operating system (PC)

    1. 1. Operating systems:


      • MacOS
      • Windows 10
      • Windows 11
      • Windows Vista
      • ChromeOS
      • Other (reply)

×
×
  • Create New...