vb.net - Create Outlook message with Signture in Visual Basic -
with code below can open open message in outlook , add subject line , text in body.
the problem have doesn't keep or use users signature.
any thoughts on how keep or use signature?
dim outlook object outlook = createobject("outlook.application") if outlook isnot nothing dim omsg object omsg = outlook.createitem(0) omsg.subject = "your case reference is" & omsg.body = "hi" & vbnewline & vbnewline & _ omsg.display(false) end if
call display first - when signature added body.
you need merge htmlbody property signature own text. keep in mind cannot concatenate 2 html strings.
Comments
Post a Comment