471,089 Members | 1,457 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,089 software developers and data experts.

error to send mail using xp_smtp_sendmail

Hi,
when i send mail using xp_smtp_sendmail it gives error---
Server response: 554 <libsoft@iitk.ac.in>: Sender address rejected: Access denied

I m using--
declare @rc int
exec @rc = master.dbo.xp_smtp_sendmail
@FROM = 'libsoft@iitk.ac.in',
-- @FROM_NAME = 'pkkatiyar',


@TO = 'siic@iitk.ac.in',
@CC = '',
@BCC = '',
-- @priority = 'NORMAL',
@subject = 'Hello',

-- @type = 'text/plain',
@message = 'Goodbye MAPI, goodbye Outlook',

-- @messagefile= '',
-- @attachment = '',

-- @attachments= '',
-- @codepage = 0,

-- @timeout = 10000,
@server = 'smtp.cc.iitk.ac.in'

select RC = @rc

go


reply as soon as possible
Apr 26 '07 #1
0 1650

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

3 posts views Thread by lhansen | last post: by
2 posts views Thread by Mark | last post: by
5 posts views Thread by Nathan Sokalski | last post: by
5 posts views Thread by pat | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.