Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked

Using mail::sendmail recipient not allowed

by jonnyfolk (Vicar)
on Apr 02, 2006 at 14:27 UTC ( #540754=perlquestion: print w/replies, xml ) Need Help??
jonnyfolk has asked for the wisdom of the Perl Monks concerning the following question:

my %mail = ( To => "$address1", Cc => "$email2", From => "$emailfrom", Subject => "$email_subject", Message => "$email_mess", ); sendmail(%mail) or die $Mail::Sendmail::error;
Gives software error:
Error sending to <> (553 sorry, that domain isn't in my lis +t of allowed rcpthosts (#5.7.1))
could anyone tell me why that shows up and what I can do about it. (script is run on shared hosting, no root access...) thanks for your help

Replies are listed 'Best First'.
Re: Using mail::sendmail recipient not allowed
by sgifford (Prior) on Apr 02, 2006 at 16:06 UTC
    That's an error from qmail indicating you don't have permission to relay. You'll have to talk to your hosting provider; probably they have some mail interface they require you to use to stop formmail spamming.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://540754]
Approved by Corion
[Lady_Aleena]: ACK! my @music_times = qx(find ~/Music/Albums/ -type f -iname '*.mp3' -exec mp3info -p "%S\n" {} \;);
[marioroy]: :)
marioroy adds oatmeal cookies to the platter on the sideboard.
marioroy adds oatmeal raisin cookies to the platter on the sideboard.

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (5)
As of 2017-04-23 09:12 GMT
Find Nodes?
    Voting Booth?
    I'm a fool:

    Results (430 votes). Check out past polls.