Ask the Expert

Sending email 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?

    Requires Free Membership to View

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

Join the conversationComment

Share
Comments

    Results

    Contribute to the conversation

    All fields are required. Comments will appear at the bottom of the article.