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 3 of 5 Topic 4115 of 4234
Post > Topic >>

Re: Sending HTML-based email with SMTP adapter

by "Zoe Hart" <zoe.hart@[EMAIL PROTECTED] > May 7, 2008 at 11:07 AM

That's very helpful. Using "raw string formatter" as a search string has 
helped me find several examples and piecing together information from all
of 
them, I think I see how to make it work. I'm working on implementing it
now.
Thanks.

Zoe

"Yossi Dahan [MVP]" <yossi.dahan@[EMAIL PROTECTED]
> wrote in message 
news:A548D74D-75BB-4C11-82AD-D91D7DEE9677@[EMAIL PROTECTED]
> 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 Thu Jan 8 17:39:04 PST 2009.