Operating System - HP-UX
1833569 Members
4509 Online
110061 Solutions
New Discussion

Attachments from unix to LotusNotes

 
Srinivas_9
Occasional Advisor

Attachments from unix to LotusNotes

Hi Peeps
I am trying to send a file as an attachment to a MSOutLook / IBMLotusNotes Server. The receiver on the Outlook can receive the attachment fine but the Lotus Notes R5 client receives the attached file as inline i.e the attached file is written in the body of the email un-readable characters.
I am using the following unix command from a K Shell, I am on HP Unix 10.20.
----------------------------------------------
echo "To: urid@email.com\nReply-to: myid@email.com\nFrom: myid@email.com\nMime-Version: 1.0\nContent-Type: multipart/mixed; boundary=BOUND\nSubject: Testing with Lotus Notes\n\n--BOUND\nContent-Type=plain/text; charset=us-ascii\n\nMessage in the body of the email\n\n--BOUND\nContent-Type= application/octet-stream;name= Filename.doc\n Content-Transfer-Encoding: base64\n
Content-Disposition: attachment;
filename=Filename.doc\nContent-Description: Filename.doc\n\n`mmencode Filename.doc`\n\n--BOUND--\n" | echo `sendmail -t`
----------------------------------------------
I think the problem could be with Lotus Notes not able to identify the Content-Description parameter, as MS Outlook is properly functioning the with same command above.

Maybe the problem is with the above command.

Any suggestions or help is highly appreciated.

thanks
Srinivas
Ha Ha
3 REPLIES 3
Rita C Workman
Honored Contributor

Re: Attachments from unix to LotusNotes

Have you tried any of the 3 suggestions at this thread.....

http://my1.itrc.hp.com/cm/QuestionAnswer/1,1150,0x41950559ff7cd4118fef0090279cd0f9!0,00.html

Just a thought,
Rita
A. Clay Stephenson
Acclaimed Contributor

Re: Attachments from unix to LotusNotes

Hi,

We use Lotus as our mail server and I have seen just the kind of problem you describe. It appears that anything with a type/subtype of text/plain simply gets included. application/octet-stream always works. I find that
using elm always works well. You will need the MIME enabled version of elm on 10.20 (PHNE_15835 or later) and also the sender will need a .elm directory created in his home directory. I attached a simple script which includes 2 attachments.

Regards, Clay
If it ain't broke, I can fix that.
Srinivas_9
Occasional Advisor

Re: Attachments from unix to LotusNotes

Clay
Thanks for the input about using elm to send mail attachments from Unix to Lotus Notes.
I am still not able to send the attachments successfully.
Can I discuss this issue with you outside this forum?
My email id is sahus@hotmail.com.

Please let me know
Sincerely
Srinivas
Ha Ha