Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

VB.Net - o365 and Email

Posted on 2016-09-12
7
Medium Priority
?
58 Views
Last Modified: 2016-09-13
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
0
Comment
Question by:Jimbo99999
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
7 Comments
 
LVL 70

Expert Comment

by:Éric Moreau
ID: 41795024
What are you using to send emails? Can you show some code?
0
 

Author Comment

by:Jimbo99999
ID: 41795047
Dim EmailBody As String
            EmailBody = "Error occurred during Export: "
            EmailBody = EmailBody & ExportException
            EmailBody = EmailBody & "<br><br>"
            EmailBody = EmailBody & Date.Now
            mailer = CreateObject("ArclabEmailToolbox.Mailer")
            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(" ")
0
 
LVL 70

Expert Comment

by:Éric Moreau
ID: 41795222
so you are using the arclab library? Better contact them directly!
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 70

Accepted Solution

by:
Éric Moreau earned 2000 total points
ID: 41795229
if you want to switch to the builtin .Net library, have a look at http://emoreau.com/Entries/Articles/2007/09/Using-SystemNetMail.aspx
0
 

Author Comment

by:Jimbo99999
ID: 41795246
That is an excellent article.  I am going to try it out here in a little bit.

Thanks,
jimbo99999
0
 

Author Comment

by:Jimbo99999
ID: 41796764
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
0
 
LVL 70

Expert Comment

by:Éric Moreau
ID: 41796770
this is tricky!
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article explains how to create and use a custom WaterMark textbox class.  The custom WaterMark textbox class allows you to set the WaterMark Background Color and WaterMark text at design time.   IMAGE OF WATERMARKS STEPS Create VB …
Creating an analog clock UserControl seems fairly straight forward.  It is, after all, essentially just a circle with several lines in it!  Two common approaches for rendering an analog clock typically involve either manually calculating points with…
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…
Suggested Courses

596 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question