curl-library
RE: Some very early feedback in SMTP testing.
Date: Sun, 20 Dec 2009 22:41:04 +0100 (CET)
On Mon, 14 Dec 2009, Patrick Monnerat wrote:
> Remember a data line beginning with a dot should be preceded by an
> additional dot :-)
Ah yes, I need to filter all the data to send using SMTP to make sure of that.
A little similar to how we filter all receiving POP3 data to detect the
end-of-body pattern.
> Just a small remark abour CURLOPT_MAIL_RCPT: in the current version, you can
> only send a mail to a single address. The protocol allows you to specify
> several RCPT TO statements for the same mail. I would suggest to change
> CURLOPT_MAIL_RCPT char* argument into a struct slist* for that purpose.
>
> Also forcing <> around the CURLOPT_MAIL_FROM and CURLOPT_MAIL_RCPT values
> supposes they are e-mail addresses alone, making arguments as "name surname
> <e-mail-address>" infeasible; extra mail-parameters and rcpt-parameters
> cannot be specified either.
Right, I need to fix both of them. Things are just moving a little slowly
here, but I'll get there eventually!
Other little details:
For the EHLO I'm considering using the 'user' field for the domain so that the
user can decide what to tell the server.
I think I'll use the 'RCPT' data to select test case numbers from, so that the
first unbroken sequece of digits in the receiver address will be used as test
case number.
Thanks for your feedback!
-- / daniel.haxx.se ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.htmlReceived on 2009-12-20