Net::SMTP


J

john.swilting

i would like to eclaicir a point of detail i use net::smtp it places the
EHLO localhost.localdomain order but me i would love HELO
localhost.localdomain
This for e good functioning of my scripts i read doc but I n
arrives(manages,happens) not indeed at the dechiffrer can you m help I thank
you

sub SMTP_TEST{

my($host,$nom,$e_mail) = @_;

my $smtp = Net::SMTP->new($host);
if(defined($smtp)){
;
}
if(defined($smtp->mail($nom))){
;
}
if(defined($smtp->to($e_mail))){
;
}
if(defined($smtp->data())){
;
}
if(defined($smtp->datasend("To: postmaster\n","\n","a simple test
message\n"))){
;
}
if(defined($smtp->dataend())){
;
}
if(defined($smtp)){
AFFICHAGE($host);
}

}
 
Ad

Advertisements


Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top