Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

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/Sendmail.pm line 215. Use of uninitialized value $_ in pattern match (m//) at C:/Perl64/site/lib/Mail/ Sendmail.pm line 218. Use of uninitialized value $_ in concatenation (.) or string at C:/Perl64/site/l ib/Mail/Sendmail.pm 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?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (5)
As of 2020-10-20 00:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My favourite web site is:












    Results (208 votes). Check out past polls.

    Notices?