I recently posted about a file attachment issue which is resolved but I found that the email I am sending, which is a notification, has formatting associated with its template. by formatting i mean the company logo and such.
code which works is:
var sender = new NotificationGenerator
{
To = jmSetup.EmailTo,
Subject = "File",
Body = "",
BodyFormat = EmailFormatListAttribute.Text,
AttachmentsID = attachementsID,
RefNoteID = jmSetup.Noteid
};
sender.Send();
I am looking to send the attachment I created in a blank email. How do I get rid of the formatting for the email just for this one send, not all Notifications, only the one I send from this screen in the above code?
I was thinking part of it might be to change it to EmailFormatListAttribute.HTML (images at least will go away)