Jimbo99999
asked on
VB.Net - o365 and Email
Good Day Experts!
Recently our email here was updated to o365. Now my VB.Net system emailing routines are failing. When there is an attachment I get no body in the email. When there is no attachment I get data in the body. Before o365 was installed the emailing had been working great for over 3yrs.
Can you help with any suggestions to look at?
Thanks,
jimbo99999
Recently our email here was updated to o365. Now my VB.Net system emailing routines are failing. When there is an attachment I get no body in the email. When there is no attachment I get data in the body. Before o365 was installed the emailing had been working great for over 3yrs.
Can you help with any suggestions to look at?
Thanks,
jimbo99999
What are you using to send emails? Can you show some code?
ASKER
Dim EmailBody As String
EmailBody = "Error occurred during Export: "
EmailBody = EmailBody & ExportException
EmailBody = EmailBody & "<br><br>"
EmailBody = EmailBody & Date.Now
mailer = CreateObject("ArclabEmailT oolbox.Mai ler")
mailer.Serial = "UZI2-0053-0197-3271-XCVY"
'************************'
'Connection to get Server'
'************************'
Dim Server As String = ""
--> retrieving mail URL from db and setting to Server variable
mailer.Server = Server
mailer.ESMTP = 0
mailer.ESMTPUser = "support@help.com"
mailer.ESMTPPassword = "chuckie"
mailer.From = "support@help.com"
mailer.FromName = "Report Generator"
mailer.AddCC(" ")
mailer.AddCC(" ")
mailer.AddCC(" ")
mailer.AddCC(" ")
mailer.AddTo(" ")
mailer.AddTo(" ")
EmailBody = "Error occurred during Export: "
EmailBody = EmailBody & ExportException
EmailBody = EmailBody & "<br><br>"
EmailBody = EmailBody & Date.Now
mailer = CreateObject("ArclabEmailT
mailer.Serial = "UZI2-0053-0197-3271-XCVY"
'************************'
'Connection to get Server'
'************************'
Dim Server As String = ""
--> retrieving mail URL from db and setting to Server variable
mailer.Server = Server
mailer.ESMTP = 0
mailer.ESMTPUser = "support@help.com"
mailer.ESMTPPassword = "chuckie"
mailer.From = "support@help.com"
mailer.FromName = "Report Generator"
mailer.AddCC(" ")
mailer.AddCC(" ")
mailer.AddCC(" ")
mailer.AddCC(" ")
mailer.AddTo(" ")
mailer.AddTo(" ")
so you are using the arclab library? Better contact them directly!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
That is an excellent article. I am going to try it out here in a little bit.
Thanks,
jimbo99999
Thanks,
jimbo99999
ASKER
I had the following line of code that did not get pasted into my above code:
mailer.Priority = 1
When I commented out that line, my message body is back when there is an attachment.
Thanks,
jimbo99999
mailer.Priority = 1
When I commented out that line, my message body is back when there is an attachment.
Thanks,
jimbo99999
this is tricky!