Email with ASP

Discussion in 'Internet & WWW' started by whoopy_whale, Sep 17, 2004.

Thread Status:
Not open for further replies.
  1. whoopy_whale

    whoopy_whale New Member

    Joined:
    Sep 16, 2004
    Messages:
    239
    Likes Received:
    1
    Trophy Points:
    0
    Location:
    Bermuda Triangle
    My ASP pages are kept at 1asphost.com,a free space provider.I tried to create a page to send email using CDO.
    I used the following code...

    Set myMail=CreateObject("CDO.Message")
    myMail.Subject="Sending email with CDO"
    myMail.From="from@some.com"
    myMail.To="to@some.com"
    myMail.HTMLBody = "<h1>This is a message.</h1>"
    myMail.Send

    Actually,in place of from and to id,I used a request.querystring("fromid")
    and request.querystring("toid").
    I received the message also with this GET method.

    When I tested the page the result was

    CDO.Message.1 error '80040220'
    The "SendUsing" configuration value is invalid.
    /whoopywhale/email.asp, line 15

    the line 15 is myMail.Send

    What could be the trouble :?:
    Help me... :roll:
     
  2. parthbarot

    parthbarot New Member

    Joined:
    Sep 17, 2004
    Messages:
    388
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    .::OnLine::.
    send means it is sending the whole bunch.
    so if there is any prob in ur add. & above code then also it gives u error. i dont know much abt it.
     
  3. #/bin/sh

    #/bin/sh New Member

    Joined:
    Apr 20, 2004
    Messages:
    213
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    42.65 N 73.76 W
    you have used CDO mail componet.

    b'z no one FREE asp hosting support ASP mail componets like ( Collaboration Data Objects (CDO), CDONTS, Jmail etc)
    b'z of spam
    1asphost.com does not support any mail componet.

    so u guess that error.
     
  4. #/bin/sh

    #/bin/sh New Member

    Joined:
    Apr 20, 2004
    Messages:
    213
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    42.65 N 73.76 W
    it seems we losse the whoopy_whale.
     
  5. Aseem Nasnodkar

    Aseem Nasnodkar New Member

    Joined:
    Jan 10, 2004
    Messages:
    255
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Panaji - Goa
    I agree with u #/bin/sh.
    I also wanted 2 use CDO on 1asphost.com. But cudn't 4 d same reason!(See their support)

    Well 1asphost is aa gr8 site. my fav webhosting site!
    For a secret reason! Aah 2 special!!!

    i guess whoopy_whale shud know it. If he dsn't know the golden reason(d 1 dat makes it look like a paid site) email me on
    aseemnas@rediffmail.com
     
Thread Status:
Not open for further replies.

Share This Page