Image in Email

varodavaroda Member Posts: 7
Hello, I want to add a image to a email using Codeunit 397 (Mail). How can I do this?, I can do it using the Automation of Outlook but I need to use the codeunit 397.

Thanks.

Comments

  • crisnicolascrisnicolas Member Posts: 177
    How do you want to add the image? As an attachment or as the body of the e-mail?
  • matttraxmatttrax Member Posts: 2,309
    You're really better off using Codeunit 400, SMTP Mail. You can create HTML formatted emails easily from there. If for some reason you can't do that then you'll have to modify codeunit 397 (BodyFormat I think) to create HTML mail.
Sign In or Register to comment.