LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Command based email client to send email through secure smtp (http://www.linuxquestions.org/questions/linux-newbie-8/command-based-email-client-to-send-email-through-secure-smtp-822339/)

havolinec 07-26-2010 10:10 PM

Command based email client to send email through secure smtp
 
Hi all,

I'm quite new with linux and would really appreciate some guidance and advice.

In my Windows environment, I use email client such as Microsoft Outlook to connect to our email server to send email with the following configuration:

Incoming server (POP3): 995 - (requires with SSL)
Outgoing server (SMTP): 465 - (use encrypted connection SSL)

Incoming mail server: webmail.mycompany.com
Outgoing mail server: webmail.mycompany.com

And the mail server requires user ID login and password.

My question is how do I setup a text command based email client in my Linux (Centos 5.1) to send out email through the existing email server above, which is in another machine? The email client has to be text command based because I need to use command line to send notification email from anothar application installed in my Linux (Centos 5.1)

Since the email client will only be used to send email notification, I don't require setting up of an email server in my linux.

Please let me know if you need further information.

Thanks and best regards.

Havo

jf.argentino 07-27-2010 03:28 AM

"mail" manual says it will do the job.

sem007 07-27-2010 07:40 AM

mutt will help you.

Quote from mutt manual. mutt Document
Code:


To access a folder with POP3/SSL, you should use pops: prefix, ie: pops://[username@]popserver[:port]/.

You can also specify different username for each folder, ie: imap://username@imapserver[:port]/INBOX.

Hope this help


All times are GMT -5. The time now is 11:45 PM.