BizTalk Server General - Send Email w/o orchestration?

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server General > June 2004 > Send Email w/o orchestration?





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Send Email w/o orchestration?
Chad Simons

2004-06-26, 10:51 am

Using BTS2004, without having HWS as an option, is it possible for BizTalk to send e-mail w/o using an orchestration?

Using the SDK's SendMail as an example. If the Port's Address/MailTo is static and the Message's Subject is static, do I need to use an orchestration?

I have many .net solutions in this environment using System.Web.Mail.SMTPMail to generate e-mail after constructing the message and, sometimes, applying XSL Templates.

I'm looking into the benefits of establishing BTS2004 as our messaging service provider, but it is an environment w/ a tremondous amount of comfort in C#.net and limited BTS2004 knowledge; so the primary benefit will come from code-reduction and eliminati
on of points-of-failure.

If I'm able to setup a monitored folder(s) of *.xml documents, and I'm able to use a custom pipeline to apply an XSL Template, then this could be successful; the C#'ers would only have to write the XML document to the proper location and maintain the XSLT
( I suppose I could even setup a WebService to handle the routing of the XmlDocument to the correct folder). The C# code utilizing the SMTPMail class could then be removed and we don't need to worry about nearly-all servers sending e-mail.

But, if I have to use an orchestration, this is construed as "BizTalk code" and no more benefitial than using the SMTPMail class.

Any thoughts?
Thanks,
Chad
"C#-er", with just enough BTS2004 knowledge to be dangerous ;)
Christof

2004-06-26, 10:51 am

There's a great webcast explaining this actually.

You may send outbound mail without using orchestration.

However, if your looking at biztalk to create your "mailserver" with it...
that's most probably not a good idea. (Not only expensive but it's focus is
just not a mailings as a kind of "marketing engine", but rather on mailings
as a vehicle for data transport...)

Best regards,
Christof


"Chad Simons" <Chad Simons@discussions.microsoft.com> wrote in message
news:55BC99E6-B811-495B-8C74-38B9372DC821@microsoft.com...
> Using BTS2004, without having HWS as an option, is it possible for BizTalk

to send e-mail w/o using an orchestration?
>
> Using the SDK's SendMail as an example. If the Port's Address/MailTo is

static and the Message's Subject is static, do I need to use an
orchestration?
>
> I have many .net solutions in this environment using

System.Web.Mail.SMTPMail to generate e-mail after constructing the message
and, sometimes, applying XSL Templates.
>
> I'm looking into the benefits of establishing BTS2004 as our messaging

service provider, but it is an environment w/ a tremondous amount of comfort
in C#.net and limited BTS2004 knowledge; so the primary benefit will come
from code-reduction and elimination of points-of-failure.
>
> If I'm able to setup a monitored folder(s) of *.xml documents, and I'm

able to use a custom pipeline to apply an XSL Template, then this could be
successful; the C#'ers would only have to write the XML document to the
proper location and maintain the XSLT ( I suppose I could even setup a
WebService to handle the routing of the XmlDocument to the correct folder).
The C# code utilizing the SMTPMail class could then be removed and we don't
need to worry about nearly-all servers sending e-mail.
>
> But, if I have to use an orchestration, this is construed as "BizTalk

code" and no more benefitial than using the SMTPMail class.
>
> Any thoughts?
> Thanks,
> Chad
> "C#-er", with just enough BTS2004 knowledge to be dangerous ;)



Jan Eliasen

2004-06-26, 10:51 am

Hi

What would be the title of that webcast?

Thanks

Jan Eliasen

On Tue, 22 Jun 2004 20:06:38 +0200, "Christof"
<bts2004communityfeedback (at) hotmail (dot) com> wrote:

