Q
Problem solve Get help with specific problems with your technologies, process and projects.

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

Dig Deeper on Linux servers

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.

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.

-ADS BY GOOGLE

SearchWindowsServer

SearchServerVirtualization

SearchCloudComputing

Close