On 5/19/05, Graeme McLaren wrote:
> Offer, everyone, I tried sending an email from a mail server and I got an
> error:
> 
> Local user "user" unknown on host "mail.smtpserver.com"
> 
> 
> It seems to break on $email.  The "user" that the error reports is the value
> of $email, so why isn't it sending the email?
> 
>                   from    => '[EMAIL PROTECTED]',
>                   to      => "$email",

According to http://search.cpan.org/dist/Mail-Sender/Sender.pm#AUTHENTICATION
: "If you get a "Local user "[EMAIL PROTECTED]" unknown on host "zzz""
message... it only accepts messages to or from a local user."
Maybe your server doesn't like '[EMAIL PROTECTED]' as a from
field? More likely, 'user' is not a valid email - try using a real
email address. I you want to use a name, the format is usually "user
<[EMAIL PROTECTED]>".

HTH,
-- 
Offer Kaye

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to