>There's a great webcast explaining this actually.
>
>You may send outbound mail without using orchestration.
>
>However, if your looking at biztalk to create your "mailserver" with it...
>that's most probably not a good idea. (Not only expensive but it's focus is
>just not a mailings as a kind of "marketing engine", but rather on mailings
>as a vehicle for data transport...)
>
>Best regards,
>Christof
>
>
>"Chad Simons" <Chad Simons@discussions.microsoft.com> wrote in message
>news:55BC99E6-B811-495B-8C74-38B9372DC821@microsoft.com...
>to send e-mail w/o using an orchestration?
>static and the Message's Subject is static, do I need to use an
>orchestration?
>System.Web.Mail.SMTPMail to generate e-mail after constructing the message
>and, sometimes, applying XSL Templates.
>service provider, but it is an environment w/ a tremondous amount of comfort
>in C#.net and limited BTS2004 knowledge; so the primary benefit will come
>from code-reduction and elimination of points-of-failure.
>able to use a custom pipeline to apply an XSL Template, then this could be
>successful; the C#'ers would only have to write the XML document to the
>proper location and maintain the XSLT ( I suppose I could even setup a
>WebService to handle the routing of the XmlDocument to the correct folder).
>The C# code utilizing the SMTPMail class could then be removed and we don't
>need to worry about nearly-all servers sending e-mail.
>code" and no more benefitial than using the SMTPMail class.
>


--
Jan Eliasen, representing himself and not the company he works for.
Christof

2004-06-26, 10:51 am

I'm sorry Jan, don't know this by hard... Scott Woodgate presented a
webcast showing some fairly advanced mail stuff using multipart,
attachments, HTML, ...

(Could have been the infopath webcast as well... just a guess.)

Best regards,
Christof


"Jan Eliasen" <spam@eliasen.dk> wrote in message
news:5bdid05vvr29ut4bvlmicv0ntnv2a65qme@
4ax.com...
> Hi
>
> What would be the title of that webcast?
>
> Thanks
>
> Jan Eliasen
>
> On Tue, 22 Jun 2004 20:06:38 +0200, "Christof"
> <bts2004communityfeedback (at) hotmail (dot) com> wrote:
>
it...[vbcol=seagreen]
is[vbcol=seagreen]
mailings[vbcol=seagreen]
BizTalk[vbcol=seagreen]
is[vbcol=seagreen]
message[vbcol=seagreen]
comfort[vbcol=seagreen]
be[vbcol=seagreen]
folder).[vbcol=seagreen]
don't[vbcol=seagreen]
>
> --
> Jan Eliasen, representing himself and not the company he works for.



Chad Simons

2004-06-26, 10:51 am

There was a WebCast of Scott's on 4/19 titled 'InfoPath SP1 and BizTalk Server', but this used orchestrations extensively. I looked as far back as early February, but was not able to find any webcasts; perhaps I missed it.

At any rate, it looks like I've figured this out. I'll create another posting shortly that covers how to send e-mail without using an orchestration.

Thanks,
Chad

"Christof" wrote:

> I'm sorry Jan, don't know this by hard... Scott Woodgate presented a
> webcast showing some fairly advanced mail stuff using multipart,
> attachments, HTML, ...
>
> (Could have been the infopath webcast as well... just a guess.)
>
> Best regards,
> Christof
>
>
> "Jan Eliasen" <spam@eliasen.dk> wrote in message
> news:5bdid05vvr29ut4bvlmicv0ntnv2a65qme@
4ax.com...
> it...
> is
> mailings
> BizTalk
> is
> message
> comfort
> be
> folder).
> don't
>
>
>

Chad Simons

2004-06-26, 10:51 am

1) Create and deploy custom send pipeline to apply XSLT.
2) Create a Receive Port (One-Way), using default configuration settings.
3) Add a Receive Location to the Port:
Transport Type: File
Address: (folder to monitor)
Receive Pipeline: DefaultPipelines.PassThruReceive
4) Create a Send Port:
(Primary Transport) Transport Type: SMTP
(Primary Transport) Address: STATIC receipient settings/Handler override
(Send) Send Pipeline: Custom Send Pipeline from step #1
(Filters & Maps) Filters: BTS.ReceivePortName == (receive Port created in step #2).
This results in the send port subscribing to the receive port's messsages.



Notes: I set the DataSet's namespace to string.empty prior to writing the XMLDocument to the monitored folder.


"Chad Simons" wrote:
[vbcol=seagreen]
> There was a WebCast of Scott's on 4/19 titled 'InfoPath SP1 and BizTalk Server', but this used orchestrations extensively. I looked as far back as early February, but was not able to find any webcasts; perhaps I missed it.
>
> At any rate, it looks like I've figured this out. I'll create another posting shortly that covers how to send e-mail without using an orchestration.
>
> Thanks,
> Chad
>
> "Christof" wrote:
>
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com