Talk About Network

Google





Software > Biz Talk Orchestration > Re: Sending HTM...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 5 Topic 4115 of 4234
Post > Topic >>

Re: Sending HTML-based email with SMTP adapter

by "Yossi Dahan [MVP]" <yossi.dahan@[EMAIL PROTECTED] > May 6, 2008 at 05:18 PM

You will not need a schema for the HTML.
You will be sending your HTML as string out of BizTalk so all you need is
a 
schema with one element with an <xs:any processContents="skip" /> child to

allow any content (HTML content in your case)

you can then follow any of the "raw string formatter" examples out there. 
here's one -http://www.winterdom.com/weblog/CommentView,guid,532.aspx

Yossi Dahan

"Zoe Hart" <zoe.hart@[EMAIL PROTECTED]
> wrote in message 
news:eATdVQurIHA.2492@[EMAIL PROTECTED]
> I've seen simple examples of sending an XML message as the body of an 
> email message. And I've seen examples of using an external HTML file as 
> the body of the message. I assume it's not too hard to do what I want to

> do, but I haven't seen examples or references to what I want to do. I
want 
> to send an HTML-based email, the content of which is based on the
contents 
> of an XML message. So I assume I just need a map to map my XML message
to 
> the HTML I want in the mail message, but there are little details that
are 
> hanging me up. First of all, I'm kind of making up a schema for an HTML 
> do***ent:
> <html>
>    <body>
>        <a href="..."></a>
>    </body>
> </html>
> I'm not sure if there are good guidelines for defining the schema for an

> HTML mail message.
> If I map my XML message to the schema above and give it a namespace like

> http://mycompany.com/mymessage/v1,
then the output of the mapper has
that 
> namespace defined with prefix ns0: and all the nodes of the output html 
> are prefixed with ns0:, but with that namespace the browser doesn't 
> recognize basic tags like <a> as anchor tags.
> Are there any good examples of generating an HTML-based email from an
XML 
> message?
> Thanks,
> Zoe
>
 




 5 Posts in Topic:
Sending HTML-based email with SMTP adapter
"Zoe Hart" <  2008-05-05 15:13:17 
Re: Sending HTML-based email with SMTP adapter
"Yossi Dahan [MVP]&q  2008-05-06 17:18:34 
Re: Sending HTML-based email with SMTP adapter
"Zoe Hart" <  2008-05-07 11:07:53 
Re: Sending HTML-based email with SMTP adapter
=?Utf-8?B?VGhpYWdv?= <  2008-05-07 16:28:04 
Re: Sending HTML-based email with SMTP adapter
"Zoe Hart" <  2008-05-09 14:56:50 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
localhost-V2008-12-19 Fri Jan 9 3:16:01 PST 2009.