|
by: Jeff Cochran |
last post by:
Does anyone have a code snippet or example on using the xp_sendmail
SQL procedure from an ASP page (VBscript)? I have no problem with the
stored procedure from a query and I think my problem is getting the
parameters passed to the procedure correctly, or just in using stored
procedures from ASP.
I can execute this SQL from Query Analyzer fine:
xp_sendmail "testuser", "Hello World!"
|
by: Jürgen Hetzel |
last post by:
Hello!
My environment is: Win 2000 Server, MS SQL-Server 2000 (SP2)
and MS ExchangeServer 5.5
the two following TransactSQL-codepieces show different
results:
1. with attachment
|
by: Ted Theodoropoulos |
last post by:
when creating a sp in SQL 2K that uses xp_sendmail i get a message
saying:
Cannot add rows to sysdepends for the current stored procedure because
it depends on the missing object 'xp_sendmail'. The stored procedure
will still be created.
does this mean that only dependencies involving xp_sendmail will not
be stored? the other dependencies appear to be fine. i'm not sure
why sql would even bother telling me this info. thoughts?
|
by: Nathan Griffiths |
last post by:
I have been testing our SQL Mail setup in SQL Server 2000 (sp3a) and
have found that when I attach results as a file, every other character
is a control character which causes each real character output on a
separate line. I have no idea why this is happenening, I've never seen
it before.
The code looks like this;
EXEC master.dbo.xp_sendmail
@recipients = '<email address>',
@dbuse = 'TestDB',
|
by: Rolf Kemper |
last post by:
Dear All,
we are running SQL2000 Sever and make use of the xp_sendmail.
For any reason the mail service can run into problems and it looks
like that the statemnt below gets not finished.
EXEC @Status = master..xp_sendmail @recipients=@TOList,
@copy_recipients=@CCList,@subject='the subject goes
here',@message=@MailText,@no_output=TRUE
|
|
by: mike |
last post by:
Using the Query Analyzer, I issued the statement "EXEC xp_sendmail
'anyone@hotmail.com, 'Test.'" and received 'email sent' confirmation.
But, my email was never received.
I used the same statement to send mail to a Yahoo account and it was
received.
Is there a way to be able to send email using SQL xp_sendmail to a
Hotmail account?
|
by: Michael McGarrigle |
last post by:
I would like to send the contents of a file using xp_sendmail however
I do not want the file contents to be an attachment.
I have no problem sending the file as an attachement.
Can anybody give me an xp_sendmail example of how to do this.
The results of a query can easily appear in the body of the email but
all my
attempts to include the contents of a file in the body of the email
have not worked.
TIA
|
by: Eric Timely |
last post by:
After a trust with exchange server established the xp_SendMail
gives the following error:
xp_sendmail: failed with mail error 0x80070005
Prior to the trust everything worked fine.
I have tried the following:
1)Checking SQL and SQLAgents accounts all match up with default mail
profile.
|
by: Stephen2 |
last post by:
I'm trying to send an email using master..xp_sendmail with parms and
the default Outlook profile. I can successfully test the profile on my
own computer and on the server.
I'm running using Windows authentication and have given myself full
admin rights in MSSQL.
Which account is mssql trying to send the email from? Is it the
servers or my local clients?
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
|
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
|