[Alpine-info] c-client for SMTP connection

Marian Sorin Nasoi spungi at gmail.com
Sun Feb 15 21:59:06 PST 2009


Hello,
I want to use the c-client library for a simple SMTP client and I
would have a question:
where can I configure the data for the SMTP connection?

Let's take this example:
I want to use Google as a SMTP server, so I should configure the following data:
- SMTP server name (smtp.google.com)
- TSL authentication, port 587
- google account username and password

In the mtest application provided in the IMAP toolkit I found the following:
- the way I can enter the SMTP server name and username (something
like "smtp.gmail.com:587/user=google_username/tls" whithin an hostlist
structure)
The log shows a failure:

[...]
250-STARTTLS
250-ENHANCEDSTATUSCODES
250 PIPELINING
QUIT
221 2.0.0 closing connection

I am sure this is because I did not configure the connection
parameters correctly (i.e. password) but I did an example that states
how to do it
properly...

I also downloaded Alpine 2.0 to see how SMTP configuration is done and
after configuring the SMTP server to
"smtp.gmail.com:587/user=google_username/tls" and composing a test
message I get prompted for the password.

Is there some way to specify the password in the SMTP server string
(like the username) ?

Thanks in advance for the help,
Sorin

p.s. I know that imap-uw at u.washington.edu should be a more appropriate
place for this question but there is no more activity on that list ...


More information about the Alpine-info mailing list