Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_components thread: Send mail


Message #1 by "Stanley" <stanley@j...> on Thu, 14 Sep 2000 17:30:17 +0100
Hi there,



Can someone provide the example for automatic send mail program for ASP.

Thanks!!!



Stanley

Message #2 by Dharmesh Zinzuwadiya <dharmeshz@y...> on Thu, 14 Sep 2000 10:47:45 -0700 (PDT)
hi! Stanley

I found the same problem but i have solution now.

Can you write which database  r u using with ASP.



I have used MS Access but there is not trick available

for MS Access as per my knowledge. So i have used 

Windows NT scheduler for it.



If u tell me which database u r using then i can gude 

u properly.



Dharmesh.



--- Stanley <stanley@j...> wrote:

> Hi there,

> 

> Can someone provide the example for automatic send

> mail program for ASP.

> Thanks!!!

> 

> Stanley

> 



Message #3 by "Stanley Cheung" <stanley@j...> on Fri, 15 Sep 2000 09:52:06 +0800
Hi Dharmesh,



I am using ms access for database....

what's the solution for NT, can you advise so that i can consider. thx!!



Stanley

----- Original Message -----

From: Dharmesh Zinzuwadiya <dharmeshz@y...>

To: ASP components <asp_components@p...>

Sent: Friday, September 15, 2000 1:47 AM

Subject: [asp_components] Re: Send mail





> hi! Stanley

> I found the same problem but i have solution now.

> Can you write which database  r u using with ASP.

>

> I have used MS Access but there is not trick available

> for MS Access as per my knowledge. So i have used

> Windows NT scheduler for it.

>

> If u tell me which database u r using then i can gude

> u properly.

>

> Dharmesh.

>

> --- Stanley <stanley@j...> wrote:

> > Hi there,

> >

> > Can someone provide the example for automatic send

> > mail program for ASP.

> > Thanks!!!

> >

> > Stanley

> >

>

>

Message #4 by "Neil McClimond" <nmcclimond@n...> on Fri, 15 Sep 2000 11:05:39 +0100
why not try usning the cdonts object in NT ... I think the syntax of it is

like this...



objNewMail.Send([From][, To][, Subject][, Body][, Importance] )



   objNewMail

      Required. This NewMail object.





   From

      Optional. String. The full messaging address to be identified as

      the sender (for example, someone@M...)



   To

     Optional. String. A list of full messaging addresses of recipients.

     The individual recipient addresses are separated by semicolons.

     (for example, someone@M...)



   Subject

      Optional. String. The subject line for the message.



   Body

      Optional. IStream object or String. The text of the message. Only

      C/C++ and Java programs can use an IStream object for the Body

      parameter. They should pass an IUnknown object that returns an

      IStream interface in response to QueryInterface. Microsoft Visual

      Basic supports the IDispatch interface and not IUnknown, so it

      cannot use an IStream object.



   Importance

      Optional. Long. The importance associated with the message, High,

      Normal or Low.  This article sets the required value depending upon

      which option button the user selects.





e.g.



set myCDONTSMail = CreateObject("CDONTS.NewMail")

myCDONTSMail.Send strFrom,strTo,strSubject,strBody,lngImportance



Neil





----- Original Message -----

From: Stanley Cheung <stanley@j...>

To: ASP components <asp_components@p...>

Sent: Friday, September 15, 2000 2:52 AM

Subject: [asp_components] Re: Send mail





> Hi Dharmesh,

>

> I am using ms access for database....

> what's the solution for NT, can you advise so that i can consider. thx!!

>

> Stanley

> ----- Original Message -----

> From: Dharmesh Zinzuwadiya <dharmeshz@y...>

> To: ASP components <asp_components@p...>

> Sent: Friday, September 15, 2000 1:47 AM

> Subject: [asp_components] Re: Send mail

>

>

> > hi! Stanley

> > I found the same problem but i have solution now.

> > Can you write which database  r u using with ASP.

> >

> > I have used MS Access but there is not trick available

> > for MS Access as per my knowledge. So i have used

> > Windows NT scheduler for it.

> >

> > If u tell me which database u r using then i can gude

> > u properly.

> >

> > Dharmesh.

> >

> > --- Stanley <stanley@j...> wrote:

> > > Hi there,

> > >

> > > Can someone provide the example for automatic send

> > > mail program for ASP.

> > > Thanks!!!

> > >

> > > Stanley

> > >

> >

> >




  Return to Index