Skip to Content

Receiver Mail Adapter : Creating mail content

Hi Everyone,

We have a scenario, where we have to send mail through Receiver mail adapter. For sending the mail we are using Mail XSD. There is a element "CONTENT" in XSD which is used for the body for the mail.

We are using Graphical mapping to creating the mail body. We have a fixed format for mail body which include proper formatting, for this purpose we need to use new line character within XML Data.

Please help me out how to insert new line character with XML Data by using graphical mapping.

Thanks and Regards,

Vijay

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Aug 06, 2007 at 10:05 AM

    Simple option would be to use a UDF and create the string (body of your mail) with the formating using \n for new line character and \t for tab.

    You can also achieve this using XSLT mapping. There are some sample blogs in SDN on the same topic.

    Regards,

    Jai Shankar

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi

      If you want to use XSLT mapping you can use these

      /people/community.user/blog/2006/09/07/email-reporting

      /people/community.user/blog/2006/09/08/email-report-as-attachment-excelword

      Else you can use a User Defined Function usinf formatting characters, which will be easy.

      Thanks