Merge branch 'master' of https://verag.visualstudio.com/AVISO/_git/AVISO
This commit is contained in:
@@ -5465,16 +5465,19 @@ 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.SentOnBehalfOfName = "brexit@verag.ag" 'account.SmtpAddress.ToString
|
||||
|
||||
For Each account In accounts
|
||||
If account.UserName.ToString = "brexit" Then Mail.SendUsingAccount = account
|
||||
Next
|
||||
' End If
|
||||
'Next
|
||||
|
||||
Mail = Mail.ReplyAll
|
||||
isReply = True
|
||||
|
||||
Reference in New Issue
Block a user