Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

Email Body and after email

edited August 2009 in General
I am trying to add the contents of a memo field to the Body of an email.
What is the correct syntax please.


Also is there a 'on email complete' event so I can action code if the email
has not been cancelled by the client.

Cheers

Steve W

Comments

  • edited August 2009
    Also how do I add the signatures to the email or add a logo to the body.

    Cheers

    SteveW
  • edited August 2009
    Hi Steve,

    The EmailSettings.Body property is a TStringList. You can simply assign the
    Memo.Lines property to the EmailSettings.Body property to set the contents
    of the memo to the body of the email.

    There is no OnComplete event however you can use the OnStatusChange event of
    the TppEmail object to determine when the email has been sent. Status =
    Success means the email has been successfully sent.

    Adding a signature to the body must be done manually after the rest of the
    text has been assigned. Images/HTML emails are not currently supported for
    the MAPI and Indy plugins. The EasyMAPI plugin does support this however
    you will need to purchase EasyMAPI in order to utilize this feature.

    http://www.rapware.com

    --
    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
This discussion has been closed.