SMTP::new()
am 11.10.2005 11:36:09 von perl_programmer_sow
Hi folks !
new($smtp_server_name,hello=>$sender_domain
Do you have any idea when new() truncates the sender_domain name when
it is too long.
Please someone give a solution for this
thanking u
perl_programmer_sow
Re: SMTP::new()
am 11.10.2005 13:34:38 von Christian Winter
perl_programmer_sow wrote:
> Hi folks !
> new($smtp_server_name,hello=>$sender_domain
> Do you have any idea when new() truncates the sender_domain name when
> it is too long.
> Please someone give a solution for this
Just looked into Net/SMTP.pm v2.29 (which should be the up to date one)
and the value given to the "Hello" option isn't truncated at all.
However, you should be aware that options to the new() constructor
are case sensitiv, so your example should read
my $smthg = new($smtp_server_name, Hello => $sender_domain);
If you pass a lowercase "hello", then Net::SMTP will fill in the default
value of "localhost.localdomain".
HTH
-Chris
Re: SMTP::new()
am 13.10.2005 05:55:30 von perl_programmer_sow
Hi chris ,
thank u very much.
>From the response i understand that u are uptodate with perl.So i guess
u should be well versed with blat also.
Please let me know this .
If blat is being used by an application for sending mail.That blat has
to perform some processing on the SMTP server.I am having problems when
the sender's domain name is too long.
Also let me know if there are issues with long domain names.And give me
some links for a solution to problem with too long domain names.
Thanking u
perl_programmer_sow