473,385 Members | 1,655 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

The SMTP Server in xp_smtp_sendmail

Just trying out xp_smtp_sendmail for the first time.
I get the error:
Error: connecting to server smarthost
OK, so I don't have the server parameter for SMTP server set up
correctly.

I don't even know what an SMTP Server is! Is this an e-mail provider
that provides SMTP functionality, or an application I need to install?

Sep 23 '05 #1
4 8140
SMTP is a standard protocol for email. Most mail servers will support SMTP
so if you are on a corporate network you probably already have access to
ne - ask whoever manages your mail server.

If you don't already have one then you can set up IIS as an SMTP server.
This is not something I'm an expert on but here's a link about it:
http://www.microsoft.com/technet/pro...87a2b88f2.mspx

One point about xp_smtp_sendmail is that it requires the server to be setup
for sending mail without authentication. For that reason you probably won't
be able to use your ISP's email server.

--
David Portas
SQL Server MVP
--
Sep 23 '05 #2
When I use a generic SMTP server like: SMTP.KnownProvidorName.net I get
an error: ERROR: Sending Email

Sep 23 '05 #3
Reding your link I am setting up the IIS/SMTP on my machine. I assume
this will not require authentication, but how eould this apply on a
client's server if I need to set it up that way?

Sep 23 '05 #4
laurenq uantrell wrote:
Reding your link I am setting up the IIS/SMTP on my machine. I assume
this will not require authentication, but how eould this apply on a
client's server if I need to set it up that way?


Your ISP's server shouldn't need authentication as it knows the range of
IP addresses allowed to relay from it, your IP should be in it's list :-)

On your client's network, the same would apply with their ISP's SMTP
server but as David says you could use their corporate mail server
assuming they have one and it's not a Hopeless Notes server.

I set up our main server for mail, using MAPI/Outlook/Exchange, this
means that the SQLSErver service must log in as an account other than
local system, you need to log onto windows using that account, load up
Outlook set up a profile and have SQL Server use that profile.
Sep 24 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Andy Turner | last post by:
Hi, I'm trying to setup PHP so it will use a remote SMTP server. I'm going to sound like a newbie but how? I know you need to alter php.ini, change SMTP from localhost to the SMTP server and the...
1
by: ehendrikd | last post by:
hi all i have written a php site that uses the mail() on windows and i had to state in the php.ini file which smtp server to use. have now migrated this site to a redhat 9 server, but i still...
7
by: Nancy | last post by:
Hi, Is there any one knows, if I want to use mod_python to handle my html form, I must have a SMTP server on my PC(winxp pro)? Where can I get a free SMTP server? I cann't follow mod_python's...
21
by: Nancy | last post by:
Hi, Guys, Is there any other way to use python or mod_python writing a web page? I mean, not use "form.py/email", no SMTP server. <form action="form.py/email" method="POST"> ... Thanks a lot. ...
7
by: Razzie | last post by:
Hey all, I need to connect to an SMTP server and get a notification when it gets a new mail to send. I want to be able to 'read' that email (retrieve recipient information for example). Is that...
34
by: antonyliu2002 | last post by:
I've set up the virtual smtp server on my IIS 5.1 like so: 1. Assign IP address to "All Unassigned", and listen to port 25. 2. Access Connection granted to "127.0.0.1". 3. Relay only allow...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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...

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.