LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 07-26-2010, 10:10 PM   #1
havolinec
LQ Newbie
 
Registered: Jul 2010
Posts: 1

Rep: Reputation: 0
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
 
Old 07-27-2010, 03:28 AM   #2
jf.argentino
Member
 
Registered: Apr 2008
Location: Toulon (France)
Distribution: FEDORA CORE
Posts: 492

Rep: Reputation: 50
"mail" manual says it will do the job.
 
Old 07-27-2010, 07:40 AM   #3
sem007
Member
 
Registered: Nov 2006
Distribution: RHEL, CentOS, Debian Lenny, Ubuntu
Posts: 638

Rep: Reputation: 111Reputation: 111
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Net::SMTP help, cant send email hawk__0 Programming 5 01-08-2010 07:44 PM
Send email to specific SMTP servers per email from my server? neilius Linux - Server 6 06-25-2009 06:31 AM
command line email client to send mail to remote mail server dhanju Linux - Software 1 03-07-2008 06:37 AM
Can't send email using SMTP...stuck smiley_lauf Linux - Newbie 4 01-31-2006 08:20 PM
can't send email, smtp or sendmail dtra Linux - Software 1 11-19-2005 06:00 PM


All times are GMT -5. The time now is 02:58 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration