I have a database that sends emails using an "Outlook.Application". Now the client has changed to Office 365 and it no longer works, it is sending emails from "YourDomain.com". How do I send emails using Office 365 instead?
I have a database that sends emails using an "Outlook.Application". Now the client has changed to Office 365 and it no longer works, it is sending emails from "YourDomain.com". How do I send emails using Office 365 instead?
Unfortunately the term 'Office 365' can mean many different things..... I can say that the classic Access send mail object requires/triggers an email PC client - i.e. Windows Live Mail, Outlook client..... and does not work for instance with any browser based email system. So that the Access front end file and the email client must coexist on the same PC. Hopefully this helps.....
Maybe it does - if it is as simple as co-existing on the same PC. That would be nice! I haven't worked with it at all so I guess my coding is as you say, classic, lol. All they told me is that they installed Office 365, so what it means is anyone's guess. I haven't been able to find anything about it on the web about it at all.
If I had to guess, they are using Exchange Online. As mentioned, add the account to a Client like Outlook. Otherwise, if there is not an account installed in Outlook, you might have to use CDO.
Having said that, what does "...it is sending emails from 'YourDomain.com'.", mean? Sounds like it is working to me. They just need to fix some settings in the Email client so it does not tell people their Email address is 'YourDomain.com'.
Thanks for your help and suggestions. I will post the solution when it comes.