- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- sendmail, html and non-Unix network path
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-23-2003 08:42 AM
04-23-2003 08:42 AM
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
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-23-2003 08:51 AM
04-23-2003 08:51 AM
Re: sendmail, html and non-Unix network path
mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-23-2003 08:54 AM
04-23-2003 08:54 AM
Re: sendmail, html and non-Unix network path
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-23-2003 08:59 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-23-2003 10:30 AM
04-23-2003 10:30 AM
Re: sendmail, html and non-Unix network path
I appreciate your suggestions!
Tom
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-23-2003 10:45 AM
04-23-2003 10:45 AM
Re: sendmail, html and non-Unix network path
I don't have outlook running here, otherwise I'd test this myself.
mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-23-2003 11:47 AM
04-23-2003 11:47 AM
Re: sendmail, html and non-Unix network path
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-23-2003 10:36 PM
04-23-2003 10:36 PM
Re: sendmail, html and non-Unix network path
Coud you give me a hint how you did send html format to outlook ?
Thx
Radim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2003 01:21 AM
04-24-2003 01:21 AM
Re: sendmail, html and non-Unix network path
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2003 05:52 AM
04-24-2003 05:52 AM
Re: sendmail, html and non-Unix network path
cat <<-'E@O@F'
...Test
E@O@F
Note the *exact* syntax.
The single quotes around the first E@O@F means that what follows (upto the next E@O@F) is not interpreted, i.e. the double backslash is kept.
The minus before the first E@O@F means that any leading tabs are stripped (I do not know whether you want that or not.
For details, see the description of "<<[-]word" in the "Input/Output" section of the sh-posix(1) manual page ("m...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2003 06:03 AM
04-24-2003 06:03 AM
Re: sendmail, html and non-Unix network path
(
echo "From: HP-UX"
echo "To: tweinstock@foleylaw.com"
echo "Subject: A/R Report"
echo "Content-Type: text/html; charset=us-ascii"
echo "Content-Transfer-Encoding: 7bit "
echo "MIME-Version: 1.0"
echo ""
echo "
...Test
"
) | sendmail -t
This works fine...it comes over as HTML and looks fantastic, except for the link to a network server. As I said in the first posting, I tried using 4 \'s to get the \\servername to come over correctly, but I only get one \ instead of two. Also, from what I can tell, the \t (for the \tmp folder) appears to be coming over as a tab.
Any ideas?
Thanks for the help guys, I truly app...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2003 06:17 AM
04-24-2003 06:17 AM
Re: sendmail, html and non-Unix network path
Not sure if it's actually a CR or not, but it looks like it when I "view source".
Tom
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2003 06:21 AM
04-24-2003 06:21 AM
Re: sendmail, html and non-Unix network path
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2003 06:27 AM
04-24-2003 06:27 AM
Re: sendmail, html and non-Unix network path
Syntax error at line 14 : `<<' is not matched.
Tom
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2003 06:29 AM
04-24-2003 06:29 AM
Re: sendmail, html and non-Unix network path
Tom
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2003 06:37 AM
04-24-2003 06:37 AM
Re: sendmail, html and non-Unix network path
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
cat
Frank "I hate silly fonts!" Slootweg
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2003 07:26 AM
04-24-2003 07:26 AM
Re: sendmail, html and non-Unix network path
Me = Happy Camper
Thanks again!
Tom
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2003 12:20 PM
04-28-2003 12:20 PM
Re: sendmail, html and non-Unix network path
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-05-2003 10:43 AM
05-05-2003 10:43 AM
Re: sendmail, html and non-Unix network path
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.