Sajha.com Archives
ASP question

   here's what i'm trying to do: i have a 08-Jan-02 aspiring geek
     I use a formmail.pl; I am pretty sure yo 08-Jan-02 93454475
       i need a VBS/JS solution, not a perl one 08-Jan-02 aspiring geek
         ma pani aspiring geek nai bhanu or rathe 08-Jan-02 sunakhari
           Here's what I have from my asp notes: 08-Jan-02 san
             sorry...you would have to download persi 08-Jan-02 sunakhari
               CFDONTS ta cfml ko matrai ho ni hoina ra 08-Jan-02 sunakhari
                 Check MDSN for "CDONT". Don't forget to 08-Jan-02 JackAss
                   Its CDONTS not CFONTS. CDONTS comes w 08-Jan-02 Kancho
                     This is what happens when Nepaliz take u 08-Jan-02 humbo
                       humbo! what was that all about? cannot 08-Jan-02 NK
                         There is poison in Humbo's heart. :) 08-Jan-02 Kancho
                           Humbo: Obviously, you knew everything o 08-Jan-02 sunakhari
                             didnt know that thanks a lot, folks it 08-Jan-02 le checf du nuit
                               cant even spell my handle right these da 08-Jan-02 le chef du nuit


Username Post
aspiring geek Posted on 08-Jan-02 07:58 AM

here's what i'm trying to do:
i have a database of organization/email pairs
i have a form where the user selects a given organization and writes a little message

i want the message to be e-mailed to the address that corresponds to the organization selected

here's what i have done so far
given the org, get e-mail from database
but HOW OH HOW do i get the message mailed to the address?

HELP PLEASE
93454475 Posted on 08-Jan-02 10:19 AM

I use a formmail.pl; I am pretty sure you can use it. Look for a formmail file on the internet and look at the structure. Once you figure out this programs structure, I think you will be able.
aspiring geek Posted on 08-Jan-02 11:10 AM

i need a VBS/JS solution, not a perl one
it's off a billy boy IIS server, and as far as i know, SENDMAIL etc dont work on that platform
thanks though
sunakhari Posted on 08-Jan-02 11:45 AM

ma pani aspiring geek nai bhanu or rather couldn't-care-less-if-Im-not-a-comp-wiz ho! I have this code and hope this helps:

check this out in your asp reference book:

Set Mail = Server.CreateObject("Persits.MailSender") blah blah blah

worked for me on IIS platform.
san Posted on 08-Jan-02 12:06 PM

Here's what I have from my asp notes:

set mymail = Server.createObject("CDONTS.NewMail")
mymail.to = request.form("to")


rest of mymail.from, mymail.subject, etc.. mymail.body, etc. here

mymail.send

response.write "Your mail has been sent"
sunakhari Posted on 08-Jan-02 12:11 PM

sorry...you would have to download persists mailsender and run that on your server
sunakhari Posted on 08-Jan-02 12:29 PM

CFDONTS ta cfml ko matrai ho ni hoina ra?
I could be totally wrong.
JackAss Posted on 08-Jan-02 02:54 PM

Check MDSN for "CDONT". Don't forget to enforce proper email address format on your html form.
Kancho Posted on 08-Jan-02 03:47 PM

Its CDONTS not CFONTS.

CDONTS comes with Win2K (IIS).
humbo Posted on 08-Jan-02 04:11 PM

This is what happens when Nepaliz take up jobs they are not qualified to do so... its a common occurance these days.. Nepaliz wanna get their way (like Dipendra) even if that means hanging on by the skin of their teeth.. :) .. "Hey, I got a great job, pays well, wanna marry me !!" I wonder how many times this incompetent dude has bragged about it... sucker .... Nepalien Fan !!
NK Posted on 08-Jan-02 04:13 PM

humbo! what was that all about? cannot one try something without being an expert? Or is that the criteria to *even* try? What is really bugging you my friend?
Kancho Posted on 08-Jan-02 04:21 PM

There is poison in Humbo's heart. :)
sunakhari Posted on 08-Jan-02 04:49 PM

Humbo:
Obviously, you knew everything off the top of your head without learning. Wonderful!
Or are you one of those people who went to school and then thought they knew everything?? POOR YOU!!! You have so much more coming your way and some more but you sound like you deserve it too.
As for myself, I learn something new everyday! So thanks Kancho for correcting me and yes I was tripping on cfml :) I just wish I had it everyday, but then poor ole me will be subjected to punctuations!!
DAMN BILLY!
le checf du nuit Posted on 08-Jan-02 06:03 PM

didnt know that
thanks a lot, folks
its working now

>Its CDONTS not CFONTS.
>
>CDONTS comes with Win2K (IIS).
le chef du nuit Posted on 08-Jan-02 06:20 PM

cant even spell my handle right these days
pathetic, arent i