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

Re: Mail::Sendmail Module

by toolic (Bishop)
on Feb 26, 2018 at 15:23 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1209979]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (6)
As of 2024-04-23 20:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found