Re: SQL Mail
From: Ants (antzj_at_hotmail.com)
Date: 11/03/04
- Next message: Ants: "xp_sendmail"
- Previous message: David Browne: "Re: Curious performance experiment"
- In reply to: Ants: "SQL Mail"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 3 Nov 2004 16:17:25 -0000
thanks for the response
i managed to get it working though.. not sure exactly what i did but suspect
the following...
local account syncd with same password as domain account..
added various permissions to account mailboxes etc.
restared the sqlmail and can send ok using following script
EXEC xp_sendmail 'email@address' , 'message' etc
no the other problem i'm facing is this.
I have another mailbox on the domain XXX called pete.. tommy's mailbox has
'sent on behalf permissions for pete's...
my initial plan.. to be able to create a sql script to do a 'send from'
using xp_sendmail
(exec xp_sendmail @from='pete's email', @recipient='anyemail' etc )
thanks again
"Ants" <antzj@hotmail.com> wrote in message
news:O3utIJawEHA.3808@TK2MSFTNGP15.phx.gbl...
> Hi,
> currently have a problem...
> ServerA (standalone non domain member running Win2k and SQL 2k) and
> ServerB (Exchange200 Server on Domain called XXX)
>
> need to be able to send email via SQL from ServerB to ServerA.
>
> Userid on local serverB: tommy - password: tommy
> userid on domain XXX: tommy - password: tommy
>
> MSSQLserver and agent service on ServerB started with local account tommy
>
> can open mailbox via outlook no problem on serverB using domain XXX's
> account: tommy
>
> cannot do an xp_sendmail from sql stransact. can i supply userid, password
> and domain name with help of stored procedure?
> any ideas?
> thanks in advance
>
>
- Next message: Ants: "xp_sendmail"
- Previous message: David Browne: "Re: Curious performance experiment"
- In reply to: Ants: "SQL Mail"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|