Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Perl > Perl Misc > How can I get a colored subject in my Perl created e-mails.

Reply
Thread Tools

How can I get a colored subject in my Perl created e-mails.

 
 
ab
Guest
Posts: n/a
 
      09-11-2007
My script is sending e-mails to certain parties. It runs fine. Now I
want to have the recipients of my Perl created e-mail to see a colored
(say: red) subject. How can I direct my mail header to do this or
should I use a trick? All our customers use Outlook.

I'm using this format to crfeate the e-mail:

from => '(E-Mail Removed)',
to => '(E-Mail Removed)',
subject => "this is the subject",
encoding => "7bit",
multipart => 'related

All help is appreciated.

 
Reply With Quote
 
 
 
 
Alex
Guest
Posts: n/a
 
      09-11-2007
ab wrote:
> My script is sending e-mails to certain parties. It runs fine. Now I
> want to have the recipients of my Perl created e-mail to see a colored
> (say: red) subject. How can I direct my mail header to do this or
> should I use a trick? All our customers use Outlook.


This is not really a question about Perl. It /could/ be a question about
a Perl module, but your not specifying which (if any) module you are
using. If so, you should check the documentation, but I'd be very
surprised to find the functionality you are looking for in a
Perl-module, since coloured subject lines are not a feature of the
e-mail standard (see RFC 2822, link below). The fact that your customers
are using Outlook is irrelevant to Perl.


RFC 2822:
http://www.ietf.org/rfc/rfc2822.txt


-- Alex
localpart = alext
domain = iki dot fi
email = localpart at domain
 
Reply With Quote
 
 
 
 
Spiros Denaxas
Guest
Posts: n/a
 
      09-11-2007
On Sep 11, 11:11 am, ab <(E-Mail Removed)> wrote:
> My script is sending e-mails to certain parties. It runs fine. Now I
> want to have the recipients of my Perl created e-mail to see a colored
> (say: red) subject. How can I direct my mail header to do this or
> should I use a trick? All our customers use Outlook.
>
> I'm using this format to crfeate the e-mail:
>
> from => '(E-Mail Removed)',
> to => '(E-Mail Removed)',
> subject => "this is the subject",
> encoding => "7bit",
> multipart => 'related
>
> All help is appreciated.


Is that even supported by Outlook?

Spiros

 
Reply With Quote
 
Mark Clements
Guest
Posts: n/a
 
      09-11-2007
ab wrote:
> My script is sending e-mails to certain parties. It runs fine. Now I
> want to have the recipients of my Perl created e-mail to see a colored
> (say: red) subject. How can I direct my mail header to do this or
> should I use a trick? All our customers use Outlook.
>
> I'm using this format to crfeate the e-mail:
>
> from => '(E-Mail Removed)',
> to => '(E-Mail Removed)',
> subject => "this is the subject",
> encoding => "7bit",
> multipart => 'related
>
> All help is appreciated.
>

You may (I'm guessing here) want to try setting a header that is
understood by Outlook to indicate priority, maybe X-Priority or
X-MSMail-Priority. You don't say which module you're using to send mail
so I can't help you with exactly how you'd accomplish that.

Mark
 
Reply With Quote
 
ab
Guest
Posts: n/a
 
      09-12-2007
Thanks for now. Get back to you.

Ab



On Sep 11, 8:12 pm, Mark Clements <(E-Mail Removed)>
wrote:
> ab wrote:
> > My script is sending e-mails to certain parties. It runs fine. Now I
> > want to have the recipients of my Perl created e-mail to see a colored
> > (say: red) subject. How can I direct my mail header to do this or
> > should I use a trick? All our customers use Outlook.

>
> > I'm using this format to crfeate the e-mail:

>
> > from => '(E-Mail Removed)',
> > to => '(E-Mail Removed)',
> > subject => "this is the subject",
> > encoding => "7bit",
> > multipart => 'related

>
> > All help is appreciated.

>
> You may (I'm guessing here) want to try setting a header that is
> understood by Outlook to indicate priority, maybe X-Priority or
> X-MSMail-Priority. You don't say which module you're using to send mail
> so I can't help you with exactly how you'd accomplish that.
>
> Mark- Hide quoted text -
>
> - Show quoted text -



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: How include a large array? Edward A. Falk C Programming 1 04-04-2013 08:07 PM
How to get a colored subject ab Perl Misc 1 09-11-2007 01:16 PM
No Subject for this subject George MCAD 0 05-20-2005 10:19 AM
Add/Remove Programs Help Kinda Wierd Do Not Ignore Terrable Subject JustIgnore The Subject Oops Whatever Duh Samuel Townsend Computer Support 0 10-13-2004 12:49 AM
Can I write colored letters with System.out.println? gajo Java 2 05-10-2004 09:53 PM



Advertisments