Wrox Programmer Forums
|
Classic ASP Components Discussions specific to components in ASP 3.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Components section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old July 8th, 2003, 03:34 PM
Registered User
 
Join Date: Jul 2003
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default Using SendMail over ASP

I am having trouble using SendMail over ASP, can someone help me?
I am trying the following:
    Set msg = Server.CreateObject("SendMail.Message")
    With msg
        .host="server.turno.com"
        .Logging = true
        .silent = true
        .From = "support@sender.com.br"
        .FromName = "Support Team"
        .AddRecipient = rsSen("email")
        .Subject = "Lembrete de Senha"
        .Body = texto2
        .HTMLBody = "<P>" & texto2 & "</P>"
        .Send
    End With

Thanks


 
Old July 29th, 2003, 01:45 PM
Registered User
 
Join Date: Jul 2003
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default

What exactly is your error? This looks fine to me (although i did not know you could call methods with the With command...i thought it was just for setting properties). Some basic advice would be to make sure IIS is set up correctly to send outgoing mail. That seems to be a usual place for concern. I use CDONTS mail, but that's just me...






Similar Threads
Thread Thread Starter Forum Replies Last Post
Using Sendmail.php How shall i? vinu123 BOOK: Beginning PHP5, Apache, and MySQL Web Development ISBN: 978-0-7645-7966-0 1 January 5th, 2007 03:22 AM
SendMail Problem bahachin Excel VBA 0 November 22nd, 2006 09:45 AM
Sendmail, Application - ASP.NET1.1-Urgent..Pls ! Abins ASP.NET 1.0 and 1.1 Basics 1 February 21st, 2006 08:06 AM
Sendmail datagram Classic ASP Components 5 April 10th, 2005 06:26 PM
Sendmail datagram Classic ASP Components 4 March 8th, 2005 08:21 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.