- 论坛徽章:
- 0
|
原帖由 golden_lee 于 2007-1-30 15:22 发表
大概明白了,我估计需要去检查.libnetrc 这个文件,看看smtp server的设置,谢谢!
Really?
perldoc Net::SMTP
CONSTRUCTOR
new ( [ HOST ] [, OPTIONS ] )
This is the constructor for a new Net::SMTP object. "HOST" is the
name of the remote host to which an SMTP connection is required.
"HOST" is optional. If "HOST" is not given then it may instead be
passed as the "Host" option described below. If neither is given
then the "SMTP_Hosts" specified in "Net::Config" will be used.
...
is 'mailhost' configured at your local?
otherwise simply say full qualified smtp hostname or its IP address
instead of 'mailhost'
--ulmer |
|