Operating System - HP-UX
1748274 Members
4118 Online
108761 Solutions
New Discussion юеВ

sendmail, html and non-Unix network path

 
SOLVED
Go to solution
Tom Weinstock_1
Occasional Advisor

sendmail, html and non-Unix network path

Hi all!

I am hoping someone can help with this issue I am having in sending HTML e-mails from Unix to Outlook. I have everything working great, except that when I try to specify a link from the HTML e-mail to a network server, I am losing some of the \'s in the network path. I have tried using 4 \'s so that the path starts with \\servername, but it is still only outputting one \ to Outlook. The unix file that's created looks perfectly fine. Here is the actual output to the Unix file and to Outlook (when using "view source"):

Unix file:
023234

What Outlook is getting:
023234

Any help would be greatly appreciated!!
Thanks much!
Tom
18 REPLIES 18
Mark Greene_1
Honored Contributor

Re: sendmail, html and non-Unix network path

How are you sending it? What MTA, and what method of getting to the MTA?

mark
the future will be a lot like now, only later
Tom Weinstock_1
Occasional Advisor

Re: sendmail, html and non-Unix network path

"(Address info... HTML stuff )" | sendmail -t
Mark Greene_1
Honored Contributor
Solution

Re: sendmail, html and non-Unix network path

Have you tried using mailx instead? Build the file, then do something like:

mailx -s "subject here" address@domain.xxx < file.html


and see if this improves your results.

mark
the future will be a lot like now, only later
Tom Weinstock_1
Occasional Advisor

Re: sendmail, html and non-Unix network path

Well, it works - kind of - I see that correct path, etc...but it is not formatted HTML...it's just the raw source code.

I appreciate your suggestions!

Tom
Mark Greene_1
Honored Contributor

Re: sendmail, html and non-Unix network path

Anothet thought... maybe try the mailx with the -m option to not mime encode it, just to see what outlook does with the file then.

I don't have outlook running here, otherwise I'd test this myself.

mark
the future will be a lot like now, only later
Tom Weinstock_1
Occasional Advisor

Re: sendmail, html and non-Unix network path

Same results. Thanks though.
Radim Jarosek
Regular Advisor

Re: sendmail, html and non-Unix network path

Hi Tom,

Coud you give me a hint how you did send html format to outlook ?

Thx

Radim
Frank Slootweg
Honored Contributor

Re: sendmail, html and non-Unix network path

Please post *exactly* how you generate this mail on the HP-UX side. Your example in your second response is incomplete and invalid.

To me it looks like the "\" is interpreted as an escape character, i.e. for example
echo "\\"
wil output a single backslash because the first one means to take the next one literally.