Wrox Programmer Forums
|
SQL Server 2000 General discussion of Microsoft SQL Server -- for topics that don't fit in one of the more specific SQL Server forums. version 2000 only. There's a new forum for SQL Server 2005.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the SQL Server 2000 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 2nd, 2006, 07:50 PM
Registered User
 
Join Date: Mar 2005
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default SQL Mail

Greetings!

I am in hopes that someone will be able to shed some light on the problem I am having. I am using SQL 2000’s SQL Mail service to generate emails programmatically. I have been using VB applications calling stored procedures to start and send emails in-house with no problem. However, I am now trying to use the same code/procedures to send emails to vendors outside of our domain and the process fails. All looks good but the mail never arrives. I have also tested this to my yahoo email account with the same results. Any help you might be able to provide will be most appreciated!!

Chris


 
Old November 2nd, 2006, 10:50 PM
SQLScott's Avatar
Wrox Author
 
Join Date: Dec 2004
Posts: 338
Thanks: 0
Thanked 2 Times in 2 Posts
Default

Chris,

Take a look at your event logs or SQL Server error logs. It is failing somewhere and the place to start looking is the logs (event and sql server).

Let us know what you find.


Scott Klein
Author - Professional SQL Server 2005 XML
http://www.wrox.com/WileyCDA/WroxTit...764597922.html
 
Old November 3rd, 2006, 10:45 AM
joefawcett's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 3,074
Thanks: 1
Thanked 38 Times in 37 Posts
Default

You will probably have to enable email relaying which is off by default. You then need to make sure that it can't be used by by malicious users for spamming etc.

--

Joe (Microsoft MVP - XML)





Similar Threads
Thread Thread Starter Forum Replies Last Post
sending mail from sql server pady123 SQL Server 2005 0 October 17th, 2008 01:58 AM
Send mail from sql server Manoah SQL Server 2005 1 July 15th, 2008 01:32 AM
SQL SSIS Send Mail Task mstoler SQL Server 2005 0 August 8th, 2006 07:35 AM
Mail Option in SQL SERVER ksrmramu SQL Server 2000 1 August 2nd, 2005 12:08 PM
SQL mail Anantsharma SQL Server 2000 1 September 28th, 2004 05:49 AM





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