Is there a way to send mail from UNIX using a certain font.

Posted on 2001-06-28
Last Modified: 2013-12-03
I want to sent a email from HP-UNIX using
mail or xmail and user would receive the message
in Courier Font using Outlook. I don't want the message to be as
an attachment or HTML doc. So basically I want Outlook to recognize that the message should be viewed as a rich text doc.

I will add more points it you want. Please Ask.

Question by:semaphore
LVL 12

Expert Comment

ID: 6236713
The text which follows is a valid 3 line RTF file in Courier New (Western) 10 pt text.  You could use this as a template to send RTF files.

{\rtf1\ansi\ansicpg1252\deff0\deflang1033{\fonttbl{\f0\fmodern\fprq1\fcharset0 Courier New;}{\f1\fnil\fcharset0 Times New Roman;}}
\viewkind4\uc1\pard\f0\fs20 Line 1 - Courier New\par
Line 2 - Courier New\par
Line 3 - Courier New\par

LVL 12

Expert Comment

ID: 6236724
After a little experimentation, unless you send the email as an HTML, you have ZERO control over how the email will be seen by the user.  The local Outlook settings will control how plain-text email appears.  I could not find a way to make Outlook recognize an RTF file unless I setup Word as my default email editor, otherwise, it shows up as an attachment.

Accepted Solution

gcauthon earned 50 total points
ID: 6270295
You should format your message according to the MIME spec.  See the following for reference:

You basically need to form a multi-part message and have at least two parts, the plain text version (for people without outlook) and the rtf version of your email.
LVL 20

Expert Comment

ID: 7705212
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation for this question in the Cleanup topic area as follows:
- Answered by gcauthon

Please leave any comments here within the next 7 days


tfewster (I don't work here, I'm just an Expert :-)

Expert Comment

ID: 7757505
Finalized as proposed


Community Support Moderator
Experts Exchange

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

When you do backups in the Solaris Operating System, the file system must be inactive. Otherwise, the output may be inconsistent. A file system is inactive when it's unmounted or it's write-locked by the operating system. Although the fssnap utility…
Let's say you need to move the data of a file system from one partition to another. This generally involves dismounting the file system, backing it up to tapes, and restoring it to a new partition. You may also copy the file system from one place to…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

947 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now