Re: [go-nuts] Re: Go and Microsoft Outlook
On Sat, 16 Feb 2019 11:53:14 -0800 (PST) Andrew wrote: > 2019/02/16 11:51:24 504 5.7.4 Unrecognized authentication type Log says everything in plain words. Your (MS) exchange account is not configured to use plaintext passwords (as it certainly should not be). >:auth := smtp.PlainAuth("","usern...@example.tld", "password", host) You need to use smtp auth that is supported on your smtp account. Talk to your admin, likely CRAMMD5[1] will be avaliable. [1] https://godoc.org/net/smtp#CRAMMD5Auth Hope this helps, -- Wojciech S. Czarnecki << ^oo^ >> OHIR-RIPE -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[go-nuts] Re: Go and Microsoft Outlook
Only if golang is a panacea to you. I'd use AutoIT perhaps... Am Samstag, 16. Februar 2019 08:40:52 UTC+1 schrieb Andrew: > > Our corporate using Outlook send/receive emails. I have some emails need > to send out routinely with the same content(book truck, ask for order > information, etc). > I want to write a simple web app with some buttons on the page(Book Truck, > for example), when I click the button, I want to send the email > automatically. > I know there's Microsoft Graph API which can do the job, but there's no > official Go client library for it. > > Is it possible to send email using Go and Outlook? > > Thanks, > Andrew > -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[go-nuts] Re: Go and Microsoft Outlook
Thanks, Can you please show me the example code? I've tried the code below by using my outlook account but get errors: https://gist.github.com/jim3ma/b5c9edeac77ac92157f8f8affa290f45 2019/02/16 11:51:24 504 5.7.4 Unrecognized authentication type [MWHPR13CA0009.namprd13.prod.outlook.com] panic: 504 5.7.4 Unrecognized authentication type [MWHPR13CA0009.namprd13.prod.outlook.com] -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.