webMethods

webMethods

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
Expand all | Collapse all

Sending HTML Formatted Emails

  • 1.  Sending HTML Formatted Emails

    Posted Fri September 05, 2003 02:13 PM

    Hi,

    I need to send emails which are HTML formatted using the Email Adapter provided by WM. I realized that this was not possible directly and hence decided to import javax.mail.internet.* and other packages and write code myself to create a MimeMessage and send it using the SMTP server. For doing this I now have with me the mail.jar and activation.jar files downloaded from sun. I need to know the following

    1. Where do I place these files (Currently they are in one of the lib folders in the EnterpriseServer5 Directory - WINNT)

    2. How do I access these packages from within my customCode in the adapter component ( I read from previous posts on this forum that I need to include complete file path to these .jar files in the CLASSPATH field of the java tab of the adapter configuration - I tried doing this but even after restarting the adapter i get an error while compiling the code saying that Package not found … ).

    I am stuck here… and would greatly appreciate any help moving forward. Looking forward for some useful tip …

    Regards,
    Vikram Wani


    #Integration-Server-and-ESB
    #webMethods


  • 2.  RE: Sending HTML Formatted Emails

    Posted Wed September 24, 2003 06:44 PM

    Hi vikram,

    try this…
    run the tepmlate on pipe.in stmp set the type to “text/html”

    this should work.


    #Integration-Server-and-ESB
    #webMethods