Is it possible to access LetterHead in apex.I need to put the letter head in sethtmlbody method.How to access LetterHead.
UPDATED
Here the bt.value is displaying blank when contact is receiving an email but when I debug the value of bt.value it is showing some html code in it
BrandTemplate bt = [select id,Value from BrandTemplate where name='Standard Letterhead' limit 1];
Messaging.SingleEmailMessage mail = new Messaging.SingleEmailMessage();
String[] toAddresses = new String[] {Contact_Email__c};
mail.setToAddresses(toAddresses);
mail.setSenderDisplayName('Support');
mail.setSubject('Invoice');
mail.setBccSender(false);
mail.setUseSignature(false);
String messageBody = '<html>'+ bt.Value + '<body>'+ '<p>Dear '+ o.Contact__r.Name + ': </p>'+'Some TEXT'
mail.setHtmlBody(messageBody)
Messaging.sendEmail(new Messaging.SingleEmailMessage[] { mail });