Earlier this week, I http://www.sqlteam.com/item.asp?ItemID=632>published a link to several Microsoft documents that walk you through the installation of SQLMail. I promised a followup to that article, so here ya go.
Steve writes: "How is it possible to have someone send either an email or an attachment(in a specified format)from a standard email program so that the information is entered into a database?
Yep, this is possible, and wow is it cool. Read on for the answer to this question as well as detailed information on SQLMail.
How can you speed up the process of sending mails with SQL-mail combined with a MAPI profile?
I've got a stored proecdure which sends about 400 emails to different people. I use SQL-mail and a MAPI profile, and my problem is that it takes about 20 minutes before all off the 400 emails are sent (gone from the Outbox of the Outlook client installed on the sql-server). The email are genereted and placed in the outbox in about 4 minutes when the sp is run...
What is the problem? Is it the MAPI profile? If yes - can you use other programs in combination with SQL-mail??
Just a quick note to say there is a slight problem with the loop in the article not returning. The default behaviour of xp_findnextmsg is to find all mail whether its been marked read or not thus you will just get an infinite loop as @hMessage will never be NULL.Fixed here http://www.sqlteam.com/Forums/topic.asp?TOPIC_ID=17093