Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: Mail::Sendmail Cannot Send out email

by trwww (Priest)
on May 03, 2012 at 04:34 UTC ( [id://968624] : note . print w/replies, xml ) Need Help??


in reply to Mail::Sendmail Cannot Send out email

To extend on stevieb's reply, you probably need to provide credentials (perhaps a username and password) in order to relay from this server. Mail::Sendmail doesn't support this. So if this is indeed the part you're missing, you'll have to pick another email module or write your own that does support SMTP authorization.

  • Comment on Re: Mail::Sendmail Cannot Send out email

Replies are listed 'Best First'.
Re^2: Mail::Sendmail Cannot Send out email
by tobyink (Canon) on May 03, 2012 at 06:33 UTC

    ... or install a local mail server (e.g. postfix), configure that correctly, and tell Mail::Sendmail to use localhost.

    perl -E'sub Monkey::do{say$_,for@_,do{($monkey=[caller(0)]->[3])=~s{::}{ }and$monkey}}"Monkey say"->Monkey::do'