BizTalk Server General - Send text email

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server General > October 2005 > Send text email





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 text email
Jan Eliasen

2005-10-25, 7:47 am

Hi

I have a dynamic port in my orchestration. At runtime, I set the
emailaddress of this port to mailto:some@mail.address and this is
working just great.

The email I want to send to this emailaddress is a message of type
"System.String" - it is just a string. Using either the Default XML
Pipeline or the passthrough pipeline, the email will look like this:
<?xml version="1.0"?><string>the content of my message</string>

But I'd like the string to be in text format - how do I do that?

I have tried using a custom send pipeline. I used the flat file
assembler and the MIME/SMIME decoder, but that gave me the error you
can see in http://www.eliasen.dk/biztalk/flatfileemailerror.gif

Any thoughts?

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

2005-10-25, 5:52 pm

Hi,

You might have to use a special class named "RawString" with a pass thru
pipeline to send a string from an Orchestration and this is documented in the
SDK.

Take a look at

http://msdn.microsoft.com/library/d..._email_ijqb.asp

Hope this helps.
--
Deepak
http://biztalkblogs.com/deepakl



"Jan Eliasen" wrote:

> Hi
>
> I have a dynamic port in my orchestration. At runtime, I set the
> emailaddress of this port to mailto:some@mail.address and this is
> working just great.
>
> The email I want to send to this emailaddress is a message of type
> "System.String" - it is just a string. Using either the Default XML
> Pipeline or the passthrough pipeline, the email will look like this:
> <?xml version="1.0"?><string>the content of my message</string>
>
> But I'd like the string to be in text format - how do I do that?
>
> I have tried using a custom send pipeline. I used the flat file
> assembler and the MIME/SMIME decoder, but that gave me the error you
> can see in http://www.eliasen.dk/biztalk/flatfileemailerror.gif
>
> Any thoughts?
>
> --
> Jan Eliasen, representing himself and not the company he works for.
>

Jan Eliasen

2005-10-25, 5:52 pm

On Tue, 25 Oct 2005 06:11:05 -0700, "Deepak Lakshmanan"
<DeepakLakshmanan@discussions.microsoft.com> wrote:

>You might have to use a special class named "RawString" with a pass thru
>pipeline to send a string from an Orchestration and this is documented in the
>SDK.

Hi

Thanks for your help. I have decided that that is a bit silly for me,
and have done the coding in a custom .NET component instead.

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






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com