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
  • 1.  Sending XML as an email using SMTP service

    Posted Tue April 05, 2005 04:33 PM

    I am generating a Doc containg error report.I need to send it as an attachment using smtp service.Can some body please tell me what should i fill in for content type and file name( the Document is getting populated from different sources ,It was not saved to any location)…Thanks in advance

    saritha


    #Integration-Server-and-ESB
    #webMethods
    #Flow-and-Java-services


  • 2.  RE: Sending XML as an email using SMTP service

    Posted Tue April 05, 2005 05:50 PM

    Saritha,

    The content type reflects the type of the data or content of the file that you are attaching, so that it may be handled by an appropriate handler when opened. It depends on the type of file you are attaching, for example:

    Simple text file… text/plain
    XML file… text/xml
    MS Excel file… application/vnd.ms-excel

    Filename should be the name that you want the recipient of the mail to see in the attachment. Let’s say you are attaching an xml file that serves the purpose of an error report, you may use Content-Type=‘text/xml’ and the Filename=‘errorReport.xml’

    HTH, Rohit


    #webMethods
    #Integration-Server-and-ESB
    #Flow-and-Java-services


  • 3.  RE: Sending XML as an email using SMTP service

    Posted Tue April 05, 2005 07:36 PM


  • 4.  RE: Sending XML as an email using SMTP service

    Posted Tue April 05, 2005 07:36 PM


  • 5.  RE: Sending XML as an email using SMTP service

    Posted Fri June 05, 2009 08:49 PM

    I have a php redirecting script up and I am trying to send a fillable PDF form. The php script was written to send the information from an HTML form but the PDF form is in xml.

    Can I simply change the content id to make it send as xml or no?

    I have tried everything I could think of and I am out of options.

    Also, if this will not work do you know of a method or script that will allow me to have the pdf file redirected into my personal email?


    #webMethods
    #Flow-and-Java-services
    #Integration-Server-and-ESB