formtomail

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • steve

    formtomail

    I'm pretty new to asp and windows hosting
    however I need a script to send my form to mail "formtomail "
    It is a windows server it also support php
    any body please direct me to the right place.

    Thanks


  • Ray Costanzo [MVP]

    #2
    Re: formtomail

    The simplest, but not always very satisfying, method could be:

    For Each thing in Request.Form
    sMailBody = sMailBody & thing & " = " Request.Form(th ing) & vbCrLf
    Next

    Set oCDO = CreateObject("C DO.Message")
    oCDO.From = "you@yourdomain "
    oCDO.To = "you@yourdomain "
    oCDO.Subject = "the subject here"
    oCDO.TextBody = sMailBody
    oCDO.Send
    Set oCDO = Nothing


    Ray at home


    "steve" <nospam@nospam. non> wrote in message
    news:cmqvhd$8h1 $1@ctb-nnrp2.saix.net. ..[color=blue]
    > I'm pretty new to asp and windows hosting
    > however I need a script to send my form to mail "formtomail "
    > It is a windows server it also support php
    > any body please direct me to the right place.
    >
    > Thanks
    >[/color]


    Comment

    Working...