in reply to Mail::Sender problem - user unknown on host

You have to set $smtp to the name of your SMTP server (your mail relay). You have set it to "smtp_server_name" which, unless your SMTP server is actually called that, is unlikely to work.

CU
Robartes-

  • Comment on Re: Mail::Sender problem - user unknown on host

Replies are listed 'Best First'.
Re: Re: Mail::Sender problem - user unknown on host
by ph0enix (Friar) on Nov 16, 2002 at 16:25 UTC

    Yes, of course. I didn't want originaly publish my smtp server name. In real code there is $smtp = 'arkab.petamem.com'.