Results 1 to 7 of 7

Thread: vb-email

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Oct 2000
    Location
    US, PA
    Posts
    79
    Do anybody know how to use CDO in VB for e-mail. I just heard of the term but I don't know where to start. Can somebody help me pleaseeeeeeeeee


    Thanks

  2. #2
    Fanatic Member
    Join Date
    Oct 2000
    Location
    Seattle
    Posts
    954
    I am not sure but when I developed this one app a little while ago I had a hard time programming for GroupWise so I picked up a small DOS utility and used that. IF you are interested let me know and I will send the exe to you.

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Oct 2000
    Location
    US, PA
    Posts
    79
    Hi brianh,

    I was somewhat assigned to do a project to create an ASP page. What the ASP page is supposed to do is to look in a table in SQL Server, get the data and display it on the WEB page. At the same time I have to send an e-mail to the required people, with a link to the site.
    Is there any other way of sending e-mail besides CDO from a SQL Server.



    Thanks


    Reggie

  4. #4
    Fanatic Member
    Join Date
    Oct 2000
    Location
    Seattle
    Posts
    954
    I am pretty new at ASP, more VB experience. I am not sure. So you want to automatically generate an email automaticlly once the data is posted?

  5. #5

    Thread Starter
    Lively Member
    Join Date
    Oct 2000
    Location
    US, PA
    Posts
    79
    Yes

  6. #6
    Fanatic Member
    Join Date
    Oct 2000
    Location
    Seattle
    Posts
    954
    I feel that I don't have the experience to help yoyu (in other words I don't have your answer) There is another good ASP forumn that I know about here is the URL - try that.

    http://www.aspmessageboard.com/forum/asp.asp?F=20

    Sorry, there is also someone talking about CDO a little down this forumn, check that out.

    Brian

  7. #7
    Lively Member
    Join Date
    Feb 2000
    Posts
    81

    email

    dont use CDo there is to many setting you need to set up for fit here is some code for you to use a component called
    jmaqil all youy have to do is setup your smtp ISp address and email fromn there onwards
    you also need to download the .Dll file for it
    onto your IIS server for it to weork properfly
    if you have any questions tehn drop me an email regarding this

    <%
    Dim Email
    Set Email = Server.CreateObject ("JMail.SMTPMail")

    ' Set your local SMTP server
    Email.ServerAddress = "210.55.24.20"

    ' Set Sender
    Email.Sender = "[email protected]"

    ' Add recipients
    Email.AddRecipient "personwhoyouwanttosenditto"

    ' Set Subject
    Email.Subject = "testing"

    ' Set the body of the message
    Email.Body = "testing"
    ' Send the email message
    Email.Execute

    'Destroy the JMail.SMTPMail object
    Set Email = Nothing
    %>

    put this into an ASP file

    and download the file below and install it on your IIS machine.

    this should work.
    psm the files to beig for me to attach send me and emai l at
    [email protected]
    and i will send you that file
    good luck its pretty simple though

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width