1839988 Members
1957 Online
110158 Solutions
New Discussion

Sendmail on HP-UX

 
Patrick Ford
Occasional Contributor

Sendmail on HP-UX

Is there a way using the HP-UX sendmail command to created a "nicely formatted" email message? By "nicely formatted", I mean a message with different fonts and embedded tables.

This message will be forwarded to a Microsoft Windows (Outlook) environment.

The message needs to be sent in the BODY of the email (no attachments).

Any help would be greatly appreciated.

Thanks!!
3 REPLIES 3
Zafar A. Mohammed_1
Trusted Contributor

Re: Sendmail on HP-UX

You can do tabs and new lines.

Zafar
Francisco J. Soler
Honored Contributor

Re: Sendmail on HP-UX

You can made a nice formatted mail with any editor or script, for example you can do an html file, and you want to send it. You can do it with

cat file.html | mail -s "This is the subject" address@some.where


Regards.
Frank.
Linux?. Yes, of course.
Seth Parker
Trusted Contributor

Re: Sendmail on HP-UX

Like Francisco said, you'll have to use an external editor or create the message using some sort of code.

I wanted the same thing and ended up modifying the program that creates the messages so that it would generate the necessary HTML formatting. You can use any HTML editor to mock up a message and then use that as a template to create similarly formatted ones from your code.

Sendmail is just a message transfer agent. It justs sends along what you give it.

If anyone else has fought with this, I'd love to hear too!

Regards,
Seth