Moustafa Refaat
Login   Search
Skip Navigation Links
Home
Publications
Service Offerings
Downloads and Samples
My Resume
Endorsements
Contact Me
Books
Technical Articles
Software Packages
Scroll up
Scroll down
BizTalk The Practical Course
Mastering The BizTalk Technical Interview
Soduku:Challenging Puzzels
Scroll up
Scroll down
Design Patterns Review
Software Architecture Basics Review
Simplified BizTalk Content Based Routing for a Pass_Throu data
An Extensible Light Xml Rules Engine Component
Secure Messaging Solution
Create a SQL Database Programmatically
BizTalk Unzip Adapter
Implementing Singleton pattern with BizTalk Orchestrations
Developing BizTalk Custom Adapters
The BizTalk ESB Toolkit 2.0 experience Series
Scroll up
Scroll down
Setting the ESB Toolkit on the 64 Bit Machines
How The ESB Works
Sample Custom Resolver
Scroll up
Scroll down
Recent Training
Scroll up
Scroll down

News List

  • Toronto Code Camp Presentation is uploaded
  • BizTalk: The Practical Course is recommended by Micorsoft
  • Canadian Gigs Network (www.CanadianGigs.Net) a job web site focusing on Canadian Jobs
  • BizTalk Technical Interview Preparation
  • GT-DataSafe© Online Backup for Amazon Storage Services 3.0 is released
  • Soduku Challenging Puzzles
  • BizTalk: The Practical Course
  • Mastering The BizTalk Technical Interview is Published.

Technical Articles

  • SharePoint List Simplified Configuration Store
  • WCF and xsd:choice how to implement!
  • WCF: Refactoring a Plain old XML web service to a WCF Service
  • Setting the ESB Toolkit on the 64 Bit Machines
  • The BizTalk ESB Toolkit 2.0 experience Series
Skip Navigation Links
> Blog entries about: EMail
BizTalk SMTP Adapter and Macfee causes error "0x800ccc15"

I am using an SMTP port to send notifications and kept getting a logs in  the event viewer application logAs follows:

The adapter failed on an attempt to transmit a message going to send port with the address xxx@ddd.ca. Details: "The message could not be sent to the SMTP server. The transport error code was 0x800ccc15. The server response was not available
". For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp 

It turns out this is the reason is McAfee virus Scan blocks mass mailing worms. To correct this:

  1. Go to the console (for me, right-click the systray icon and select console from the pop-up menu).
  2. Select "Access Protection"
  3. On the "Port Blocking" tab, de-select "Prevent mass mailing worms from sending email" on port 25.

 

{24/06/2009 6:51 AM} {0 comments}  {Tags: BizTalk, EMail}
BTS: Sending Email in HTML or Text Format form BizTalk 2004
  I needed to send an email directly from BTS 2004; this was part of an error handling mechanism. However going through a Schema was too much all I needed is to be able to assemble a string and send it through a SMTP port.  As you know E-mail messages always contain message text, generally in a text or html format, and may contain one or more attachments as well. I needed to send the Email in HTML format. After going through the SDK and the documentation, I could not find an easy well documented solution for this. So I had to assemble the solution attached with this submission.
Sending a message of type System.String will not work, because the string gets formatted as an XML document in the message, which is not my desired solution. To send text in an e-mail message, you must use a special type of string, a string that has special serialization with the XML, in other words implements IFormatter interface. In the attached solution you will find  class “RawString” which implements IFormatter. You also need to implement a pipeline containing the MIME/SMIME Encoder pipeline component. Now we have to tell the MIME/SMIME pipeline component that it is dealing with a body with content type of text/html through
The Microsoft.XLANGs.BaseTypes.XLANGPart.SetPartProperty method.
So the solution consists of
  1. A library class that contains the RawString class and Part class to make it easy to set the type of the message
  2. A BTS project that contain a pipeline to use for sending the email.
  3. A simple orchestration that accepts a simple file schema and just sends the email. The input file in this example is empty it is just used to fire the orchestration.
Hope this would make your development project easier. Let me know what you think . You can download the code from the downloads and Samples
{08/12/2004 9:12 PM} {0 comments}  {Tags: BizTalk, EMail}

Copyright © Moustafa Refaat 2004 - 2009. All Rights Reserved.