Outlook
メールを送信するために使用しようとしてHTML table
いOutlook body
ます。
これは私が行ったことですが、を追加しようとしていますが、を追加しようとはしてHTMLtags
いませんdesign
。
Dim body As String
objOutlook = CType(CreateObject("Outlook.Application"), Outlook.Application)
objEmail = objOutlook.CreateItem(Outlook.OlItemType.olMailItem)
Dim strb As New StringBuilder
strb.Append("<table width='600px' align='center' border='0' cellpadding='0' cellspacing='0' style='border-top:5px solid white;'")
strb.Append("<tr><td>S.No</td><td>AccountID</td><td>ChargeEntryControl</td><td>PaymentPostingControl</td></tr></table>")
body = "Hi,
body += strb.ToString