|
 |
asp_cdo thread: Re: Newbie in email
Message #1 by lisa@m... on Mon, 14 Jan 2002 23:34:01
|
|
> Hello,
>
> Merry Xmas and a Happy New Year to everyone.
>
> I am new to emailing stuff using ASP. For the past few days I have been
> reading a lot on sending mail in this forum as well as some books and it
> is making me more confused than ever.
>
> I need to write a webpage to send a email confirming a user's
> registration, that is all. Here are my questions:
>
> 1. I read that i can use either the Outlook components or the CDONTS to
> send a mail. Either way, how do i connect to the SMTP server?
>
> 2. When I am connected to the SMTP server, i think that i will be
needing
> a UID and password. How do i do that?
>
> 3. About the SMTP server, should i have my own SMTP server, or should i
> just connect to another existing third party SMTP server?
>
> Is there a guide for me to read, because all of the sites i went to will
> only show me how to send an email but without the connection to smtp
> server and how to login into an account.
>
> Let me know if have the wrong concept
>
> Thanks
> really confused
>
Message #2 by "Siegfried Weber" <sweber@c...> on Tue, 15 Jan 2002 01:56:18 +0100
|
|
1. You cannot use Outlook components form an ASP application. Outlook is
only good for windows client applications. So, CDONTS might be your
choice.
2. CDONTS doesn't support this features. CDONTS can only submit a
message to a locally running Microsoft IIS4/5 SMTP Service without
authentication.
3. If you can run your own SMTP server, why not doing it. If you can't
and need to use one provided by your ISP you can't use CDONTS.
Having said all that, consider to use CDOSYS (CDO for Windows 2000). It
ships with Windows 2000/XP/.NET Server and has the ability to send SMTP
mails to remote servers with authentication.
<Siegfried />
> -----Original Message-----
> From: lisa@m... [mailto:lisa@m...]
> Sent: Tuesday, January 15, 2002 12:34 AM
> To: ASP CDO
> Subject: [asp_cdo] Re: Newbie in email
>
> > Hello,
> >
> > Merry Xmas and a Happy New Year to everyone.
> >
> > I am new to emailing stuff using ASP. For the past few days I have
been
> > reading a lot on sending mail in this forum as well as some books
and it
> > is making me more confused than ever.
> >
> > I need to write a webpage to send a email confirming a user's
> > registration, that is all. Here are my questions:
> >
> > 1. I read that i can use either the Outlook components or the
CDONTS to
> > send a mail. Either way, how do i connect to the SMTP server?
> >
> > 2. When I am connected to the SMTP server, i think that i will be
> needing
> > a UID and password. How do i do that?
> >
> > 3. About the SMTP server, should i have my own SMTP server, or
should i
> > just connect to another existing third party SMTP server?
> >
> > Is there a guide for me to read, because all of the sites i went to
will
> > only show me how to send an email but without the connection to smtp
> > server and how to login into an account.
> >
> > Let me know if have the wrong concept
> >
> > Thanks
> > really confused
> >
>
$subst('Email.Unsub').
Message #3 by farid@a... on Mon, 14 Jan 2002 20:00:34 -0800
|
|
Dear Lisa
This is my experience when made "mail to" facility on my website.
I'm running IIS 5 on W2K, with SMTP service activated.
I installed JMail component and used it to send email from my machine.
To connect to SMTP server i used script like this :
Set JMail = Server.CreateObject("JMail.SMTPMail")
' This is my local SMTP server
JMail.ServerAddress = "10.1.86.5"
for further information you can look at:
jmail website
alexander haneng website
sorry a forget the URL
regards
farid
lisa@m...
ion.com To: "ASP CDO" <asp_cdo@p...>
cc:
01/14/2002 Subject: [asp_cdo] Re: Newbie in email
03:34 PM
Please
respond to
"ASP CDO"
> Hello,
>
> Merry Xmas and a Happy New Year to everyone.
>
> I am new to emailing stuff using ASP. For the past few days I have been
> reading a lot on sending mail in this forum as well as some books and it
> is making me more confused than ever.
>
> I need to write a webpage to send a email confirming a user's
> registration, that is all. Here are my questions:
>
> 1. I read that i can use either the Outlook components or the CDONTS to
> send a mail. Either way, how do i connect to the SMTP server?
>
> 2. When I am connected to the SMTP server, i think that i will be
needing
> a UID and password. How do i do that?
>
> 3. About the SMTP server, should i have my own SMTP server, or should i
> just connect to another existing third party SMTP server?
>
> Is there a guide for me to read, because all of the sites i went to will
> only show me how to send an email but without the connection to smtp
> server and how to login into an account.
>
> Let me know if have the wrong concept
>
> Thanks
> really confused
>
|
|
 |