?
Solved

Mark Message as important, mail function

Posted on 2006-11-20
7
Medium Priority
?
503 Views
Last Modified: 2008-03-17
I have a simple mail form.  I would like to mark it important.  ie add the little red flag in outlook.  Is it possible to do in PHP?
mail($to, $subject, $body, $header);
0
Comment
Question by:livegirllove
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
7 Comments
 
LVL 35

Expert Comment

by:Raynard7
ID: 17984914
Hi,

This relates to the header that is sent.

I do not think this is available in the standard mail class, however with some of the extensions this is possible.

I use the one below - that has the ability to set the priority of an email.

http://phplibex.sourceforge.net/classmimemail.html
0
 
LVL 1

Author Comment

by:livegirllove
ID: 17984927
ah ok.  tx
0
 
LVL 11

Accepted Solution

by:
ch2 earned 2000 total points
ID: 17984949
Adding headers should do the trick

$headers .= "X-Priority: 1\n";
$headers .= "X-MSMail-Priority: High\n";
0
WordPress Tutorial 1: Installation & Setup

WordPress is a very popular option for running your web site and can be used to get your content online quickly for the world to see. This guide will walk you through installing the WordPress server software and the initial setup process.

 
LVL 1

Author Comment

by:livegirllove
ID: 17984976
hmm.  that worked.

Technically Raynards answer is now incorrect because you can with the standard mail class add the High Priority.

I'm going to post to community support because I don't know how I can change it.
0
 
LVL 1

Author Comment

by:livegirllove
ID: 17985201
thanks for the closed question help ch2!!

worked perfectly.
0
 
LVL 11

Expert Comment

by:ch2
ID: 17985524
nice it worked :)

thanks for the points.
0

Featured Post

Want to be a Web Developer? Get Certified Today!

Enroll in the Certified Web Development Professional course package to learn HTML, Javascript, and PHP. Build a solid foundation to work toward your dream job!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Things That Drive Us Nuts Have you noticed the use of the reCaptcha feature at EE and other web sites?  It wants you to read and retype something that looks like this. Insanity!  It's not EE's fault - that's just the way reCaptcha works.  But it i…
These days socially coordinated efforts have turned into a critical requirement for enterprises.
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
The viewer will learn how to dynamically set the form action using jQuery.
Suggested Courses

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question