473,473 Members | 1,535 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

error to send mail using xp_smtp_sendmail

1 New Member
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 1745

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

Similar topics

3
by: lhansen | last post by:
I have a SQL Server 2000 application that send's e-mail to users using the xp_smtp_sendmail procedure. That works fine. What I would like to do is RECIEVE e-mail with SQL Server. Example: I...
2
by: Mark | last post by:
Hi everyone, I am using an SQL extended stored procedure to send emails in a DTS package using a cursor that goes through each row in a table. Email sending code below ======================...
2
by: Larisa | last post by:
Hello everyone, I need advice of how to accomplish the following: Loop though records in a table and send an email per record. Email recipient, message text and attachment file name - that's...
9
by: B-Dog | last post by:
I've built a small app that sends mail through our ISP's SMTP server but when I try to send through my local exchange server I get CDO error. Does webmail use SMTP or does it strictly rely on...
1
by: salvagedog | last post by:
We use xp_smtp_sendmail for all emailing from SQL Server. Occasionally it fails, generating the following message: Error: disconnecting from server mail.mydomain.com failed The failures are...
5
by: Nathan Sokalski | last post by:
I am attempting to send an email using ASP.NET 1.1's Mail.SmtpMail.Send() method. My code contains all of the following: Dim mailmsg As New Mail.MailMessage Mail.SmtpMail.SmtpServer =...
2
by: satnamsarai | last post by:
Using System.Net.Mail: Sometimes I get error 'failure sending mail. Unable to write data to the transport connection: An existing connection was forcibly closed by the remote host.' Not sure how...
5
by: pat | last post by:
Hi, i'am using an ac2K progrom which sends automaticle emails with an attachment. Since last week , a error occurs with number 2293. Our mail program is Outlook 2003. It's probably a matter...
4
by: barmatt80 | last post by:
I am stumped on the error reporting with sql server. I was told i need to return @SQLCode(code showing if successful or not) and @ErrMsg(and the message returned). I am clueless on this. I...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

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.