GVMS-EMail Brexit Änderung für Mathias
This commit is contained in:
@@ -5465,6 +5465,13 @@ Public Class frmSendungsdetailsNEU
|
|||||||
|
|
||||||
Mail = CType(olSess.OpenSharedItem(PathTmpANH), Outlook.MailItem)
|
Mail = CType(olSess.OpenSharedItem(PathTmpANH), Outlook.MailItem)
|
||||||
|
|
||||||
|
Dim accounts = olSess.Accounts
|
||||||
|
Dim account As Outlook.Account
|
||||||
|
|
||||||
|
For Each account In accounts
|
||||||
|
If account.UserName.ToString = "brexit" Then Mail.SendUsingAccount = account
|
||||||
|
Next
|
||||||
|
|
||||||
Mail = Mail.ReplyAll
|
Mail = Mail.ReplyAll
|
||||||
isReply = True
|
isReply = True
|
||||||
|
|
||||||
@@ -5548,12 +5555,12 @@ Public Class frmSendungsdetailsNEU
|
|||||||
|
|
||||||
If isReply Then
|
If isReply Then
|
||||||
|
|
||||||
Dim HTML = DETextHTML & ENTextHTML & TextHTMLtable & EndTextHTML & SDL.cFakturierung.getSignature("DE") & Mail.HTMLBody
|
Dim HTML = DETextHTML & ENTextHTML & TextHTMLtable & EndTextHTML & SDL.cFakturierung.getSignature("EN",,,, "BREXIT_VERAG") & Mail.HTMLBody
|
||||||
Mail.HTMLBody = HTML
|
Mail.HTMLBody = HTML
|
||||||
Mail.Display()
|
Mail.Display()
|
||||||
Else
|
Else
|
||||||
|
|
||||||
Mail.HTMLBody = "<div style=""font-family:Calibri, Arial;font-size:15px;"">" & DETextHTML & ENTextHTML & TextHTMLtable & EndTextHTML & SDL.cFakturierung.getSignature("DE") & "</div>"
|
Mail.HTMLBody = "<div style=""font-family:Calibri, Arial;font-size:15px;"">" & DETextHTML & ENTextHTML & TextHTMLtable & EndTextHTML & SDL.cFakturierung.getSignature("EN",,,, "BREXIT_VERAG") & "</div>"
|
||||||
Mail.Display()
|
Mail.Display()
|
||||||
End If
|
End If
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user