unix to Lotus Notes email attachment


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers unix to Lotus Notes email attachment
# 1  
Old 02-12-2001
Question

We have been trying to get an email from unix to Lotus Notes to work. We finally got it to work with the following code:
cat filename | uuencode filename | mailx -s "subject title" email address
Now our problem is that Lotus Notes doesn't show the paper clip icon, indicating an attachment is present.
Is there a way to get Unix to do this?
Or is there a better way to code this email statement?
Thanks,
Matt

ps. Using sunsolaris v5.6 OS for UNIX.
# 2  
Old 02-12-2001
One way to do this is to manually insert the RFC822 header infomation that denotes the attachment and mime-type of the attachment. For example, this is part of the header that denotes an attachment:

Quote:
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="----=_NextPart_000_000D_01C0946C.FF6A28A0"
The details are in RFC822, as I recall.

BTW, some mailers use resource files as a way to include header information (for example ~elm/elmheaders) ; some use other methods. There are numerous ways to get RFC822 header information into your files before mailing. Depending on the mailer you chose, the methods could be different.

The way I used to do this was to manually create the header in a script and then append the message test or attachment and send, keeping the header template for the next message, etc.


[Edited by Neo on 02-12-2001 at 03:53 PM]
# 3  
Old 02-12-2001
I guess that I am just ignorant to what your response was. Where do I include this command? I don't know what MIME is either. What is RFC822(reference code 822?) If so, where would I find that?
I appreciate the prompt help though.
Let me know if you can clarify a bit more.
--Matt
# 4  
Old 02-12-2001
RFC822

Here is a link to RFC822:

http://www.w3.org/Protocols/rfc822/

Here is a link some MIME information:

http://www.sendmail.org/~ca/email/mutt/manual-5.html

http://bolug.uni-bonn.de/wissen/robi...de/node55.html

Hope this helps get you started.

 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Reading a file from Lotus notes DB

Hi, is there any way Unix shell script can directly read a mail on a mail server (Lotus notes) and save it as a text file in a unix directory ? For eg mail can be at abc@xyz.com and the same should be stored at home/script on def.com Thanks in advance, CD (2 Replies)
Discussion started by: cdprasad.ait
2 Replies

2. AIX

Need help on sending emails to Lotus Notes from Unix

Hi, I am new to UNIX and any help is greatly appreciated. Requirement: Need to check the directory and if the directory has some files then an email needs to be sent to the email ID on Lotus Notes. I need help on sending an email to email ID on Lotus Notes notifying that the files... (3 Replies)
Discussion started by: neetutg
3 Replies

3. Solaris

Sending email to Lotus Notes

Hello, I have tired the commands like below to send a email with an attachment to IBM lotus notes uuencode filename filename | Mail -s "subject" addr uuencode filename filename | mailx -s "subject" addr uuencode filename filename | sendmail addr All of three command work. But I can... (0 Replies)
Discussion started by: babykings
0 Replies

4. Shell Programming and Scripting

send mail attachment to lotus notes

Hi All, We have requirement to send lotus notes email attachment to mutiple users. Each user has a separate file name ,but the file name and mail id will be same please help urgent Thanks (2 Replies)
Discussion started by: gwrmk
2 Replies

5. Shell Programming and Scripting

Sending mutiple files thru email to lotus notes

Hi All, I am currently using the following script to send the single file to one/more email addresses. I need to send mutilple files at same time, are there anyway I could modify the script or write new one to accomplish the same. Script *************** #!/bin/ksh # Author: Manish... (4 Replies)
Discussion started by: lapisguy
4 Replies

6. Shell Programming and Scripting

Reading from Lotus notes mail server

Hi, is there any way Unix shell script can directly read a mail on a mail server (Lotus notes) and save it as a text file in a unix directory ? For eg mail can be at abc@xyz.com and the same should be stored at home/script on def.com (0 Replies)
Discussion started by: misenkiser
0 Replies

7. UNIX for Dummies Questions & Answers

Encrypted Email to Lotus notes

I am using mailx command to send automated emails from the Unix to Lotus notes. Recently we got a requirement to send all emails as encrypted emails. I am not sure how I can encrypt an email using unix. Please help!! Thanks (3 Replies)
Discussion started by: Anamika
3 Replies

8. UNIX for Advanced & Expert Users

Lotus Notes on Solaris

Does anyone know if you can run Notes on a SunBlade? This is the last program I need to completely get away from all MS boxes, if I can run my Notes on my Blade I won't need this ratty MS box! Thanks! JP (4 Replies)
Discussion started by: jpeery
4 Replies

9. UNIX for Advanced & Expert Users

send mail to a UNIX machine to my Lotus Notes

Hi, I'am new in system administration, and I would like to send file from my UNIX machine running on Aix 4.3.3 to the Lotus Notes V5 mail of my colleagues . So I heard about the sendmail command, but I don't know excatly how to use it for send my files . Please if you have a idea, help me !!! (1 Reply)
Discussion started by: hugo
1 Replies

10. UNIX for Dummies Questions & Answers

unix to Lotus Notes email attachment

Hi all, I have searched the FAQ and find that there is some threads related to this subject. But can you please give an examples on how to send attachment to Lotus Notes email through UNIX? Since i have gone through the RFC and the URL. But i still have no idea on it. Please give some... (7 Replies)
Discussion started by: wilsonchan1000
7 Replies
Login or Register to Ask a Question

Featured Tech Videos