Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View

Hi folks !
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

Re: SMTP::new()

perl_programmer_sow wrote:
Quoted text here. Click to load it

Just looked into Net/ 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".


Re: SMTP::new()

Hi chris ,
thank u very much.
Quoted text here. Click to load it
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

Site Timeline