Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 Help using xp_smtp_sendmail

Author  Topic 

howard7890
Starting Member

7 Posts

Posted - 2002-11-04 : 16:42:35
I am trying to develop email functionaliity.

I tryed creating this sproc:

CREATE PROCEDURE sp_STML AS
declare @rc int
exec @rc = master.dbo.xp_smtp_sendmail
@FROM_NAME = 'Howard Kline',

@TO = 'howard.kline@amd.com',

@subject = 'Hello SQL Server SMTP Mail',

@server = 'caexmta5.amd.com'

select RC = @rc
GO

I get rc = 1, when I execute this.
What am I doing wring?

Any ideas?
Thanks.

Merkin
Funky Drop Bear Fearing SQL Dude!

4970 Posts

Posted - 2002-11-04 : 17:07:11
Let's keep it in the same thread. That way people can see the history.

http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=21249

Damian
Go to Top of Page
   

- Advertisement -