Re: CDOSYS Mail Problem: Win2003 Server?
From: TomT (tomt_at_tomt.com)
Date: 11/12/04
- Next message: SMV: "Re: drop table in the stored procedure"
- Previous message: Ram Kumar Koditala: "RE: Cursor/temp table queston"
- In reply to: Aaron [SQL Server MVP]: "Re: CDOSYS Mail Problem: Win2003 Server?"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 12 Nov 2004 10:58:01 -0800
I got mixed up with xp_sendmail with that last message, xp_smtp_sendmail is
just fine, thanks.
The other code (using cdo) was cribbed off a web site quite some time ago.
I'm glad to be done with it, to be honest. At the time, it appeared the only
solution.
Thanks for all your help, and I think I'll skip the "investigation into the
possible values for SendUsing", at least for now...
Thanks
"Aaron [SQL Server MVP]" wrote:
> > I'm still curious, however, why the previous method fails under Windows
> > Server 2003.
>
> SET @cdoSendUsingPort = 25
>
> This is the property "send using port" meaning "use a port, rather than the
> pickup folder", not to be confused with the property "smtpserverport"
> meaning "use THIS port."
>
> Using xp_smtp_sendmail, you don't have 80 lines of configuration code to
> confuse you, and you also don't go about populating the different properties
> in different ways (why do you use a variable for cdoSendUsingPort but not
> for smtpServerPort???).
>
> I would tell you how to fix it, but since I feel very strongly that you
> should *NOT* be using CDO here, I will leave the investigation into the
> possible values for SendUsing as an exercise for the reader.
>
> > I do need the @from functionality, as this process is used to send out
> order
> > confirmations, and other mail to customers which needs to be from
> different
> > departments.
>
> And just like CDO, xp_smtp_sendmail provides this functionality, so I'm not
> sure what the fuss is about.
>
> A
>
>
>
- Next message: SMV: "Re: drop table in the stored procedure"
- Previous message: Ram Kumar Koditala: "RE: Cursor/temp table queston"
- In reply to: Aaron [SQL Server MVP]: "Re: CDOSYS Mail Problem: Win2003 Server?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|