I would like to get some input from the general public on a few issues with Mail::Sender.
1) Will anyone mind if the SendXxxxx() methods will return the Mail::Sender object instead of the 1 they used to? This would allow chaining the method calls like this : eval { (new Mail::Sender) ->OpenMultipart({...}) ->Body(...) ->SendEnc(...) ->Part(...) ->SendEnc(...) ->Attach(...) ->Close(); } if ($@ =~ /^Can't call method/) { die "Cannot send mail : $Mail::Sender::Error\n" } elsif ($@) { die $@,"\n"; } 2) There is a beta version that contains code for the SMTP authentication at http://Jenda.Krynicky.cz/Sender.pm . Currently the only supported protcols are LOGIN, PLAIN and CRAM-DM5, but it should be relatively easy to add other. Especialy if anyone sends me a snipet of code that implements them ;-) There is no documentation on the feature yet and the interface is not yet fixed (yes, THIS is the question). In the beta the new Mail::Sender constructor and the Open, OpenMultipart, MailMsg and MailFile methods accepts three new parameters : auth => the name of the protocol. Only supports LOGIN, PLAIN and CRAM-MD5 now. username => ... password => ... I wonder whether to use "username" and "password" or "authid" and "authpwd" or something else ... I do not have access to any server that would implement PLAIN and CRAM-MD5 so could someone test it and let me know? Or create for me a temporary test account on such a server if there are problems so that I could test? Thanks for opinions, suggestions, bug and success reports and code snipets. Jenda =========== [EMAIL PROTECTED] == http://Jenda.Krynicky.cz ========== There is a reason for living. There must be. I've seen it somewhere. It's just that in the mess on my table ... and in my brain I can't find it. --- me -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]