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

There are Comments. Add yours.

TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

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: