Skip to Content
avatar image
Former Member

Problems sending email with attached image

Hi all,

I'm generating dynamically a chart and trying to send it as an attached image of my email.

The chart is being generating correctly, I'm using a Image Loader to load this chart then passing it EncodedImage as AttachmentContent of my SendMail component, I'm also passing the full path of this image(I'm using a network path that I HAVE ACCESS, could this be the problem?) in Attachment, and "image/gif" as AttachmentContentType.

I'm using xMII 12.0.1

I would appreciate some help.

Thanks in advance.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Oct 30, 2007 at 04:20 PM

    Hi all,

    I solved the problem.

    I was generating a chart dynamically and saving it, after that I was loading the image and passing the loaded EncondedImage to my SendMail object.

    To solve the problem I'm passing the EncodedImage of the Chart Object, instead of using the EncodedImage of the ImageLoaded object. Now everything is working fine.

    But I would like some reply explaining why the Image Loader Encoded Image did not work.

    Thanks

    Add comment
    10|10000 characters needed characters exceeded