![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I basically need to send emails from MY DTS packages and also some of my stored procedures.There is no way of having any MAPI compliant software installed on the productions database server,so I came up with the idea of installing an SMTP server and use the extended stored procedure introduced here(http://www.sqldev.net/xp/xpsmtp.htm). Now my database admin is nagging that I don't like to have something running in the SQL SERVER address space and my network admin is nagging that he dosen't want to have SMTP server installed on the production,because Microsoft dosen't recommand this. I just wondered whay you guys have ever done in terms of sending emails from your sql server.Is there a way of sending emails from sql server using another SMTP server on another box(same domain thought)? |
#3
| |||
| |||
|
|
Yes of course. SMTP service need not be installed on the SQL Server. In my case, I have different mailing server, with SMTP on it. And I specify the SMTP server name as a parameter to the xp_smtp_sendmail stored procedure. -- Vyas, MVP (SQL Server) SQL Server Articles and Code Samples @ http://vyaskn.tripod.com/ "Ray5531" <RayAll (AT) microsft (DOT) com> wrote in message news:uU$Mz$PTFHA.3464 (AT) tk2msftngp13 (DOT) phx.gbl... I basically need to send emails from MY DTS packages and also some of my stored procedures.There is no way of having any MAPI compliant software installed on the productions database server,so I came up with the idea of installing an SMTP server and use the extended stored procedure introduced here(http://www.sqldev.net/xp/xpsmtp.htm). Now my database admin is nagging that I don't like to have something running in the SQL SERVER address space and my network admin is nagging that he dosen't want to have SMTP server installed on the production,because Microsoft dosen't recommand this. I just wondered whay you guys have ever done in terms of sending emails from your sql server.Is there a way of sending emails from sql server using another SMTP server on another box(same domain thought)? |
#4
| |||
| |||
|
|
I basically need to send emails from MY DTS packages and also some of my stored procedures.There is no way of having any MAPI compliant software installed on the productions database server,so I came up with the idea of installing an SMTP server and use the extended stored procedure introduced here(http://www.sqldev.net/xp/xpsmtp.htm). Now my database admin is nagging that I don't like to have something running in the SQL SERVER address space and my network admin is nagging that he dosen't want to have SMTP server installed on the production,because Microsoft dosen't recommand this. I just wondered whay you guys have ever done in terms of sending emails from your sql server.Is there a way of sending emails from sql server using another SMTP server on another box(same domain thought)? |
#5
| |||
| |||
|
|
Is there a firewall between your sql server and your mailing servers ? If yes how come xp_smtp_sendmail opens up a TCP/IP socket to the mailing server? In my case there is a firewall between my database serevr and also external SMTP servers... Thanks for your help,I'm so stuck to this problem. Bye "Narayana Vyas Kondreddi" <answer_me (AT) hotmail (DOT) com> wrote in message news:uggCK9WTFHA.3216 (AT) TK2MSFTNGP10 (DOT) phx.gbl... Yes of course. SMTP service need not be installed on the SQL Server. In my case, I have different mailing server, with SMTP on it. And I specify the SMTP server name as a parameter to the xp_smtp_sendmail stored procedure. -- Vyas, MVP (SQL Server) SQL Server Articles and Code Samples @ http://vyaskn.tripod.com/ "Ray5531" <RayAll (AT) microsft (DOT) com> wrote in message news:uU$Mz$PTFHA.3464 (AT) tk2msftngp13 (DOT) phx.gbl... I basically need to send emails from MY DTS packages and also some of my stored procedures.There is no way of having any MAPI compliant software installed on the productions database server,so I came up with the idea of installing an SMTP server and use the extended stored procedure introduced here(http://www.sqldev.net/xp/xpsmtp.htm). Now my database admin is nagging that I don't like to have something running in the SQL SERVER address space and my network admin is nagging that he dosen't want to have SMTP server installed on the production,because Microsoft dosen't recommand this. I just wondered whay you guys have ever done in terms of sending emails from your sql server.Is there a way of sending emails from sql server using another SMTP server on another box(same domain thought)? |
#6
| |||
| |||
|
|
You would have to open port 25 (or if you use an other port which ever you are using) for traffic from SQL to the SMTP server. You can also look at an SMTP relay server solution. GertD (AT) SQLDev (DOT) Net Please reply only to the newsgroups. This posting is provided "AS IS" with no warranties, and confers no rights. You assume all risk for your use. Copyright © SQLDev.Net 1991-2005 All rights reserved. "Ray5531" <Ray5531 (AT) microsoft (DOT) com> wrote in message news:u7OgQnnTFHA.616 (AT) TK2MSFTNGP12 (DOT) phx.gbl... Is there a firewall between your sql server and your mailing servers ? If yes how come xp_smtp_sendmail opens up a TCP/IP socket to the mailing server? In my case there is a firewall between my database serevr and also external SMTP servers... Thanks for your help,I'm so stuck to this problem. Bye "Narayana Vyas Kondreddi" <answer_me (AT) hotmail (DOT) com> wrote in message news:uggCK9WTFHA.3216 (AT) TK2MSFTNGP10 (DOT) phx.gbl... Yes of course. SMTP service need not be installed on the SQL Server. In my case, I have different mailing server, with SMTP on it. And I specify the SMTP server name as a parameter to the xp_smtp_sendmail stored procedure. -- Vyas, MVP (SQL Server) SQL Server Articles and Code Samples @ http://vyaskn.tripod.com/ "Ray5531" <RayAll (AT) microsft (DOT) com> wrote in message news:uU$Mz$PTFHA.3464 (AT) tk2msftngp13 (DOT) phx.gbl... I basically need to send emails from MY DTS packages and also some of my stored procedures.There is no way of having any MAPI compliant software installed on the productions database server,so I came up with the idea of installing an SMTP server and use the extended stored procedure introduced here(http://www.sqldev.net/xp/xpsmtp.htm). Now my database admin is nagging that I don't like to have something running in the SQL SERVER address space and my network admin is nagging that he dosen't want to have SMTP server installed on the production,because Microsoft dosen't recommand this. I just wondered whay you guys have ever done in terms of sending emails from your sql server.Is there a way of sending emails from sql server using another SMTP server on another box(same domain thought)? |
#7
| |||
| |||
|
|
Is that relay server for free? Where should I get it from? Thanks fro your reply. "Gert E.R. Drapers" <GertD@SQLDevNet> wrote in message news:u%23VC1B3TFHA.2872 (AT) TK2MSFTNGP14 (DOT) phx.gbl... You would have to open port 25 (or if you use an other port which ever you are using) for traffic from SQL to the SMTP server. You can also look at an SMTP relay server solution. GertD (AT) SQLDev (DOT) Net Please reply only to the newsgroups. This posting is provided "AS IS" with no warranties, and confers no rights. You assume all risk for your use. Copyright © SQLDev.Net 1991-2005 All rights reserved. "Ray5531" <Ray5531 (AT) microsoft (DOT) com> wrote in message news:u7OgQnnTFHA.616 (AT) TK2MSFTNGP12 (DOT) phx.gbl... Is there a firewall between your sql server and your mailing servers ? If yes how come xp_smtp_sendmail opens up a TCP/IP socket to the mailing server? In my case there is a firewall between my database serevr and also external SMTP servers... Thanks for your help,I'm so stuck to this problem. Bye "Narayana Vyas Kondreddi" <answer_me (AT) hotmail (DOT) com> wrote in message news:uggCK9WTFHA.3216 (AT) TK2MSFTNGP10 (DOT) phx.gbl... Yes of course. SMTP service need not be installed on the SQL Server. In my case, I have different mailing server, with SMTP on it. And I specify the SMTP server name as a parameter to the xp_smtp_sendmail stored procedure. -- Vyas, MVP (SQL Server) SQL Server Articles and Code Samples @ http://vyaskn.tripod.com/ "Ray5531" <RayAll (AT) microsft (DOT) com> wrote in message news:uU$Mz$PTFHA.3464 (AT) tk2msftngp13 (DOT) phx.gbl... I basically need to send emails from MY DTS packages and also some of my stored procedures.There is no way of having any MAPI compliant software installed on the productions database server,so I came up with the idea of installing an SMTP server and use the extended stored procedure introduced here(http://www.sqldev.net/xp/xpsmtp.htm). Now my database admin is nagging that I don't like to have something running in the SQL SERVER address space and my network admin is nagging that he dosen't want to have SMTP server installed on the production,because Microsoft dosen't recommand this. I just wondered whay you guys have ever done in terms of sending emails from your sql server.Is there a way of sending emails from sql server using another SMTP server on another box(same domain thought)? |
#8
| |||
| |||
|
|
There are free relay server, see http://www.google.com/search?sourcei...P+relay+server GertD (AT) SQLDev (DOT) Net Please reply only to the newsgroups. This posting is provided "AS IS" with no warranties, and confers no rights. You assume all risk for your use. Copyright © SQLDev.Net 1991-2005 All rights reserved. "Ray5531" <RayAll (AT) microsft (DOT) com> wrote in message news:OWlo2h3TFHA.580 (AT) TK2MSFTNGP15 (DOT) phx.gbl... Is that relay server for free? Where should I get it from? Thanks fro your reply. "Gert E.R. Drapers" <GertD@SQLDevNet> wrote in message news:u%23VC1B3TFHA.2872 (AT) TK2MSFTNGP14 (DOT) phx.gbl... You would have to open port 25 (or if you use an other port which ever you are using) for traffic from SQL to the SMTP server. You can also look at an SMTP relay server solution. GertD (AT) SQLDev (DOT) Net Please reply only to the newsgroups. This posting is provided "AS IS" with no warranties, and confers no rights. You assume all risk for your use. Copyright © SQLDev.Net 1991-2005 All rights reserved. "Ray5531" <Ray5531 (AT) microsoft (DOT) com> wrote in message news:u7OgQnnTFHA.616 (AT) TK2MSFTNGP12 (DOT) phx.gbl... Is there a firewall between your sql server and your mailing servers ? If yes how come xp_smtp_sendmail opens up a TCP/IP socket to the mailing server? In my case there is a firewall between my database serevr and also external SMTP servers... Thanks for your help,I'm so stuck to this problem. Bye "Narayana Vyas Kondreddi" <answer_me (AT) hotmail (DOT) com> wrote in message news:uggCK9WTFHA.3216 (AT) TK2MSFTNGP10 (DOT) phx.gbl... Yes of course. SMTP service need not be installed on the SQL Server. In my case, I have different mailing server, with SMTP on it. And I specify the SMTP server name as a parameter to the xp_smtp_sendmail stored procedure. -- Vyas, MVP (SQL Server) SQL Server Articles and Code Samples @ http://vyaskn.tripod.com/ "Ray5531" <RayAll (AT) microsft (DOT) com> wrote in message news:uU$Mz$PTFHA.3464 (AT) tk2msftngp13 (DOT) phx.gbl... I basically need to send emails from MY DTS packages and also some of my stored procedures.There is no way of having any MAPI compliant software installed on the productions database server,so I came up with the idea of installing an SMTP server and use the extended stored procedure introduced here(http://www.sqldev.net/xp/xpsmtp.htm). Now my database admin is nagging that I don't like to have something running in the SQL SERVER address space and my network admin is nagging that he dosen't want to have SMTP server installed on the production,because Microsoft dosen't recommand this. I just wondered whay you guys have ever done in terms of sending emails from your sql server.Is there a way of sending emails from sql server using another SMTP server on another box(same domain thought)? |
#9
| |||
| |||
|
|
The equivalent to XPSMTP is available for DTS 2000 as a DTS Custom Task, see: http://sqldev.net/dts/SMTPTask.htm GertD (AT) SQLDev (DOT) Net Please reply only to the newsgroups. This posting is provided "AS IS" with no warranties, and confers no rights. You assume all risk for your use. Copyright © SQLDev.Net 1991-2005 All rights reserved. "Ray5531" <RayAll (AT) microsft (DOT) com> wrote in message news:uU$Mz$PTFHA.3464 (AT) tk2msftngp13 (DOT) phx.gbl... I basically need to send emails from MY DTS packages and also some of my stored procedures.There is no way of having any MAPI compliant software installed on the productions database server,so I came up with the idea of installing an SMTP server and use the extended stored procedure introduced here(http://www.sqldev.net/xp/xpsmtp.htm). Now my database admin is nagging that I don't like to have something running in the SQL SERVER address space and my network admin is nagging that he dosen't want to have SMTP server installed on the production,because Microsoft dosen't recommand this. I just wondered whay you guys have ever done in terms of sending emails from your sql server.Is there a way of sending emails from sql server using another SMTP server on another box(same domain thought)? |
#10
| |||
| |||
|
|
One thing about the SMTPTask is that it expires as of June 2005. It is mentioned at the very bottom of page. I don't know if that means it stops working, or what. "Gert E.R. Drapers" wrote: The equivalent to XPSMTP is available for DTS 2000 as a DTS Custom Task, see: http://sqldev.net/dts/SMTPTask.htm GertD (AT) SQLDev (DOT) Net Please reply only to the newsgroups. This posting is provided "AS IS" with no warranties, and confers no rights. You assume all risk for your use. Copyright © SQLDev.Net 1991-2005 All rights reserved. "Ray5531" <RayAll (AT) microsft (DOT) com> wrote in message news:uU$Mz$PTFHA.3464 (AT) tk2msftngp13 (DOT) phx.gbl... I basically need to send emails from MY DTS packages and also some of my stored procedures.There is no way of having any MAPI compliant software installed on the productions database server,so I came up with the idea of installing an SMTP server and use the extended stored procedure introduced here(http://www.sqldev.net/xp/xpsmtp.htm). Now my database admin is nagging that I don't like to have something running in the SQL SERVER address space and my network admin is nagging that he dosen't want to have SMTP server installed on the production,because Microsoft dosen't recommand this. I just wondered whay you guys have ever done in terms of sending emails from your sql server.Is there a way of sending emails from sql server using another SMTP server on another box(same domain thought)? |
![]() |
| Thread Tools | |
| Display Modes | |
| |