Wrox Programmer Forums
|
BOOK: ASP.NET Website Programming Problem-Design-Solution
This is the forum to discuss the Wrox book ASP.NET Website Programming: Problem - Design - Solution, Visual Basic .NET Edition by Marco Bellinaso, Kevin Hoffman; ISBN: 9780764543869
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: ASP.NET Website Programming Problem-Design-Solution 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 November 20th, 2005, 06:19 AM
Registered User
 
Join Date: Oct 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Please help, unable to send mail

hello,
please help me to solve following problem. I have a send mail script using CDO. I don't know why it is not working. Everytime I run the script, it looks ok, but then couple day later I receive a message as follow:

This is an automatically generated Delivery Status Notification.

Unable to deliver message to the following recipients, due to being unable to connect successfully to the destination mail server.

Could anyone please help me with this. Thank you very much in advance.
The script that I use is:
<%
set iMsg = CreateObject("CDO.Message")
iMsg.From ="[email protected]"
iMsg.To = "[email protected]"
iMsg.Subject= "test mail"
iMsg.TextBody ="test mail"

iMsg.Send

Set iMsg = Nothing
%>
 
Old November 22nd, 2005, 10:12 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 917
Thanks: 0
Thanked 0 Times in 0 Posts
Default

You didn't tell it which mail server to use. This isn't needed if that computer is already configured for a specific mail server, but it likely isn't.

Questions about legacy ASP are not appropriate for this forum. This forum is for the book "ASP.NET Website Programming".





Similar Threads
Thread Thread Starter Forum Replies Last Post
Send mail and attachments with PHP mail function Lofa Beginning PHP 1 June 2nd, 2008 03:24 PM
send mail chavakoti BOOK: Professional SQL Server 2005 Integration Services ISBN: 0-7645-8435-9 1 September 4th, 2007 05:03 AM
Unable to send Email using Uploaded Application hellowahab .NET Framework 1.x 2 February 1st, 2007 05:08 AM
Cannot send mail rajanikrishna JSP Basics 3 March 17th, 2006 01:39 AM





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