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

 All Forums
 SQL Server 2005 Forums
 Transact-SQL (2005)
 sending database mail

Author  Topic 

esthera
Master Smack Fu Yak Hacker

1410 Posts

Posted - 2009-01-18 : 12:17:25
I'm trying to send email via sql server 2005

it says Mail queued.
but I don't get the email - what could the issue be?

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2009-01-18 : 12:24:50
which mail are you using sqlmail or smtpmail?
Go to Top of Page

sodeep
Master Smack Fu Yak Hacker

7174 Posts

Posted - 2009-01-18 : 12:29:49
http://msdn.microsoft.com/en-us/library/ms190630.aspx
Go to Top of Page

esthera
Master Smack Fu Yak Hacker

1410 Posts

Posted - 2009-01-18 : 12:35:52
thanks if I do sysmail_help_queue_sp @queue_type = 'Mail' ;
I get Could not find stored procedure 'sysmail_help_queue_sp'.

I followed http://articles.techrepublic.com.com/5100-10878_11-6161839.html

What do I have to do to get it working?
Go to Top of Page

sodeep
Master Smack Fu Yak Hacker

7174 Posts

Posted - 2009-01-18 : 12:49:49
Execute under MSDB database.
Go to Top of Page

esthera
Master Smack Fu Yak Hacker

1410 Posts

Posted - 2009-01-18 : 12:57:48
mail 0 INACTIVE 2009-01-18 17:39:58.893 2009-01-18 17:28:58.587

what does that mean?
Go to Top of Page

sodeep
Master Smack Fu Yak Hacker

7174 Posts

Posted - 2009-01-18 : 13:11:26
Did you read the link properly? Have database Mail been started in Surface area config? Are you getting this when testing or in SQL job?
Go to Top of Page

esthera
Master Smack Fu Yak Hacker

1410 Posts

Posted - 2009-01-18 : 13:18:46
yes it is set in surface area config.
i'm getting this when I run the sp under msdb
no errors
Go to Top of Page

sodeep
Master Smack Fu Yak Hacker

7174 Posts

Posted - 2009-01-18 : 13:21:02
So while Testing with Profile,Do you get mail?
Go to Top of Page

esthera
Master Smack Fu Yak Hacker

1410 Posts

Posted - 2009-01-18 : 13:30:22
no
Go to Top of Page

sodeep
Master Smack Fu Yak Hacker

7174 Posts

Posted - 2009-01-18 : 13:33:07
So are you using outlook express for it? Did you check in it?
Go to Top of Page

esthera
Master Smack Fu Yak Hacker

1410 Posts

Posted - 2009-01-18 : 13:36:36
no - I cannot set up out look on the machine - is there no way to send email in sql without it?
Go to Top of Page
   

- Advertisement -