SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


XP_SENDMAIL FOR SQL2005


XP_SENDMAIL FOR SQL2005

Author
Message
Robo-704698
Robo-704698
Grasshopper
Grasshopper (18 reputation)Grasshopper (18 reputation)Grasshopper (18 reputation)Grasshopper (18 reputation)Grasshopper (18 reputation)Grasshopper (18 reputation)Grasshopper (18 reputation)Grasshopper (18 reputation)

Group: General Forum Members
Points: 18 Visits: 12
Comments posted to this topic are about the item XP_SENDMAIL FOR SQL2005
xliu75
xliu75
Forum Newbie
Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)

Group: General Forum Members
Points: 1 Visits: 44
We was using
exec xp_sendmail @recipients='[fax:1xxxyyyzzzz]',
@message='new xp_sendmail',
@copy_recipients='xxx@xxx.com' ,
@subject='test'

to send fax (of course this is fax server after exchange server)
sql server-->exchange server---> fax server

after we change to use exec sp_send_dbmail @recipients='[fax:1xxxyyyzzzz]',
@body='new xp_sendmail',
@copy_recipients='xxx@xxx.com' ,
@subject='test'

it is not work. (not recognized email address)
Any idea?
Martin S. Stoller
Martin S. Stoller
SSC Rookie
SSC Rookie (25 reputation)SSC Rookie (25 reputation)SSC Rookie (25 reputation)SSC Rookie (25 reputation)SSC Rookie (25 reputation)SSC Rookie (25 reputation)SSC Rookie (25 reputation)SSC Rookie (25 reputation)

Group: General Forum Members
Points: 25 Visits: 22
Great idea, and one can set a default DB MAIL profile in the parameter list (is what I did), so it will work by default (I think this might be the issue the previous commenter had - they forgot to set @profile_name - which of course msdb.dbo.sp_send_dbmail needs...)

Cheers!
jiten.maken
jiten.maken
Forum Newbie
Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)

Group: General Forum Members
Points: 3 Visits: 2
All i have to say is that you are a frikking GODSEND lol
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search