I guess I has a similar problem. I has a shopping cart script
(WebSite+NT4.0).
I've tried
Net::SMTP;
Socket qw(:DEFAULT :crlf);
Mail::Sender
and made all them work.

BUT.
I've noticed that with some addresses in field From:
script didn't sent  mail without any errors.
Seems that SMTP server  performs  some checks of address in From: field
Hope I gave an idea.
N/



----- Original Message -----
From: "Fabio Quintão (Perl++)" <[EMAIL PROTECTED]>
To: "Perl forum" <[EMAIL PROTECTED]>
Sent: Friday, March 16, 2001 7:20 PM
Subject: Problems sending a email with perl!!


> Hi all.
>
>     i'm trying to send a confirmation email after people submit a form in
my
> site.well i 'm using a Mail::Sender  module that i saw somewhere on the
> Internet.The problem is:I can received a message the tells me that the
email
> was sent with success but i'm not receiving the message i sent to me just
to
> confirm that it really works.
>     The code seems to be ok without an error and because of that i need
your
> help to solve.The SMTP server is ok but the only thing that makes me
dubiuos
> is that i need to type a password when send a regular mail in my machine.i
> don't know if it can be a problem.The Module i already had installed in my
> machine using ppm.Why it does not working?
> I hope someone can help me!
> Thanks in advance
> Fabio   .
>
>
> #! C:/perl/bin/perl.exe -w
> use Mail::Sender;
> ref ($send = new Mail::Sender { from => '[EMAIL PROTECTED]',
>        smtp => 'smtp.locweb.com.br', boundary =>
> 'This-is-a-mail-boundary-435427'})
>    or die "Error($send) : $Mail::Sender::Error\n";
> $send->Open({to => '[EMAIL PROTECTED]', subject => 'Teste'});
> $send->SendLine("How are you?");
> $send->SendLine;
> $send->Send(<<'__HTML');
>
> Isto é um teste
>
> __HTML
>
> $send->Close;
> print "It worked\n";
>
>
> Fabio Quintão
> [EMAIL PROTECTED]
> http://www.clikimoveis.com.br
>
> This document should only be read by those persons to whom it is
> addressed  and  is  not intended to be relied upon by any person
> without  subsequent written confirmation of its contents. If you
> have  received  this  e-mail message in error, please destroy it
> and delete it from your computer.
> Any  form of  reproduction, dissemination, copying,  disclosure,
> modification,  distribution  and/or  publication  of this E-mail
> message is strictly prohibited.
>
> _______________________________________________
> Perl-Win32-Users mailing list
> [EMAIL PROTECTED]
> http://listserv.ActiveState.com/mailman/listinfo/perl-win32-users
>


_______________________________________________
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-users

Reply via email to