neutralstone has asked for the wisdom of the Perl Monks concerning the following question:
I'm trying to add some fuctionality to an e-mail client which is implemented in perl. As it is now, it can send & receive mail and do other neat things, but I can't use it to send mail because my school's server (MS Exchange) requires authentication before I send a mail. (I can receive mail without a problem)
So use Net::SMTP. The solution should be pretty simple, right? just call a method from that package and pass your username and pass as arguments.
But there's no AUTH command in SMTP.pm. AUTH is an extension of EHLO, so maybe I should call that method? I'm still trying to wrap my head around SMTP methods.
Thanks in advance for your patience, interest, and expertise!
Take care,
James
Is it neccessary to tweak SMTP.pm (which defines Net::SMTP) in order to solve this problem?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: How can I send EHLO extension commands to an SMTP server?
by AgentM (Curate) on Sep 29, 2000 at 05:14 UTC |