Q

Sending email from Unix to Lotus Notes

Unix-Linux expert Ken Milberg gives the correct command for sending an email attachment from Unix to Lotus Notes.

I am trying to send a file as an attachment from Unix to a Lotus notes email ID using below command:

uuencode infile outfile | mail emailaddress

However, it is not working properly. It doesn't send as an attachment. It is going as email body plain text. Can you help me out?

Use mailx, not mail, especially if you are using a Solaris system. Mailx is compatible with the old SunOS Berkeley type of mail. The mail command has certain parameters which are not compatible with the SunOS mail.

Try this syntax:
uuencode infile outfile | mailx –m –s "test message" emailaddress

This was first published in October 2006

Dig deeper on Unix-to-Linux migration

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

0 comments

Oldest 

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

-ADS BY GOOGLE

SearchDataCenter

SearchServerVirtualization

SearchCloudComputing

SearchEnterpriseDesktop

Close