The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
Google UNIX.COM


UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
send mail attachment to lotus notes gwrmk Shell Programming and Scripting 2 04-24-2008 03:49 AM
Reading from Lotus notes mail server misenkiser Shell Programming and Scripting 0 10-05-2006 01:13 AM
Encrypted Email to Lotus notes Anamika UNIX for Dummies Questions & Answers 3 08-19-2004 11:35 AM
Lotus Notes on Solaris jpeery UNIX for Advanced & Expert Users 4 08-09-2004 03:50 AM
send mail to a UNIX machine to my Lotus Notes hugo UNIX for Advanced & Expert Users 1 09-19-2002 07:49 AM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 09-26-2008
Registered User
 

Join Date: Sep 2008
Posts: 3
Mail with several attachments screwed up in Lotus Notes

Hi everybody!

I needto send a mail with several attachments to a foreign recepient using the following command line:

neo$ (cat mailbody; uuencode file1 file1.txt; uuencode file2 file2.txt) | mailx -m -s "Mail with two attachments" john.hancock@mailserver.com

The result is just fine on MS-Outlook (which I use).
But on Lotus Notes (which my customer uses) - ever since they installed a new update - the mail looks somewhat different: file1.txt is attached, file2.txt is included in the body as uuencoded plain text.

Can anyone give me a hint on what is going wrong?

Thanks
marvin70
Reply With Quote
Forum Sponsor
  #2  
Old 09-26-2008
joeyg's Avatar
Moderator
 

Join Date: Dec 2007
Location: Home of world champion Boston Celtics
Posts: 983
Cool Perhaps investigate mutt?

Mutt should handle multiple attachments. (Never used for multiple, but the documents say it can.)

See the following link from HP support
IT Resource Center forums - script send email attachment

which includes someone's sample script for doing two attachments.
Reply With Quote
  #3  
Old 09-28-2008
era era is offline
Herder of Useless Cats
 

Join Date: Mar 2008
Location: /there/is/only/bin/sh
Posts: 3,650
Or more generally investigate how you could use MIME instead of uuencode to include the attachments. The FAQ has a tool for this which you can download. Still, Notus is Notus, so you might simply be out of luck.
Reply With Quote
  #4  
Old 09-29-2008
Registered User
 

Join Date: Sep 2008
Posts: 3
Quote:
Originally Posted by joeyg View Post
Mutt should handle multiple attachments. (Never used for multiple, but the documents say it can.)

See the following link from HP support
IT Resource Center forums - script send email attachment

which includes someone's sample script for doing two attachments.
Thank you joeyg - the solution from the link that also worked for me was using elm (rather than mutt) instead of mailx. I didn't know you could use elm from the command line.
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 04:18 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0