in reply to Net::SMTP and the undefined value

The undef value is probably $smtp, because '$mailserver_url' is not a valid URL.

Try it without the single ticks, and check the return value of Net::SMTP->new()

Replies are listed 'Best First'.
Re^2: Net::SMTP and the undefined value
by Quicksilver (Scribe) on Jul 30, 2007 at 14:47 UTC
    Moritz, Many thanks, it seems to have done the trick. Iain