Click here to get back home

SMTP::new()

 HomeNewsGroups | Search | About
 comp.lang.perl.modules    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
SMTP::new() perl_programmer_sow 10-11-2005
---> Re: SMTP::new() Christian Winte...10-11-2005
  `--> Re: SMTP::new() perl_programmer...10-12-2005
Posted by perl_programmer_sow on October 11, 2005, 2:36 am
Please log in for more thread options


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



Posted by Christian Winter on October 11, 2005, 1:34 pm
Please log in for more thread options


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


Posted by perl_programmer_sow on October 12, 2005, 8:55 pm
Please log in for more thread options


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



Similar ThreadsPosted
Net::SMTP July 25, 2006, 8:44 am
net smtp help October 24, 2006, 4:02 pm
Net::Telnet and SMTP June 13, 2005, 11:01 am
Question on NET::SMTP new() October 11, 2005, 2:32 am
SMTP: "to" or/and "recipient" question. November 11, 2005, 8:52 am
Net::SMTP Can't get AUTH working... November 2, 2006, 5:39 pm
Installing Net::SMTP as non-root March 19, 2007, 4:03 pm
"Host =>" in the Net::SMTP module August 15, 2007, 8:37 am
RFC: new module Net::SMTP::PostfixExt February 20, 2008, 3:49 pm
Net::SMTP - Unknown callback May 15, 2008, 6:45 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap