X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: Joel Rubin Subject: Email with an AuthLogin SMTP server Date: Wed, 21 Feb 2007 16:43:01 -0500 Lines: 35 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com ~/email.conf MY_NAME = 'Joel Rubin' MY_EMAIL = 'jmrubin AT nerdshack DOT com' SMTP_AUTH = 'LOGIN' SMTP_SERVER = 'mail.nerdshack.com' SMTP_PORT = '25' SMTP_AUTH_USER = 'jmrubin' - SMTP_AUTH_PASS = '[censored]' ============================ After I give the command email -s "Test" myotheraccount AT wherever DOT net I get the following error: Communicating with SMTP server... email: FATAL: Smtp error: 334 UGFzc3dvcmQ6 Caught an ERROR, Shutting down... =========================== The "error" is just the mail server asking me for the encrypted form of my user name after I give the AUTH LOGIN command. UGFzc3dvcmQ = "Username:" in base 64. It then asks for "Password:" the same way. I can login to the SMTP server with telnet. Why does this program die on a 334 message? 334 is a request for more info, not an error. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/