Gessamtsicherheiten, Gesamtsicherheiten, essensbestellungen

This commit is contained in:
2023-01-04 16:52:24 +01:00
parent 31af690dc4
commit 48b12b78f5
20 changed files with 3646 additions and 731 deletions

View File

@@ -5461,15 +5461,18 @@ Public Class frmSendungsdetailsNEU
Dim olSess = outl.Session
Dim accounts = olSess.Accounts
Dim account As Outlook.Account
Dim PathTmpANH = VERAG_PROG_ALLGEMEIN.cDATENSERVER.GET_PDFPath_BY_DocID(dgvAnhang.CurrentRow.Cells("anh_docId").Value)
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
If account.UserName.ToString = "brexit" Then
Mail.SentOnBehalfOfName = "brexit@verag.ag" 'account.SmtpAddress.ToString
End If
Next
Mail = Mail.ReplyAll