[thelist] CDONTS
cherian joseph
cherianj at KANBAY.com
Fri Aug 18 08:32:10 CDT 2000
in what way is this not working??what exactly do you want to test
why is your create object hanging?
Cherian
> Here's the problem. I am trying to use CDONTS & to test the server I
> downloaded a script from the Microsoft site which worked fine. I have
> altered the script to fit my needs & now it doesn't work despite the fact
> that I have checked the values of the strings & they are exactly the same
> as
> the original script's outputs. Here's the code...
>
> ####### THIS IS THE CODE FOR THE FORM #######
> <form action="CDONTSMail.asp" method="POST">
> <table border="0">
> <tr>
> <td>From:</td>
> <td><!--webbot bot="Validation"
> b-value-required="TRUE" --><input type="text"
> size="47" name="txtFrom"
> value=""></td>
> </tr>
> <tr>
> <td>To:</td>
> <td><!--webbot bot="Validation"
> b-value-required="TRUE" --><input type="text"
> size="47" name="txtTo"
> value=""></td>
> </tr>
> <tr>
> <td>Subject:</td>
> <td><input type="text" size="47" name="txtSubject"
> value=""></td>
> </tr>
> <tr>
> <td valign="top">Message:</td>
> <td><textarea name="txtMessage" rows="9" cols="45">
> Type your message here.</textarea></td>
> </tr>
>
> </table>
> <p><input type="submit" name="cmdSubmit" value="Submit">
> <input type="reset" name="cmdClear" value="Clear"> </p>
> </form>
> ####### THIS IS THE ASP CODE #######
> strFrom=request.form("txtFrom")
> strTo=request.form("txtTo")
> strSubject = request.form("txtSubject")
> strBody=request.form("txtMessage")
> lngImportance = 1
>
> Set myCDONTSMail = CreateObject("CDONTS.NewMail")
>
> myCDONTSMail.Send strFrom,strTo,strSubject,strBody,lngImportance
>
> Set myCDONTSMail = Nothing
> Write "Mail has been sent."
> ####### AND THIS IS THE RESPONSE.WRITE OF THE STRINGS #######
> strFrom = ratking
> strTo = kev.skindrill at bigfoot.com
> strSubject = 9.06
> strMessage = Type your message here.
> Importance = 1
> Mail has been sent.
>
> Sorry this is such a long mail but I was working on this all day yesterday
> &
> most of the night & I can't see why it isn't working. Thanks in advance
> for
> any help.
>
> K
>
>
>
> ---------------------------------------
> For unsubscribe and other options, including
> the Tip Harvester and archive of TheList go to:
> http://lists.evolt.org Workers of the Web, evolt !
>
More information about the thelist
mailing list