CDonts

Please, I'm writing a servlet.
I designed a page that takes data from people. I want to be able to send their username and password filled in my online form to their various emails.
In ASP, its called CDonts.
Please, how will i do it with servlet.
Thanks

It is indeed Win 2K3. However, you *can* install CDONTS on
it.
See
http://www.webhostgear.com/204.html
This doesn't help with my problem though.
Mintyman
"Hunter Elliott" <[email protected]> wrote in
message
news:eat7sd$omf$[email protected]..
>
> "Mintyman" <[email protected]> wrote in
message
> news:eat622$mem$[email protected]..
>> ASP VBScript
>> Windows
>
> ah, but "windows... what?" What version is on the
server?
>
>> DW8
>> CDONTS (yes, I know I should be using CDOSYS but i'm
not)
>
> If you're using a Win2K3 server, CDONTS was removed from
it. You *have* to
> use CDOSYS in server versions later than Win2K
>
>

Similar Messages

  • CDONTS sent to question

    Hi,
    I am using CDONTS to send of an e-mail but need it sent to
    several addresses at once. Is that possible?

    Yep in the .To field, append whatever addresses to this eg.
    objMail.To= "[email protected];[email protected];[email protected]"

  • CDONTS Form Mail question - help needed

    I have a form on my asp page called MyMail.asp. The form is
    linked to cdonts.asp_form.asp which sends an email of filled in
    text boxes and comboboxes to my email address.
    It works fine when all the fields (eight of them) are filled
    in, but doesnt send the email if any of the textboxes are left
    blank. How can I make it send the email if some of the textboxes
    are blank? I have downloaded Yaromat, but it only seems to make
    fields become "required". I want to be able to send the email with
    say 3 of the eight fields filled out - ie not all of them are
    compulsary.
    Regards
    Billy

    Here is the code -
    Firstly the form itself (mymail.asp) -
    <form action="/cdonts_form.asp" method="post"
    name="MyForm" id="MyForm">
    <table width="200" border="1" align="center"
    bordercolor="#999999" bgcolor="#CCCCCC">
    <tr>
    <td>Title</td>
    <td><select name="MyTitle" id="MyTitle">
    <option value="Mr">Mr</option>
    <option value="Mrs">Mrs</option>
    <option value="Miss">Miss</option>
    <option value="Ms">Ms</option>
    <option value="Dr">Dr</option>
    <option value="Please Select" selected>Please
    Select</option>
    </select></td>
    </tr>
    <tr>
    <td>First Name </td>
    <td><input name="firstname" type="text"
    id="firstname2" size="30"></td>
    </tr>
    <tr>
    <td>Last Name </td>
    <td><input name="lastname" type="text"
    id="lastname2" size="30"></td>
    </tr>
    <tr>
    <td valign="top">Address</td>
    <td><textarea name="MyAddress" cols="28" rows="6"
    id="MyAddress"></textarea></td>
    </tr>
    <tr>
    <td>Email Address </td>
    <td><input name="email" type="text" id="email3"
    size="30"></td>
    </tr>
    <tr>
    <td> </td>
    <td> </td>
    </tr>
    <tr>
    <td>Telephone</td>
    <td><input name="MyTelephone" type="text"
    id="MyTelephone"></td>
    </tr>
    <tr>
    <td>Mobile Phone </td>
    <td><input name="MyMobile" type="text"
    id="MyMobile"></td>
    </tr>
    <tr>
    <td>Where did you hear about us?</td>
    <td>red
    <input name="colour1" type="checkbox" id="colour12"
    value="red">
    blue
    <input name="colour2" type="checkbox" id="colour22"
    value="blue">
    green
    <input name="colour3" type="checkbox" id="colour32"
    value="green"></td>
    </tr>
    <tr>
    <td valign="top"><p>Enquiry /
    Comments</p></td>
    <td><textarea name="comments" cols="28" rows="6"
    wrap="VIRTUAL" id="textarea"></textarea></td>
    </tr>
    <tr>
    <td> </td>
    <td><select name="test" id="select">
    <option value="test1">test1</option>
    <option value="test2">test2</option>
    <option value="test3">test3</option>
    </select></td>
    </tr>
    <tr>
    <td> </td>
    <td><input name="send" type="submit" id="send"
    value="Submit Form"></td>
    </tr>
    </table>
    </form>
    Next the code from the cdonts_form.asp page (the page which
    will send the email) -
    <%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%>
    <%
    Dim MyMail
    Dim MyBody
    Dim MyEmail
    Dim MyFirstname
    Dim MyLastname
    Dim MyColour1
    Dim MyColour2
    Dim MyColour3
    Dim MyComments
    Dim MyTest
    Dim MyTitle
    Dim MyAddress
    Dim MyTelephone
    Dim MyMobile
    MyEmail = Request.Form("email")
    MyFirstname = Request.Form("firstname")
    MyLastname = Request.Form("lastname")
    MyColour1 = Request.Form("colour1")
    MyColour2 = Request.Form("colour2")
    MyColour3 = Request.Form("colour3")
    MyComments = Request.Form("comments")
    MyTest = Request.Form("test")
    MyTitle = Request.Form("MyTitle")
    MyAddress = Request.Form("MyAddress")
    MyTelephone = Request.Form("MyTelephone")
    MyMobile = Request.Form("MyMobile")
    MyBody = "First Name: "& MyFirstName & vbcrlf
    MyBody = MyBody & "Last Name: "& MyLastName &
    vbcrlf & vbcrlf
    MyBody = MyBody & "Email: "& MyEmail & vbcrlf
    MyBody = MyBody & "Colour 1: "& MyColour1 &
    vbcrlf
    MyBody = MyBody & "Colour 2: "& MyColour2 &
    vbcrlf
    MyBody = MyBody & "Colour 3: "& MyColour3 &
    vbcrlf & vbcrlf
    MyBody = MyBody & "Comments:" & vbcrlf
    MyBody = MyBody & MyComments & vbcrlf & vbcrlf
    'vbcrlf - Visual Basic Carriage Return Line Feed means leave a
    space!
    MyBody = MyBody & "Test:"& vbcrlf
    MyBody = MyBody & MyTest & vbcrlf & vbcrlf
    MyBody = MyBody & "Title: "& MyTitle & vbcrlf
    MyBody = MyBody & "Address: "& MyAddress & vbcrlf
    MyBody = MyBody & "Telephone: "& MyTelephone &
    vbcrlf
    MyBody = MyBody & "Mobile Number: "& MyMobile &
    Vbcrlf
    Set MyMail = Server.CreateObject ("CDONTS.NewMail")
    MyMail.From = MyEmail
    MyMail.To = "t**********@*******.com"
    MyMail.Subject = "Enquiry for Academy Of Counsellors - sent
    from website"
    MyMail.Body = MyBody
    MyMail.Send
    set MyMail=nothing
    Response.Write("Thankyou, Your e-mail has been sent")
    %>
    Hope this is helpful for you!!
    Regards
    Billy

  • CDONTS email problem

    ASP VBScript
    Windows
    DW8
    CDONTS (yes, I know I should be using CDOSYS but i'm not)
    Dear all,
    I'm confused. I really am. I am trying to set up a CDONTS
    email that
    automatically copies in a specific person based on what
    country is chosen.
    This is done as follows:
    "<%@LANGUAGE="VBSCRIPT"%>
    <!--#include file="Connections/Web_Enquiries.asp" -->
    <%
    Dim info_request
    Dim info_request_numRows
    Set info_request = Server.CreateObject("ADODB.Recordset")
    info_request.ActiveConnection = MM_Web_Enquiries_STRING
    info_request.Source = "SELECT * FROM Country"
    info_request.CursorType = 0
    info_request.CursorLocation = 2
    info_request.LockType = 1
    info_request.Open()
    info_request_numRows = 0
    %>
    <%Set mail = Server.CreateObject("CDONTS.NewMail")
    mail.From = [email protected]
    mail.To = [email protected]
    info_request.filter="Country='" & Request("Country")
    mail.CC = info_request("Email")
    blah blah blah etc etc etc......
    However, when I run it, I get the following error:
    Microsoft VBScript runtime error '800a000d'
    Type mismatch: 'mail.CC'
    /video_request_processing.asp, line 24 "
    The thing is, I have this exact code on another page and it
    works perfectly.
    Why it breaks when I duplicate the code, I don't know. I'm
    sure there is
    probably a very obvious solution that will make me feel very
    small but I am
    prepared to accept that if it means I can get it working!
    Thanks!

    It is indeed Win 2K3. However, you *can* install CDONTS on
    it.
    See
    http://www.webhostgear.com/204.html
    This doesn't help with my problem though.
    Mintyman
    "Hunter Elliott" <[email protected]> wrote in
    message
    news:eat7sd$omf$[email protected]..
    >
    > "Mintyman" <[email protected]> wrote in
    message
    > news:eat622$mem$[email protected]..
    >> ASP VBScript
    >> Windows
    >
    > ah, but "windows... what?" What version is on the
    server?
    >
    >> DW8
    >> CDONTS (yes, I know I should be using CDOSYS but i'm
    not)
    >
    > If you're using a Win2K3 server, CDONTS was removed from
    it. You *have* to
    > use CDOSYS in server versions later than Win2K
    >
    >

  • Attaching a file using Cdonts

    Hi i need to know the command to attach a zip/rar file to a
    email which is sent via cdonts in asp from a database sorry to ask
    such a newbie question but i cant remeber for the life of me
    Cheers
    Paul

    Hi! Paul
    The CDONTS mail object can be used to send email attachments
    - it contains a
    method named AttachFile. The file you wish to attach must
    exist on the Web
    server (or be accessible on a remote machine by the
    IUSR_MachineName
    account) and the IUSR_MachineName must have Read permission
    on the file you
    wish to attach. Furthermore, you must know the file's
    physical path.
    The AttachFile method can be used like:
    CDONTS_Object.AttachFile(Physical_Path_to_File,
    English_Name_For_File)
    Dave
    "Pablo269" <[email protected]> wrote in
    message
    news:e67i2q$jgh$[email protected]..
    > Hi i need to know the command to attach a zip/rar file
    to a email which is
    sent
    > via cdonts in asp from a database sorry to ask such a
    newbie question but
    i
    > cant remeber for the life of me
    >
    > Cheers
    > Paul
    >

  • CDONTS: Send Email with Summary of Items

    Thanks for looking at this.
    I want to do is send an email message to the site
    administrator whenever a customer registers product serial numbers.
    The email would have the customers name, address, etc at the top
    and then a table of product serial numbers below. Their could be
    one or 50 individual rows. So it many ways, it is like a receipt
    one would receive after making a purchase from an store online.
    While formatting and sending the message isn't' the problem,
    the summary section has me puzzled. How do I send my recordset
    content in the form of a table to the email message? I can easily
    create a recordset that grabs the customer's info and the products
    purchased but how do I create the equivalent of the repeating
    regions in the email message?
    I'm sure I'm not using the correct terminology to describe
    what I want so please accept my apologies if I have confused.
    Any feedback would be appreciated.

    Hi Echo Train,
    I would still look at using a Workflow for this. Easiest option to setup and maintain, and
    you can still enter an email (or multiple emails) on demand.
    For the List Workflow click on Initiation Parameters and add one with
    Field name of Email for example.
    Description (something like): "Please enter the email(s) you wish to send the list item information. Separate each email with a semi colon ;"
    Information type: Single line of text
    Default value: leave it blank
    Next add a Send an Email action with the following settings:
    To: Select from existing Users and Groups > Workflow Lookup for a User...
    > Data source: Workflow Variables and Parameters
    > Field from source: Parameter: Email
    > Return field as: As String
    Then setup your Subject and Body using the Fields from the Current List Item
    Save the Workflow then go back into the Workflow settings and ensure that: Allow this workflow to be manually started is the only option selected.
    Publish the workflow and your users should now be able to click on the Workflow with the ability to enter one or more emails.
    There are other options apart from using a Workflow such as setting up an Action with some ECMA script, but much more difficult to create and maintain, which in this instance I would still opt for the Workflow solution.

  • JavaMail and CDONTS

    Fairly new to JavaMail. How can i use microsoft smtp service(that comes along with IIS)
    running on the webserver itself. To send mail messages.
    I get an error on the connect method. What is the syntax for connecting to the smtp server?

    Hi,
    How did you solve the problem?
    I would like to know how can i use microsoft smtp service(that comes along with IIS)
    send mail messages with JavaMail. Especially what to put for the hostname if it is localhost. What configuration I have to do with my IIS?
    Thanks.
    wenhe

  • Need 2 upgrade current iTunes 2 download movies.cDont want 2 lose my music!

    Hi...need some help with upgrading my current iTunes so I may download movies....but when I try to upgrade it sends me to another link to download a "NEW iTunes"....From what I've been reading its totally erased peoples music. Can someone help me upgrade without losing my music??
    Thanks!!
    Ana

    From the initial details you give you should be able to upgrade to Mavericks / Yosemite, though you will need at least 4Gb (preferably 6Gb) of RAM .   If you are in the UK, talk to Crucial.com in order to clarify the correct memory to buy.
    But before you go this far you will need to purchase the 10.6.8 Snow Leopard DVD from the Apple on line store.   It will arrive as 10.6.3 and you will need to update it to 10.6.8.   This will give you the App store from where you can obtain your next upgrades.    But before buying, check out that your machine can accept your chosen OS.   I do not recommend LION 10.7.
    You will also need to decide if you can afford to lose certain programs you may have downloaded as many Leopard programs will not run on OSs above 10.6.8.

  • Help needed in creating a mail object

    Hi,
    is there any option to create a mail objcet in jsp ???
    i.e. the equivalent code to this asp object :
    Set myMail = CreateObject("CDONTS.NewMail");
    regards,
    ashvini

    Check out the JavaMail API. It is part of the Enterprise Edition, but I believe you can also download it seperately.

  • Spry Validation form objects

    I have just been looking at the Spry validation form objects
    like the textfileds and the checkboxes etc, and I like what I see,
    but I wandered how I might deal with them once filled in and the
    form is submitted.
    Currently, I create forms manually and then use the Yaromat
    Validate form which I think is really good. I create asp pages, so
    I programme my email forms to be submitted by CDONTS. Once the form
    is submitted it is then sent to a thank you page where the CDONTS
    code is sitting, and is formatted into an email and sent to the
    relevant email addresses.
    If I chose to use Spry validation instead of the Yaromat
    Check form, do I just carry on creating the CDONTS code on the
    thank you page as I would do normally in order for the email to be
    sent?
    Thanks
    Mat

    You can specify addional error locations. See this example: http://labs.adobe.com/technologies/spry/samples/validationwidgets/Single_error_message_onS ubmit.html

  • Improper code structure

    I am working on a jsp page and I am struggling with the proper way to indent my code. I know this is simple, but I just need a little direction first. If someone would be willing to show me how to format my code that would be most appreciated.
    <HTML>
    <HEAD>
    <TITLE>OakMapper Tree Submittal</TITLE>
    </HEAD>
    <BODY BGCOLOR="BBE4C6" TEXT="0E351A">
    <%@ page language="java" %>
    <!--Importing the Packages-->
    <%@ page import = "java.sql.*" %>
    <%
    String strEmail = null;
    String strSpecies = null;
    String strOther_Tree = null;
    String strBackground = null;
    String strBackgr = null;
    String strSetting = null;
    String strSettingoth = null;
    String strFrass = null;
    String strDead_Leave = null;
    String strCrown_Disc = null;
    String strBark_Disco = null;
    String strBore_Holes = null;
    String strShoot_Dieb = null;
    String strBleeding = null;
    String strHypoxylon = null;
    String strAddress = null;
    String strCity = null;
    String strZipcode = null;
    String strCounty = null;
    String strZone = null;
    String strY = null;
    String strX = null;
    String strFrass1 = null;
    String strDead_Leave1 = null;
    String strCrown_Disc1 = null;
    String strBark_Disco1 = null;
    String strBore_Holes1 = null;
    String strShoot_Dieb1 = null;
    String strBleeding1 = null;
    String strHypoxylon1 = null;
    %>
    <TABLE COL="3" WIDTH="100%" BORDER=0 CELLSPACING="0" CELLPADDING="0" NOWRAP>
    <TR>
    <TD WIDTH="130">
    <A HREF="http://oakmapper.espm.berkeley.edu/" TARGET="_blank">
    <IMG SRC="images/logo.gif" WIDTH="130" HEIGHT="130" BORDER=0></A>
    </TD>
    <TD ALIGN="CENTER">
    <IMG SRC="images/title_submittal.gif" BORDER=0>
    </TD>
    <TD WIDTH="198">
         <TABLE BORDER=0>
         <TR>
         <TD>
         <A HREF="http://www.suddenoakdeath.org/" TARGET="_blank">
         <IMG SRC="images/oaklogo_green.gif" WIDTH="198" HEIGHT="72" BORDER=0></A>
         </TD>
         </TR>
         <TR>
         <TD>  
         <A HREF="http://camfer.cnr.berkeley.edu/" TARGET="_blank">
         <IMG SRC="images/aboutcamfer.jpg" WIDTH="152" HEIGHT="65" BORDER=0></A>
         </TD>
         </TR>
         </TABLE>
    </TD>
    </TR>
    </TABLE>
    <TABLE CELLPADDING=5 BORDER=0>
    <TR HEIGHT="50"> 
    </TR>
    <TR>
    <TD WIDTH="100%"><FONT FACE="Arial" SIZE="-1">
    The University of California's Center for the Assessment and Monitoring of Forest and Environmental Resources (<A HREF="http://camfer.cnr.berkeley.edu/" TARGET="_blank">CAMFER</A>), along with the California Oak Mortality Task Force (<A HREF="http://www.suddenoakdeath.org/" TARGET="_blank">COMTF</A>), has developed the OakMapper Tree Submittal as a tool to assist in the monitoring of Sudden Oak Death (SOD) in California.
    <BR><BR> It is part of a large effort to document the distribution of Sudden Oak Death.  Please note, however, that trees submitted to this website represent <i>symptoms</i> of and <i>potential</i> distribution of SOD, and should not be assumed to be laboratory confirmations of SOD.
    <BR>
    <BR>
    In addition to submitting to the Tree Submittal, please contact your county's Cooperative Extension contact and/or Agricultural Commissioner's Office to notify them about your symptomatic tree.  For contact information, please see the <a href="http://www.cnr.berkeley.edu/comtf/pages/counties.html" target="_blank">County Contacts page</a>.
    <BR>
    <BR>
    For a printer-friendly PDF version of this form to print out to take with you to record symptoms, please download the <a href="OakMapper Tree Submittal.pdf" TARGET="_blank">OakMapper Tree Submittal</a>
    </FONT>
    </TD>
    </TR>
    </TABLE>
    <FORM method=post  ACTION=test.jsp >
    <FONT FACE="Arial" SIZE="-1">
    <TABLE CELLPADDING=4 BORDER=0>
    <TR>
    <TD WIDTH="20%" VALIGN="top"><FONT FACE="Garamond" SIZE="+2"><B>Tree<BR>Identification:</B></FONT>
    <BR><BR><FONT SIZE="-1">Enter information for a single specimen.  Select the tree that most closely resembles the affected tree.<BR><BR><B>Note: </B>Click on photo to view the <a href="http://elib.cs.berkeley.edu/calflora/" TARGET="_blank">CalFlora</a> ID Key.  For species other than those shown on the right, enter in the text box below.
    <BR><BR>Other Species:</FONT>
    <BR><INPUT TYPE="text" NAME="OTHER_TREE">
    </TD>
    <TD WIDTH="35">
    </TD>
    <TD>
         <TABLE CELLPADDING=4 BORDER=0>
         <TR>
         <TD ALIGN="center" VALIGN="middle">
         <A HREF="http://elib.cs.berkeley.edu/cgi/img_query?where-taxon=Quercus+agrifolia" TARGET="_blank">
         <IMG SRC="images/coastliveoak.jpg" BORDER=0 height=134 width=168></a>          </TD>
         <TD ALIGN="center" VALIGN="middle">
         <A HREF="http://elib.cs.berkeley.edu/cgi/img_query?where-taxon=Lithocarpus+densiflorus&special=calflora&where-anno=1" TARGET="_blank">
         <IMG SRC="images/tanoak.jpg" BORDER=0 height=134 width=168></a>
         </TD>
         <TD ALIGN="center" VALIGN="middle">
         <A HREF="http://elib.cs.berkeley.edu/cgi/img_query?where-taxon=Quercus+kelloggii&special=calflora&where-anno=1" TARGET="_blank">
         <IMG SRC="images/blackoak.jpg" BORDER=0 height=134 width=168></a>
         </TD>
         </TR>
         <TR>
         <TD ALIGN="center" VALIGN="top">
         <INPUT TYPE="radio" NAME="SPECIES" VALUE="Coast Live Oak"><B> Coast Live Oak</B>
         </TD>
         <TD ALIGN="center" VALIGN="top">
         <INPUT TYPE="radio" NAME="SPECIES" VALUE="Tanoak"><B> Tanoak</B>
         </TD>
         <TD ALIGN="center" VALIGN="top">
         <INPUT TYPE="radio" NAME="SPECIES" VALUE="Black Oak"><B> Black Oak</B>
         </TD>
         </TR>
         </TABLE>
    </TD>
    </TR>
    <TR HEIGHT="30"> 
    </TR>
    <TR>
    <TD WIDTH="20%" VALIGN="top"><FONT FACE="Garamond" SIZE="+2"><B>Personal<BR>Information:</B></FONT>
    <BR><BR><FONT SIZE="-1">Please select the option below which best describes your background in arboricultural, forestry or pest management sciences.</FONT>
    </TD>
    <TD WIDTH="35">
    </TD>
    <TD>
    <INPUT TYPE="radio" NAME="BACKGROUND" VALUE="None"><B> None</B>
    <BR><INPUT TYPE="radio" NAME="BACKGROUND" VALUE="Limited"><B> Limited</B>
    <BR><INPUT TYPE="radio" NAME="BACKGROUND" VALUE="Hobbiest"><B> Hobbiest</B>
    <BR><INPUT TYPE="radio" NAME="BACKGROUND" VALUE="Academic"><B> Academic but not professional</B>
    <BR><INPUT TYPE="radio" NAME="BACKGROUND" VALUE="Professional"><B> Professional</B>
    <BR><INPUT TYPE="radio" NAME="BACKGROUND" VALUE="Other"><B> Other</B>
    <BR>      <INPUT TYPE="text" NAME="BACKGR">
    </TD>
    </TR>
    <TR HEIGHT="30"> 
    </TR>
    <TR>
    <TR>
    <TD WIDTH="20%" VALIGN="top"><FONT FACE="Garamond" SIZE="+2"><B>Environmental<BR>Setting:</B></FONT>
    <BR><BR><FONT SIZE="-1">Please select a description which most closely matches the environmental setting of the specimen.</FONT>
    </TD>
    <TD WIDTH="35">
    </TD>
    <TD>
    <INPUT TYPE="radio" NAME="SETTING" VALUE="None"><B> Residential area - landscaped</B><BR><FONT SIZE="-1">      (scattered shade trees, watered lawn, or garden)</FONT>
    <BR><INPUT TYPE="radio" NAME="SETTING" VALUE="Residential"><B> Residential area - natural setting</B><BR><FONT SIZE="-1">      (not watered or landscaped, native or naturalized </FONT>plants)
    <BR><INPUT TYPE="radio" NAME="SETTING" VALUE="Street trees"><B> Street trees</B>
    <BR><INPUT TYPE="radio" NAME="SETTING" VALUE="Natural"><B> Natural setting right of way trees</B><BR><FONT SIZE="-1">      (not watered or landscaped, native or naturalized </FONT>plants)</FONT>
    <BR><INPUT TYPE="radio" NAME="SETTING" VALUE="Landscaped park"><B> Landscaped park setting</B><BR><FONT SIZE="-1">      (scattered shade trees, watered lawn, or garden)</FONT>
    <BR><INPUT TYPE="radio" NAME="SETTING" VALUE="Natural oak woodland"><B> Natural oak woodland setting</B><BR><FONT SIZE="-1">      (Live Oak, Valley Oak, Bay, Black Oak)</FONT>
    <BR><INPUT TYPE="radio" NAME="SETTING" VALUE="Natural forest"><B> Natural forest setting</B><BR><FONT SIZE="-1">      (e.g., Redwood, Douglas-fir, or Tanoak composition)</FONT>
    <BR><INPUT TYPE="radio" NAME="SETTING" VALUE="Other"><B> Other/Additional</B><BR><FONT SIZE="-1">      (please provide brief description below):</FONT>
    <BR>      <INPUT TYPE="text" NAME="SETTINGOTH">
    </TD>
    </TR>
    <TR HEIGHT="30"> 
    </TR>
    <TR>
    <TD WIDTH="20%" VALIGN="top"><FONT FACE="Garamond" SIZE="+2"><B>Symptoms:</B></FONT>
    <BR><BR><FONT SIZE="-1">These images illustrate the symptoms that are typically caused by the pathogen affecting the oak and tanoak trees.  Please compare these images carefully with symptoms you have observed, then check the corresponding check boxes below to provide descriptive information on the specimen.
    <BR><BR><B>Note:</B> Click on the thumbnails to view larger version of Photo and written description.</FONT>
    </TD>
    <TD WIDTH="35">
    </TD>
    <TD>
         <TABLE CELLPADDING=4 BORDER=0>
         <TR>
         <TD ALIGN="center" VALIGN="middle">
         <A HREF="http://oakmapper.espm.berkeley.edu/oaks/submittal/symptoms/seeping.htm" BORDER=0 TARGET="_blank">
         <IMG SRC="images/seeping.jpg" BORDER=0 height=147 width=140></a>
         </TD>
         <TD ALIGN="center" VALIGN="middle">
         <A HREF="http://oakmapper.espm.berkeley.edu/oaks/submittal/symptoms/barkdiscoloration.htm" BORDER=0 TARGET="_blank">
         <IMG SRC="images/bleeding.jpg" BORDER=0 height=147 width=140></a>
         </TD>
         <TD ALIGN="center" VALIGN="middle">
         <A HREF="http://oakmapper.espm.berkeley.edu/oaks/submittal/symptoms/crowndiscoloration.htm" BORDER=0 TARGET="_blank">
         <IMG SRC="images/crowndiscoloration.jpg" BORDER=0 height=147 width=140></a>
         </TD>
         </TR>
         <TR>
         <TD ALIGN="center" VALIGN="top">
         <INPUT TYPE="checkbox" NAME="BLEEDING" VALUE="-1"><B> Seeping</B>
         </TD>
         <TD ALIGN="center" VALIGN="top">
         <INPUT TYPE="checkbox" NAME="BARK_DISCO" VALUE="-1"><B> Bark discoloration</B>
         </TD>
         <TD ALIGN="center" VALIGN="top">
         <INPUT TYPE="checkbox" NAME="CROWN_DISC" VALUE="-1"><B> Crown discoloration (except deciduous)</B>
         </TD>
         </TR>
         <TR>
         </TR>
         <TR>
         <TD ALIGN="center" VALIGN="middle">
         <A HREF="http://oakmapper.espm.berkeley.edu/oaks/submittal/symptoms/deadleaves.htm" TARGET="_blank">
         <IMG SRC="images/deadleaves.jpg" BORDER=0 height=147 width=140></a>
         </TD>
         <TD ALIGN="center" VALIGN="middle">
         <A HREF="http://oakmapper.espm.berkeley.edu/oaks/submittal/symptoms/shootdieback.htm" BORDER=0 TARGET="_blank">
         <IMG SRC="images/shootdieback.jpg" BORDER=0 height=147 width=140></a>
         </TD>
         <TD ALIGN="center" VALIGN="middle">
         <A HREF="http://oakmapper.espm.berkeley.edu/oaks/submittal/symptoms/hypoxylon.htm" BORDER=0 TARGET="_blank">
         <IMG SRC="images/hypoxylon.jpg" BORDER=0 height=147 width=140></a>
         </TD>
         </TR>
         <TR>
         <TD ALIGN="center" VALIGN="top">
         <INPUT TYPE="checkbox" NAME="DEAD_LEAVE" VALUE="-1"><B> Numerous brown<BR>(dead) leaves</B>
         </TD>
         <TD ALIGN="center" VALIGN="top">
         <INPUT TYPE="checkbox" NAME="SHOOT_DIEB" VALUE="-1"><B> Shoot die-back</B>
         </TD>
         <TD ALIGN="center" VALIGN="top">
         <INPUT TYPE="checkbox" NAME="HYPOXYLON" VALUE="-1"><B> Fungus (Hypoxylon)</B>
         </TD>
         </TR>
         <TR>
         </TR>
         <TR>
         <TD ALIGN="center" COLSPAN="3">
              <TABLE CELLPADDING=7 BORDER=0>
              <TR>
              <TD ALIGN="center" VALIGN="middle">
              <A HREF="http://oakmapper.espm.berkeley.edu/oaks/submittal/symptoms/frass.htm" TARGET="_blank">
              <IMG SRC="images/frass.jpg" BORDER=0 height=147 width=140></a>
              </TD>
              <TD ALIGN="center" VALIGN="middle">
              <A HREF="http://oakmapper.espm.berkeley.edu/oaks/submittal/symptoms/boreholes.htm" TARGET="_blank">
              <IMG SRC="images/boreholes.jpg" BORDER=0 height=147 width=140></a>
              </TD>
              </TR>
              <TR>
              <TD ALIGN="center" VALIGN="top">
              <INPUT TYPE="checkbox" NAME="FRASS" VALUE="-1"><B> Beetle frass<BR>("saw dust")</B>
              </TD>
              <TD ALIGN="center" VALIGN="top">
              <INPUT TYPE="checkbox" NAME="BORE_HOLES" VALUE="-1"><B> Beetle bore holes</B>
              </TD>
              </TR>
              </TABLE>
         </TD>
         </TR>
         </TABLE>
    </TR>
    <TR HEIGHT="30"> 
    </TR>
    <TR>
         <TR>
         <TD WIDTH="20%" VALIGN="top"><FONT FACE="Garamond" SIZE="+2"><B>Tree Location:</B></FONT>
         <BR><BR><FONT SIZE="-1">Enter the street address OR the XY location of the tree (see example below).
         <BR><BR><B>Note:</B> All street addresses and emails are kept completely confidential.</FONT>
         </TD>
         <TD WIDTH="35">
         </TD>
         <TD>
         <BR><B><U>Street Address</U> (preferred)</B>
         <BR>
         <BR><B>Complete Street Address or nearest intersection:</B>
         <BR><INPUT TYPE="text" NAME="ADDRESS">  <FONT SIZE="-1">Example: 2011 Francisco St., or Francisco St. & Park Ave.</FONT>
         <BR>
         <BR><B>City Name:</B>
         <BR><INPUT TYPE="text" NAME="CITY">  <FONT SIZE="-1">Example: Berkeley</FONT>
         <BR>
         <BR><B>Zip Code:</B>
         <BR><INPUT TYPE="text" NAME="ZIPCODE">  <FONT SIZE="-1">Example: 94709</FONT>
         <BR>
         <BR><B>County:</B>
         <BR><INPUT TYPE="text" NAME="COUNTY">  <FONT SIZE="-1">Example: Alameda</FONT>
         <BR>
         <BR>
         <BR><B><U>XY Coordinates</U> (optional if address is entered above)</B>
         <BR>
         <BR>If entering an XY location, use either State Plan or latitude/longitude coordinates.
         <BR>Examples of both types of acceptable projections:
         <BR>
         <BR>CA STATE PLANE include the zone, and please use Datum = NAD83, and units = meters:
         <BR>X coordinate --> 5973541.75
         <BR>Y coordinate --> 2238728.00
         <BR>
         <BR>LATITUDE / LONGITUDE:
         <BR>Latitude --> 38-22-15
         <BR>Longitude --> -122-30-29
         <BR>
         <BR><B>X Coordinate:</B>
         <BR><INPUT TYPE="text" NAME="X">  <FONT SIZE="-1">Example: 5983541.75 (State Plane), or -122-30-29 (Longitude)</FONT>
         <BR>
         <BR><B>Y Coordinate:</B>
         <BR><INPUT TYPE="text" NAME="Y">  <FONT SIZE="-1">Example: 2238728.00 (State Plane), or 38-22-15 (Latitude)</FONT>
         <BR>
         <BR><B>California State Plane Zone:</B>
         <BR><INPUT TYPE="text" NAME="ZONE">  <FONT SIZE="-1">Example: III (for a listing of zones by county, go <a href="http://www.pipeline.com/%7Erking/spc.htm#CA" TARGET="_blank">here</a>)</FONT>
         <BR>
         <BR>
         <BR>
         <BR>
         <BR>Please enter your e-mail for possible follow-up and mailing of submission receipt (mailing and e-mail addresses are kept completely confidential):
         <BR><B>E-mail Address:</B>
         <BR><INPUT TYPE="text" NAME="EMAIL">  <FONT SIZE="-1">Example: [email protected]</FONT>
         </TD>
         </TR>
         </TABLE>
    </TR>
    </TABLE>
    <TABLE ALIGN="CENTER" BORDER=0 WIDTH="60%">
    <TR>
    <TD ALIGN="CENTER">
    Please note that by submitting this information, you agree to let us map your site on our Sudden Oak Death distribution map and browser as a point within 1 mile of the site.  Your address will NOT be released and will only be used for general locating the symptomatic tree.
    </TD>
    </TR>
    <TR HEIGHT="40"> 
    </TR>
    <TR>
    <TD ALIGN="CENTER"><B><BR>
    <BR>Thank you very much for your submittal!</B>
    </TD>
    </TR>
    <BR>
    <BR>
    <TABLE ALIGN="center" WIDTH="60%" BORDER="0">
    <TR><TD ALIGN="center">
    <BR>
    In addition, please contact your county's Cooperative Extension contact and/or Agricultural Commissioner's Office to notify them about your symptomatic tree.
    <BR>
    <BR>For contact information, please see the <a href="http://www.cnr.berkeley.edu/comtf/pages/counties.html" target="_blank">County Contacts page</a>.
    <BR>
    <BR>
    <TR HEIGHT="50"> 
    </TR>
    </TABLE>
    <CENTER><INPUT TYPE="Submit" NAME="SUBMIT" VALUE="Submit Tree"></CENTER><BR>
    </FORM>
    </TD></TR></TABLE>
    <%
    //Creating Database Instanse
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    Connection con = DriverManager.getConnection("jdbc:odbc:SuddenOak","","");
    //Creating the Connection Statement
    Statement statement = con.createStatement();
    ResultSet recset = statement.executeQuery("Select * From Treesubmittals where SubmissionID>0");
    %>
    <%
    if (strEmail !="") {
    statement.executeUpdate("INSERT INTO Treesubmittal.EMAIL" + request.getParameter("strEmail"));
    statement.executeUpdate("INSERT INTO Treesubmittal.GEOCODED Pending");
    statement.executeUpdate("INSERT INTO Treesubmittal.DATE_ENTER Date");
    if (strSpecies !="") {
    statement.executeUpdate("INSERT INTO Treesubmittal.SPECIES" + request.getParameter("strSpecies"));
    if (strOther_Tree !=""); {
    statement.executeUpdate("INSERT INTO Treesubmittal.OTHER_TREE" + request.getParameter("strOther_Tree"));
    if (strBackground !="") ;{
    statement.executeUpdate("INSERT INTO Treesubmittal.BACKGROUND" + request.getParameter("strBackground"));
    if (strBackgr !=""); {
    statement.executeUpdate("INSERT INTO Treesubmittal.BACKGR" + request.getParameter("strBackgr"));
    if (strSetting !=""); {
    statement.executeUpdate("INSERT INTO Treesubmittal.SETTING" + request.getParameter("strSetting"));
    if (strSettingoth !=""); {
    statement.executeUpdate("INSERT INTO Treesubmittal.SETTINGOTH" + request.getParameter("strSettingoth"));
    if (strDead_Leave !="") {
    statement.executeUpdate("INSERT INTO Treesubmittal.DEAD_LEAVE Yes");
    if (strCrown_Disc !="") {
    statement.executeUpdate("INSERT INTO Treesubmittal.CROWN_DISC Yes");
    if (strBark_Disco !="") {
    statement.executeUpdate("INSERT INTO Treesubmittal.BARK_DISCO Yes");
    if (strBore_Holes !="") {
    statement.executeUpdate("INSERT INTO Treesubmittal.BORE_HOLES Yes");
    if (strShoot_Dieb !="") {
    statement.executeUpdate("INSERT INTO Treesubmittal.SHOOT_DIEB Yes");
    if (strBleeding !="") {
    statement.executeUpdate("INSERT INTO Treesubmittal.BLEEDING Yes");
    if (strHypoxylon !="") {
    statement.executeUpdate("INSERT INTO Treesubmittal.HYPOXYLON Yes");
    if (strFrass !="") {
    statement.executeUpdate("INSERT INTO Treesubmittal.FRASS Yes");
    if (strAddress !="") {
    statement.executeUpdate("INSERT INTO Treesubmittal.ADDRESS" + request.getParameter("strAddress"));
    if (strCity !="") {
    statement.executeUpdate("INSERT INTO Treesubmittal.CITY" + request.getParameter("strCity"));
    if (strZipcode !="") {
    statement.executeUpdate("INSERT INTO Treesubmittal.ZIPCODE" + request.getParameter("strZipcode"));
    if (strCounty !="") {
    statement.executeUpdate("INSERT INTO Treesubmittal.COUNTY" + request.getParameter("strCounty"));
    if (strZone !="") {
    statement.executeUpdate("INSERT INTO Treesubmittal.ZONE" + request.getParameter("strZone"));
    if (strY !="") {
    statement.executeUpdate("INSERT INTO Treesubmittal.Y" + request.getParameter("strY"));
    if (strX !="") {
    statement.executeUpdate("INSERT INTO Treesubmittal.X" + request.getParameter("strX"));
    if (strDead_Leave !="") {
    strDead_Leave1="Yes";
    else{
    strDead_Leave1="No";
    if (strCrown_Disc !="") {
    strCrown_Disc1="Yes";
    else{
    strCrown_Disc1="No";
    if (strBark_Disco !="") {
    strBark_Disco1="Yes";
    else{
    strBark_Disco1="No";
    if (strBore_Holes !="") {
    strBore_Holes1="Yes";
    else{
    strBore_Holes1="No";
    if (strShoot_Dieb !="") {
    strShoot_Dieb1="Yes";
    else{
    strShoot_Dieb1="No";
    if (strBleeding !="") {
    strBleeding1="Yes";
    else{
    strBleeding1="No";
    if (strHypoxylon !="") {
    strHypoxylon1="Yes";
    else{
    strHypoxylon1="No";
    if (strFrass !="") {
    strFrass1="Yes";
    else{
    strFrass1="No";
    %>
    <BR>
    <BR>
    <BR>
    <BR>
    <BR>
    <CENTER>
    <font face="Arial,Helvetica">You are person #<IMG SRC="http://counter.digits.com/wc/-r/-d/4/-c/2/-f/0E351A/-b/F4F4FF/-e/F4F4FF/OakMapper2" ALIGN=absmiddle WIDTH=60 HEIGHT=20 BORDER=0> to access the OakMapper Tree Submittal since we began counting on February 15, 2002.
    <BR><BR>
    Provided by </FONT><A HREF="http://www.digits.com" target="_blank"><IMG SRC="wc-01.gif" ALIGN=absmiddle WIDTH=75 HEIGHT=20 BORDER=0></A>
    </center>
    <BR>
    <BR>
    <CENTER>
    <HR WIDTH="85%">
    <p><font color="#0E351A"><font face="Arial, Helvetica, sans-serif"><a href="http://camfer.cnr.berkeley.edu/oaks/" TARGET="_blank">Oaks
    Research Home</a></font> | <font face="Arial"><a href="http://www.suddenoakdeath.org/" TARGET="_blank">California
    Oak Mortality Task Force</a></font> | <font face="Arial, Helvetica, sans-serif"><a href="http://camfer.cnr.berkeley.edu/" TARGET="_blank">CAMFER
    Home</a></font></font>
    <br>
    <br>
    <br><font face="Arial, Helvetica, sans-serif"><font size=-2>For questions,
    comments or problems concerning this web site, please contact Karin Tuxen
    at: <a href="mailto:[email protected]">[email protected]</a></font></font>
    </center>
    <%
    out.println("Thank you for submitting to the OakMapper Tree Submittal.  " + "<BR>" + "<BR>");
    out.println("In addition, please contact your county's Cooperative Extension contact and/or Agricultural Commissioner's Office.  " + "<BR>" + "For contact information, please see http://www.cnr.berkeley.edu/comtf/pages/counties.html" + "<BR>" + "<BR>");
    out.println("Below is a summary of your submittal:" +"<BR>" + "Tree species = " + recset.getString("strSpecies") + "<BR>" + "Other tree species = " + recset.getString("strOther_Tree") + "<BR>");
    out.println("Background in arboricultural, forestry or pest management sciences = " + recset.getString("strBackground") + "<BR>" + "Other background, if applicable = " + recset.getString("strBackgr") + "<BR>");
    out.println("Environmental Setting = " + recset.getString("strSetting") + "<BR>" + "Other background, if applicable = " + recset.getString("strSettingoth") + "<BR>" + "Seeping = " + recset.getString("strBleeding") + "<BR>");
    out.println("Bark discoloration = " + recset.getString("strBark_Disco1") + "<BR>" + "Crown discoloration = " + recset.getString("strCrown_Disc1") + "<BR>" + "Numerous brown dead leaves = " + recset.getString("strDead_Leave1") + "<BR>");
    out.println("Shoot die-back = " + recset.getString("strShoot_Dieb1") + "<BR>" + "Fungus - Hypoxylon = " + recset.getString("strHypoxylon1") + "<BR>" + "Beetle frass = " + recset.getString("strFrass1") + "<BR>" + "Beetle bore holes = " + recset.getString("strBore_Holes1")  + "<BR>");
    out.println("Address - this will be kept completely confidential = " + recset.getString("strAddress") + "<BR>" + "City = " + recset.getString("strCity") + "<BR>" + "Zip Code = " + recset.getString("strZipCode") + "<BR>" + "County = " + recset.getString("strCounty") + "<BR>");
    out.println("Zone = " + recset.getString("strZone") + "<BR>" + "X coordinate = " + recset.getString("strX") + "<BR>" + "Y coordinate = " + recset.getString("strY") + "<BR>");
    //I am little unsure how to update the CDONTS.NewMail
    //Set objNewReceipt = Server.CreateObject("CDONTS.NewMail")
    //objNewReceipt.From = "[email protected]"
    //objNewReceipt.To = strEMAIL
    //objNewReceipt.Bcc = "[email protected]"
    //objNewReceipt.Subject = "Thank you for submitting to the OakMapper!"
    //objNewReceipt.Body = strBody
    //objNewReceipt.Send
    //Response.Redirect "result.htm"
    %>
    </body>
    </html>

    First, when declaring multiple variables of the same type, rather than..
    String blah="";
    String blah2="";
    Use:
    String blah="", blah2="";
    And typically you <tab> in once for each layer in a loop or table, etc(the further you go in, the more you <tab> in)..for example:
    <TABLE COL="3" WIDTH="100%" BORDER=0>
    <TR>
    <TD> </TD>
    </TR>
    </TABLE>
    To save space, you can put <tr> on the front and end of whatever line you're editing, so you can cut down on the number of lines..
    <BR>Some content in here<BR>
    Hope that helps!
    -Adam

  • Order Confirmation Emails -

    Hi All.
    I have an orderconfirmation page that sends out an email to
    both the
    customer and myself.
    The page uses an include that sets the details for CDONTS and
    also the body
    of the email (see code below)
    All works fine, but now i want to send two versions of the
    confirmation
    email, one to the customer and one to myself. The reason for
    the need for
    two versions is that my version will have, in addition, a
    simple table with
    boder to allow me to add notes for processing reasons.
    When i put two includes on the order confirmation page (one
    for each email)
    only one is executed!! - and it's always the second include.
    I have to admit that im not too familiar with using
    functions, so i'm not
    even sure if this is possible.
    Please see code below:
    OrderConfirmation.asp
    <!--#include file="functions_email_ourcopy.asp" -->
    <!--#include file="functions_email.asp" -->
    <%
    SendEmail CustomersRS("CustomerEmail")
    %>
    Functions_email_ourcopy.asp
    <%
    'Start the functions
    function SendEmail(c)
    Set objMail = Server.CreateObject("CDONTS.NewMail")
    objMail.From = "[email protected]"
    objMail.To = c
    objMail.Bcc = ""
    objMail.CC = "" 'Maybe send a CC to your sales office
    objMail.Subject = "Order from Website"
    objMail.Body = Mailbody
    objMail.MailFormat=0
    objMail.BodyFormat=0
    objMail.Send
    Set objMail = Nothing
    end function
    function SiteRoot
    'This function tries to ascertain the site root. If it's
    wrong, enter your
    own manually
    CurrentPage=Request.ServerVariables("SCRIPT_NAME")
    SiteRoot="
    http://" &
    Request.ServerVariables("SERVER_NAME") &
    left(CurrentPage,instrrev(CurrentPage,"/"))
    end function
    Function Mailbody
    'on error resume next
    Set objXML = Server.CreateObject("MSXML2.ServerXMLHTTP")
    ' Call the remote machine the request
    objXML.open "POST", SiteRoot & "email_ourcopy.asp", False
    objXML.SetRequestHeader "Content-Type",
    "application/x-www-form-urlencoded"
    objXML.send("OrderID=" & OrderID)
    ' return the response
    Mailbody = objXML.responsetext
    ' clean up
    Set objXML = Nothing
    End Function
    %>
    Functions_email.asp
    <%
    'Start the functions
    function SendEmail(c)
    Set objMail = Server.CreateObject("CDONTS.NewMail")
    objMail.From = "[email protected]"
    objMail.To = c
    objMail.Bcc = ""
    objMail.CC = "" 'Maybe send a CC to your sales office
    objMail.Subject = "Order from Test4Less Website Customer
    Copy"
    objMail.Body = Mailbody
    objMail.MailFormat=0
    objMail.BodyFormat=0
    objMail.Send
    Set objMail = Nothing
    end function
    function SiteRoot
    'This function tries to ascertain the site root. If it's
    wrong, enter your
    own manually
    CurrentPage=Request.ServerVariables("SCRIPT_NAME")
    SiteRoot="
    http://" &
    Request.ServerVariables("SERVER_NAME") &
    left(CurrentPage,instrrev(CurrentPage,"/"))
    end function
    Function Mailbody
    'on error resume next
    Set objXML = Server.CreateObject("MSXML2.ServerXMLHTTP")
    ' Call the remote machine the request
    objXML.open "POST", SiteRoot & "email.asp", False
    objXML.SetRequestHeader "Content-Type",
    "application/x-www-form-urlencoded"
    objXML.send("OrderID=" & OrderID)
    ' return the response
    Mailbody = objXML.responsetext
    ' clean up
    Set objXML = Nothing
    End Function
    %>

    Hey - Thanks Dooza
    I will be working on this tomorrow and report back - much
    appreciated
    Regards
    Andy
    "Dooza" <[email protected]> wrote in message
    news:gkpufc$d2e$[email protected]..
    > Andy wrote:
    >> Hi All.
    >> I have an orderconfirmation page that sends out an
    email to both the
    >> customer and myself.
    >> The page uses an include that sets the details for
    CDONTS and also the
    >> body of the email (see code below)
    >> All works fine, but now i want to send two versions
    of the confirmation
    >> email, one to the customer and one to myself. The
    reason for the need for
    >> two versions is that my version will have, in
    addition, a simple table
    >> with boder to allow me to add notes for processing
    reasons.
    >>
    >> When i put two includes on the order confirmation
    page (one for each
    >> email) only one is executed!! - and it's always the
    second include.
    >> I have to admit that im not too familiar with using
    functions, so i'm not
    >> even sure if this is possible.
    >
    > You are including the same function twice, then only
    sending one, the
    > second time you include the function it overwrites the
    first, so when you
    > call it, it only sends to the second one.
    >
    > The solution? Rename the function in the second one,
    then call it after
    > you call the first one.
    >
    > <!--#include file="functions_email_ourcopy.asp"
    -->
    > <!--#include file="functions_email.asp" -->
    > <%
    > SendEmail CustomersRS("CustomerEmail")
    > SendEmail2 CustomersRS("CustomerEmail")
    > %>
    >
    > You might end up with the same content in both, as you
    have another
    > function called Mailbody that is defined twice, so you
    may need to rename
    > that, and where it is called as well.
    >
    > Dooza

  • Struggling with SMTP and classic ASP application

    I have a classic ASP application that I'm moving from 2003 to 2012. On 2003 it used CDONTS to send email, as this is not supported I am converting it to CDOSYS as follows;
    Dim ObjSendMail
    Dim iConf
    Dim Flds
    Set ObjSendMail = Server.CreateObject("CDO.Message")
    Set iConf = Server.CreateObject("CDO.Configuration")
    Set Flds = iConf.Fields
    With Flds
    .Item(cdoSendUsingMethod) = 2
    .Item(cdoSMTPusessl) = 1
    .Item(cdoSMTPServer) = "xxxx.xxxx.net"
    .Item(cdoSendUserName) = "[email protected]"
    .Item(cdoSendPassword) = "xxxxxx"
    .Item(cdoSMTPServerPort) = 6000
    .Item(cdoSMTPconnectiontimeout) = 30
    .Update
    End With
    Set ObjSendMail.Configuration = iConf
    Set ObjSendMail.Configuration = iConf
    ObjSendMail.To = request.form("Supplier_Email")
    ObjSendMail.Subject = "order from "&buname
    ObjSendMail.From = request.form("copy")
    ' we are sending a text email.. simply switch the comments around to send an html email instead
    ObjSendMail.HTMLBody = request.form("email_body")
    'ObjSendMail.TextBody = "this is the body"
    ObjSendMail.Send
    However, it worked fine on 2003 but I get 
    CDO.Message.1 error '80040213'
    The transport failed to connect to the server. on the send.
    I think it's a problem with the SMTP configuration, but I don;t know how to check it.
    Any ideas?
    Regards
    Pete

    Hi,
    As this thread has been quiet for a while, we will mark it as ‘Answered’ as the information provided should be helpful. If you need further help, please feel free to reply this post directly so we will be notified to follow it up. You can also choose to unmark
    the answer as you wish.
    BTW, we’d love to hear your feedback about the solution. By sharing your experience you can help other community members facing similar problems. Thanks for your understanding and efforts.
    Best
    regards,
    Susie

  • Error in ASP Form

    Hi
    I have put a very basic .asp form to mail on a contact page
    but when the form is processed, the only info received are the
    labels (i.e. Email Address, Name, Message etc.) but no actual
    content. There is obviously an error in the code somewhere. I'd be
    grateful for some asp wizard to give me a few pointers.
    Thanks
    martin
    The form
    <form action="confirmation.asp" method="post"
    name="YourFormName" id="YourFormName">
    <table>
    <tr>
    <td>Email: </td>
    <td><input type="text" name="Email" size="50"
    /></td>
    </tr>
    <tr>
    <td>First Name: </td>
    <td><input type="text" name="FirstName" size="50"
    /></td>
    </tr>
    <tr>
    <td>Last Name: </td>
    <td><input type="text" name="LastName" size="50"
    /></td>
    </tr>
    <tr>
    <td>Subject: </td>
    <td><input type="text" name="Subject" size="50"
    /></td>
    </tr>
    <tr>
    <td>Message:</td>
    <td><textarea name="Comments" cols="40"
    rows="5"></textarea></td>
    </tr>
    </table>
    <input type="submit" name="Submit" value="Submit Form"
    />
    </form>
    The server Script
    <body><%
    DIM strEmail, strName, strMessage, mail, reply, objMail
    strEmail = request.form("Email")
    strName = request.form("Name")
    strMessage = request.form("Message")
    mail = "[email protected]"
    reply = request.form("Email")
    Set objMail = Server.CreateObject("CDONTS.NewMail")
    objMail.From = reply
    objMail.Subject = "Contact from website"
    objMail.To = mail
    objMail.Body = "Email: " & strEmail & vbCrLf & _
    "Name: " & strName & vbCrLf & _
    "Message: " & vbCrLf & strMessage
    objMail.Send
    Set objMail = nothing
    %>
    <P>
    <%
    strName = request.form("Name")
    Response.Write strName
    %>
    </P>
    <div align="center"><P class="thankyou">Thank you
    for your email. <br/>
    We will be in touch shortly.</P>
    </div>

    Oh yea, missed that; stated element name and requested don't
    match.
    "Murray *ACE*" <[email protected]> wrote
    in message
    news:[email protected]...
    > <body><%
    > DIM strEmail, strName, strMessage, mail, reply, objMail
    > strEmail = request.form("Email")
    > strName = request.form("FirstName") & " " &
    request.form("LastName")
    > strMessage = request.form("Comments")
    >
    > mail = "[email protected]"
    > reply = request.form("Email")
    > Set objMail = Server.CreateObject("CDONTS.NewMail")
    > objMail.From = reply
    > objMail.Subject = "Contact from website" & "--"
    & request.form("Subject")
    > objMail.To = mail
    > objMail.Body = "Email: " & strEmail & vbCrLf
    > "Name: " & strName & vbCrLf & _
    > "Message: " & vbCrLf & strMessage
    >
    > objMail.Send
    > Set objMail = nothing
    > %>
    >
    >
    > --
    > Murray --- ICQ 71997575
    > Adobe Community Expert
    > (If you *MUST* email me, don't LAUGH when you do so!)
    > ==================
    >
    http://www.dreamweavermx-templates.com
    - Template Triage!
    >
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    >
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    >
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    > ==================
    >
    >
    > "martinstan" <[email protected]> wrote
    in message
    > news:[email protected]...
    >> Hi
    >> I have put a very basic .asp form to mail on a
    contact page but when the
    >> form
    >> is processed, the only info received are the labels
    (i.e. Email Address,
    >> Name,
    >> Message etc.) but no actual content. There is
    obviously an error in the
    >> code
    >> somewhere. I'd be grateful for some asp wizard to
    give me a few pointers.
    >> Thanks
    >> martin
    >>
    >> The form
    >>
    >> <form action="confirmation.asp" method="post"
    name="YourFormName"
    >> id="YourFormName">
    >> <table>
    >> <tr>
    >> <td>Email: </td>
    >> <td><input type="text" name="Email"
    size="50" /></td>
    >> </tr>
    >> <tr>
    >> <td>First Name: </td>
    >> <td><input type="text" name="FirstName"
    size="50" /></td>
    >> </tr>
    >> <tr>
    >> <td>Last Name: </td>
    >> <td><input type="text" name="LastName"
    size="50" /></td>
    >> </tr>
    >> <tr>
    >> <td>Subject: </td>
    >> <td><input type="text" name="Subject"
    size="50" /></td>
    >> </tr>
    >> <tr>
    >> <td>Message:</td>
    >> <td><textarea name="Comments" cols="40"
    rows="5"></textarea></td>
    >> </tr>
    >> </table>
    >> <input type="submit" name="Submit" value="Submit
    Form" />
    >> </form>
    >>
    >> The server Script
    >>
    >> <body><%
    >> DIM strEmail, strName, strMessage, mail, reply,
    objMail
    >> strEmail = request.form("Email")
    >> strName = request.form("Name")
    >> strMessage = request.form("Message")
    >>
    >> mail = "[email protected]"
    >> reply = request.form("Email")
    >> Set objMail = Server.CreateObject("CDONTS.NewMail")
    >> objMail.From = reply
    >> objMail.Subject = "Contact from website"
    >> objMail.To = mail
    >> objMail.Body = "Email: " & strEmail & vbCrLf
    >> "Name: " & strName & vbCrLf & _
    >> "Message: " & vbCrLf & strMessage
    >>
    >> objMail.Send
    >> Set objMail = nothing
    >> %>
    >>
    >> <P>
    >> <%
    >> strName = request.form("Name")
    >> Response.Write strName
    >> %>
    >> </P>
    >>
    >> <div align="center"><P
    class="thankyou">Thank you for your email. <br/>
    >> We will be in touch shortly.</P>
    >> </div>
    >>
    >
    >

  • Send mail in a certain way

    Hello:
    I need to send emails by groups including some magazine with
    Director, like
    magazine GamaSutra Daily.
    It seems like a web page inserted in the client mailing
    software (outlook
    Express,...)
    Can you tell me how to do this with Lingo, please?
    Thank you very much

    Hi Anne,
    Do you want to send the email directly from the projector or
    are you just looking to trigger the user’s email client and
    possibly pre-populate the header and body?
    Triggering the user’s email client and pre-populating
    the content is easy, just use gotoNetPage
    “mailto:email1;email2&cc=email3?subject=Subject%20Test&body=Body%20Test”
    Where email1, 2, 3 are valid email addresses. If you’ve
    got BuddyAPI, baOpenURL works better because it doesn’t
    trigger the browser along with the email client. The problem with
    these approaches is that I don’t think you can overwrite the
    content-type header to send HTML. I could be wrong but you’ll
    have to do some research on mailto protocol parameters.
    Sending email from a projector without an xtra is difficult
    (even with an xtra it’s tricky). We did a lot of research for
    a big project where users in a variety of corporate environments
    would send HTML formatted emails written dynamically by Director
    back to a central email address. Of the xtras we tested,
    DirectEmail Xtra came the closest to meeting our needs (
    http://www.directxtras.com),
    it worked in about 95% of our test cases … problems arose
    when very restrictive IT departments using Microsoft Exchange
    Server closed off port 25 (the xtra has a method to switch ports
    but your mail server is unlikely to be listening to anything other
    than 25)
    You’ve got several choices without an xtra, you can
    send an email string to an ASP script which in turn sends the email
    using CDONTS … works OK if you don’t need to deal with
    attachments, another option is to build a MAPI interface to
    Outlook, however, this option is riddled with difficulties. To
    start with, all of your users must have Outlook, further; we found
    the only stable implementation of MAPI was in Outlook Express
    6,stability issues get worse (due to security protections) with
    more recent versions of Outlook. Microsoft claims Outlook 2007 has
    improved the situation but we gave up trying long ago.

Maybe you are looking for

  • Query for list of tables

    Hi Gurus, I have a requirement, i have one server on which i have got 20 DB and now i want to list those 20 DB and the count of total tables on each DB and the last login date on each DB. How can i do that? i was trying the below one but in vain. EXE

  • Billing Issue

    Hi All Need a clarification relating to Billing: Scenario: Client is in Real Estate business where he collects the Sale consideration in installments; say 10% Down Payment and balance in 7-8 installments, which could go into the next Funancial Year.

  • Downloading Safari For Windows On A Mac?

    Is there a way that you can download the Windows version of the Safari installer while using a Mac? Every time I try, it takes me to the Mac page with only options to download for Tiger or Leopard.

  • Loss in pdf output quality

    Hello I have just 'upgraded' my computer.  I used to work on XP, now I'm on W7. When I create a pdf the quality of eps and png files is greatly reduced in quality. This applies if I use Adobe pdf or cute pdf. I have attached a file:

  • Qmaster and Maya... "How to's"

    I am attempting to set up Qmaster to network render my modeler's Maya projects. We've been using mentalray's network renderer, but we need to submit AE and FCP files to the same Xservers as well, so Qmaster seems like the easiest way to manage multip