Need advice on correct configuration for an SMTP Transport account

Hi All,

I'm just trying to send an email using the TinyMail library - and I've
written the relatively few lines of code that seem to be needed, but
I'm having a couple of problems.

First, I thought I'd just use Tmut to just send an email (so I could
use the correct "tny_account_set_XXXXX" functions in my program) - but
I just cannot get Tmut to send an email!

I created 2 Tmut accounts: The 1st Tmut account is mapped to a Gmail
account I have (using SSL) - and it works perfect!  In fact, my little
console program can do the exact same thing as Tmut now (for that very
same Gmail account - thanks to some helpful advice you all gave to me
in this last week).  The 2nd Tmut account is mapped to my Comcast SMTP
server, with the following settings:

Account name : smtp-comcast
Protocol     : smtp
Hostname     :
User         : my-username-here
Type(+ From) : store / steverosen polarlight com
Options      : <blank>
Port         : -1 (so it just uses the default port 25)
Auth mech    : login

However, the above configuration just generates the following Tmut
error message:

    SMTP server does not
    support requested authentication type login.

So, I then tried to set the "Protocol" to "esmtp" - same result (ERROR).
Then I tried to set the "Auth mech" to "auth" and "auth login" and
"auth-login" - same result (ERROR).  I also tried explicitly setting
the port to 25 - but that was not the problem, as I verified that Tmut
was at least getting the "helo" command successfully to the Comcast
SMTP server - it's just the authentication that keeps failing.  I can
use telnet to do the following with that Comcast SMTP server:

telnet 25
220 comcast ESMTP server ready
501 HELO requires valid address
helo auth
250 hello [], pleased to meet you
auth login
500 5.5.1 command unrecognized
auth login
334 VXNlcm5hbWU6
334 UGFzc3dvcmQ6
235 2.7.0 ... authentication succeeded
mail from: <steverosen polarlight com>
250 2.1.0 <steverosen polarlight com> sender ok
rcpt to: <steve dapperlads com>
250 2.1.5 <steve dapperlads com> recipient ok
354 enter mail, end with "." on a line by itself
From: steverosen polarlight com
Subject: testing the smtp protocol
hello, steve - this is a test
and this is the end of the test!
250 2.0.0 LizY1e00G1CZuGw8bj0vV8 mail accepted for delivery
221 2.0.0 comcast closing connection

So, can anyone help me to figure out how to successfully send out
an email using Tmut?

Then, once I can use Tmut to successfully send an email to my
Comcast SMTP server, I should be able to do the same thing
from my little console application, using the TinyMail library.

Thank you in advance,
Steve Rosen

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]