Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

RE: RE: Ultimail.pm : A module to send an email without your ISP's mailserver

by gaggio (Friar)
on Jul 28, 2000 at 19:05 UTC ( #24869=note: print w/ replies, xml ) Need Help??


in reply to RE: Ultimail.pm : A module to send an email without your ISP's mailserver
in thread Ultimail.pm : A module to send an email without your ISP's mailserver

You are right, I forgot to mention that there was Net::SMTP also. I actually used Net::SMTP, but had problems with it. It might be because I was on a Win32 machine? I don't know. All I know was that it would not send email the way Ultimail.pm does. I also tried their example of running an SMTP server, but it did not work either :-)

I decided that I would write my own, then, this is as simple as that. Ultimail.pm is very simple (a lot simpler than Net::SMTP), and does the job on Win32 machines (I did not test it on *nix platforms, but it should be pretty slick there also).


Comment on RE: RE: Ultimail.pm : A module to send an email without your ISP's mailserver
RE: RE: RE: Ultimail.pm : A module to send an email without your ISP's mailserver
by merlyn (Sage) on Jul 28, 2000 at 19:06 UTC
    If you "had problems", what were they? And were you using the latest ActiveState Perl?

    -- Randal L. Schwartz, Perl hacker

    update: OK, as feedback for me, why was this voted down? I was genuinely curious about the unspecified problems, since I'm using Net::SMTP in programs I write. Should I have remained uninformed?

    Or is this just a backlash fallout from the other posts of the past few days?

      The program was hanging. Not giving any information, and not sending the email like expected - I did not try to debug the problem too much, since I wanted to learn about the feature by myself also - which I did pretty well I guess. Now, here, I'm not trying to claim that people should use my module if they are fine with Net::SMTP, I'm just sharing a piece of code as a little teaching.
(jcwren) RE: (3): A module to send email without your ISP's mailserver
by jcwren (Prior) on Jul 28, 2000 at 19:19 UTC
    I've had nothing but success using Net::SMTP under Perl 5.005_03 under Windows NT.

    I would like to point out that while endeavoring to learn the intricacies of SMTP is a Good Thing, there are a number of quirky SMTP servers in the world. Net::SMTP knows about most of them, and is a tried and trusted module. Be aware that it's quite likely you'll run into one of these servers sooner or later. And knowing the Murphy effect, it'll be the first time a user tries to use your module... (happens to me all the time!)

    --Chris

    e-mail jcwren
      Right. It'd be better to figure out if what's "wrong" with Net::SMTP is a bug in your understanding or a bug in the module. And if it's a bug in the module, fix it there, rather than write your own one-off code.

      Do not reinvent the wheel, unless you thoroughly understand the concept of wheel-ness.

      -- Randal L. Schwartz, Perl hacker

      OK. Could you give me the same example code as mine, using Net::SMTP, then?

      I would like to see that.

      Update: jcwren pointed me to this node, for an example of Net::SMTP, but I see that there is an email server to specify, whereas there is none in my example script. I'm still waiting...

      Update2: jcwren says that the email server to specify is the text after the @ symbol in the target email address. I tried it: it does not work. I can't believe people saying that what I wrote is useless when they can't prove it!

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://24869]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (9)
As of 2014-08-29 22:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (289 votes), past polls