Assuming your admin allowed smtp access to shared mailboxes, you add the mailbox name to user login name
Username\mailboxname
The mailbox name must be unquie. If not have admin create a unique alias.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hi to everybody,
i'm supposed to send an email as customer care from a shared mailbox to several addresses of my company customers.
i'm using mailkit library and i use this code
Dim contenutomail As New MimeKit.BodyBuilder
Dim smtpclient As New MailKit.Net.Smtp.SmtpClient
Dim mail As New MimeKit.MimeMessage
smtpclient.Connect("smtp.office365.com", 587, MailKit.Security.SecureSocketOptions.StartTls)
smtpclient.Authenticate("email address removed for privacy reasons", "Aprile22")
mail.From.Add(New MimeKit.MailboxAddress("", "email address removed for privacy reasons"))
For i = 0 To mailinglist.Count - 1
mail.Bcc.Add((New MimeKit.MailboxAddress("",mailinglist(i).ToString)))
Next
contenutomail.TextBody = ""
contenutomail.HtmlBody = "hello world"
mail.Body = contenutomail.ToMessageBody
smtpclient.Send(mail)
smtpclient.Disconnect(True)
the problem is : sent mail are save in MY personal account SENT mailbox instead of shared SENT mailbox
can anyone help me ? i don't want to save a copy, i want the mail sent to be saved in the sent shared mailbox
I CAN T modify system registry of all computers..i'm not a system administrator.
could you help me ?
thanks
fabio``
Assuming your admin allowed smtp access to shared mailboxes, you add the mailbox name to user login name
Username\mailboxname
The mailbox name must be unquie. If not have admin create a unique alias.