Operating System - HP-UX
1751907 Members
5138 Online
108783 Solutions
New Discussion юеВ

Re: sendmail, html and non-Unix network path

 
SOLVED
Go to solution
Tom Weinstock_1
Occasional Advisor

Re: sendmail, html and non-Unix network path

Tom Weinstock_1
Occasional Advisor

Re: sendmail, html and non-Unix network path

One more thing to note...in my example above, I put \\servername but the actual server name begins with an "f" and from what I can tell, the \f puts in, what appears to be, a carriage return.

Not sure if it's actually a CR or not, but it looks like it when I "view source".

Tom
Frank Slootweg
Honored Contributor

Re: sendmail, html and non-Unix network path

Sigh, time problems again. My response *precedes* yours.
Tom Weinstock_1
Occasional Advisor

Re: sendmail, html and non-Unix network path

I got this when I tried to execute the file.

Syntax error at line 14 : `<<' is not matched.

Tom
Tom Weinstock_1
Occasional Advisor

Re: sendmail, html and non-Unix network path

I took the ' - ' out of the cat expression and I think we're in business. I need to do some more testing. Thanks so much for your help!!

Tom
Frank Slootweg
Honored Contributor

Re: sendmail, html and non-Unix network path

I am glad that it seems to be working.

As to the error: Note the *exact* syntax. If possible, copy-and-paste it because web-browsers often use silly fonts.

cat <<-'E@O@F'

is

catEOF

Frank "I hate silly fonts!" Slootweg
Tom Weinstock_1
Occasional Advisor

Re: sendmail, html and non-Unix network path

Everything is working great now!! Thanks very much for your help!

Me = Happy Camper

Thanks again!

Tom
Tom Weinstock_1
Occasional Advisor

Re: sendmail, html and non-Unix network path

I'm baaaaack...

Everything is working great except when I send these e-mails to Outlook 2002 users. Outlook 2002, it seems, automatically disables any scripting in HTML formatted e-mails. (see Microsoft's KB article # 295957.
http://support.microsoft.com/default.aspx?scid=kb;en-us;295957) I have been researching this for a couple of days and if I am understanding things correctly, Outlook 2002 will allow these scripts to work if the e-mail is sent from an authenticated user. So, my questions are...

First, is this right? If so, has anyone sent messages from their Unix system (using sendmail) that have been digitally signed? and if so, how is this done?

Thanks in advance for any help you can offer.

Tom
Jordan Bean
Honored Contributor

Re: sendmail, html and non-Unix network path

Doesn't this work?

mailx -ms 'A/R Report' tweinstock@foleylaw.com <

Report


EOF

By using forward-slashes with the file protocol, you don't have to worry about escaping back-slashes.