Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much

Re: Mail::Sendmail Module

by toolic (Bishop)
on Feb 26, 2018 at 15:23 UTC ( #1209979=note: print w/replies, xml ) Need Help??

in reply to Mail::Sendmail Module

  • Edit your post to fix the leading "code" tag so people can easily read your question.
  • Read The Fine Manual for Mail::Sendmail. All your code does is set the %mail hash variable. You need to call the sendmail function.
sendmail(%mail) or die $Mail::Sendmail::error;

Replies are listed 'Best First'.
Re^2: Mail::Sendmail Module
by ytjPerl (Scribe) on Feb 26, 2018 at 15:56 UTC
    Thanks! I got those errors when I call the send:mail Use of uninitialized value $_ in concatenation (.) or string at C:/Perl64/site/l ib/Mail/ line 215. Use of uninitialized value $_ in pattern match (m//) at C:/Perl64/site/lib/Mail/ line 218. Use of uninitialized value $_ in concatenation (.) or string at C:/Perl64/site/l ib/Mail/ line 401. ERROR
      Hi ytjPerl,

      you've been asked by toolic to edit your original post and fix the leading code tag (i.e. change it to <code>), and you did not, although you've obviously read toolic's post, since you replied to it. Why don't you fix your post? Don't you see it is very difficult to read? Do yourself a favor: if you want additional good answers, make it easy for other monks here to read your post: fix it.

      And, BTW, please also edit your reply above and put the warnings and error messages between <code> and </code> tags.

        I did it when he asked me to do it.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (5)
As of 2022-01-25 13:50 GMT
Find Nodes?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:

    Results (66 votes). Check out past polls.