I don't think you can send attachments using Net::SMTP.

Use Mail::Sender by Jenda Krynicky....it works !

And what's best is that Jenda is always around in this list raring to
help...so u've got real time support  ;-)

And yes you do indeed need a mail server to connect to...

Cheers
-aman

-----Original Message-----
From: John [mailto:[EMAIL PROTECTED] 
Sent: 17 February 2004 18:54
To: Perl Beginners
Subject: Re: connecting to a mail server via IMAP


Using Net::SMTP can i send an email from my machine? Or Net::SMTP will
enable to me to connect to a mail server and send email with attachements?

----- Original Message ----- 
From: "Rob Dixon" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, February 17, 2004 3:10 PM
Subject: Re: connecting to a mail server via IMAP


> John wrote:
> >
> > From: "Rob Dixon" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Tuesday, February 17, 2004 2:41 PM
> > Subject: Re: connecting to a mail server via IMAP
> >
> > >
> > > John wrote:
> > > >
> > > > Can perl connect to a mail server via imap and then send some
> > > > emails (with attachements of course).
> > >
> > > John wrote:
> > > >
> > > > Has perl its own smpt to send mails?
> > >
> > > Hi John.
> > >
> > > You need Mail::IMAPClient and Net::SMTP.
> >
> > So, could we send attachments using the Mail::IMAPClient?
>
> Sorry John, I misread your first post. You can't use IMAP to send
anything: it's
> a mail access protocol. You need SMTP.
>
> Rob
>
>
>
> -- 
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> <http://learn.perl.org/> <http://learn.perl.org/first-response>
>
>
>



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to