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

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

SQL Server Forums
Profile | Active Topics | Members | Search | Forum FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Site Related Forums
 Article Discussion
 could not received email although sp run through
 Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

PhilWang
Starting Member

1 Posts

Posted - 04/08/2002 :  11:33:02  Show Profile  Reply with Quote
Hi, Everybody,

It is a very useful tool we want to evaluate. But it did not work fine.

Here is what I did.

1. RegSrv32 SMTPSVG.DLL ---Successfull
2. Create sp_SMTPMail (default smtp server points to my smtpserver)
3. Run the sp_SMTPMail as
exec sp_SMTPMail @SenderName='Phil Wang', @SenderAddress='PWang@AirIQ.com',
@RecipientName = 'Phil Wang',
@RecipientAddress = 'PWang@AirIQ.com',
@Subject='SQL Test',
@body='Hello, this is a test email from SQL Server'

I got return as

Column1
-----------
1

(1 row(s) affected)

Column1
-----------
0

(1 row(s) affected)

4. Check my outlook and could not find incoming email.

What is the possible reason?

Thanks.

Phil Wang



yakoo
Constraint Violating Yak Guru

USA
312 Posts

Posted - 04/08/2002 :  11:41:13  Show Profile  Reply with Quote
could you post the code of sp_SMTPMail

SMTPSVG.DLL is a COM object for ASPMail from http://www.serverobjects.com, I believe.

If we could take a look at your sp_SMTPMail code we might be able to help you out.

Go to Top of Page
  Previous Topic Topic Next Topic  
 Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.03 seconds. Powered By: Snitz Forums 2000