{"action":"created","issue":{"url":"https://api.github.com/repos/nodemailer/nodemailer/issues/949","repository_url":"https://api.github.com/repos/nodemailer/nodemailer","labels_url":"https://api.github.com/repos/nodemailer/nodemailer/issues/949/labels{/name}","comments_url":"https://api.github.com/repos/nodemailer/nodemailer/issues/949/comments","events_url":"https://api.github.com/repos/nodemailer/nodemailer/issues/949/events","html_url":"https://github.com/nodemailer/nodemailer/issues/949","id":373578388,"node_id":"MDU6SXNzdWUzNzM1NzgzODg=","number":949,"title":"nodemailer for office365 does not work with me!","user":{"login":"Alex1233456","id":44443550,"node_id":"MDQ6VXNlcjQ0NDQzNTUw","avatar_url":"https://avatars0.githubusercontent.com/u/44443550?v=4","gravatar_id":"","url":"https://api.github.com/users/Alex1233456","html_url":"https://github.com/Alex1233456","followers_url":"https://api.github.com/users/Alex1233456/followers","following_url":"https://api.github.com/users/Alex1233456/following{/other_user}","gists_url":"https://api.github.com/users/Alex1233456/gists{/gist_id}","starred_url":"https://api.github.com/users/Alex1233456/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Alex1233456/subscriptions","organizations_url":"https://api.github.com/users/Alex1233456/orgs","repos_url":"https://api.github.com/users/Alex1233456/repos","events_url":"https://api.github.com/users/Alex1233456/events{/privacy}","received_events_url":"https://api.github.com/users/Alex1233456/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2018-10-24T16:50:50Z","updated_at":"2018-11-06T05:31:08Z","closed_at":null,"author_association":"NONE","body":"i am trying to send email of office365 through nodemailder. \r\ni already posted it in Stack.O.V but no answer!\r\ni get this error, please help me: { Error: Invalid login: Mailbox cannot be accessed\r\n\r\ncode: 'EAUTH', response: Mailbox cannot be accessed [CWXP265CA0023.GBRP265.PROD.OUTLOOK.COM]', responseCode: 550, command: 'AUTH LOGIN' }\r\n\r\n> ar nodemailer = require('nodemailer');\r\nvar transporter = nodemailer.createTransport({\r\n    host: \"smtp.office365.com\", // hostname\r\n    proxy:\"Proxy of the company\",\r\n    secureConnection: false, \r\n    port: 587, \r\n    tls: {\r\n       ciphers:'SSLv3'\r\n    },\r\n    auth: {\r\n        user: 'MYEMAIL@COMPANYNAME.com',\r\n        pass: 'MYPASS'\r\n    }\r\n});\r\n\r\n// setup e-mail data, even with unicode symbols\r\nvar mailOptions = {\r\n    from: 'MYEMAIL@COMPANYNAME.com', // sender address (who sends)\r\n    to: 'MYEMAIL@COMPANYNAME.com', // list of receivers (who receives)\r\n    subject: 'Hello ', // Subject line\r\n    text: 'Hello world ', // plaintext body\r\n    html: '<b>Hello world </b><br> This is the first email sent with Nodemailer in Node.js' // html body\r\n};\r\n\r\n// send mail with defined transport object\r\ntransporter.sendMail(mailOptions, function(error, info){\r\n    if(error){\r\n        return console.log(error);\r\n    }\r\n\r\n    console.log('Message sent: ' + info.response);\r\n});'"},"comment":{"url":"https://api.github.com/repos/nodemailer/nodemailer/issues/comments/436135947","html_url":"https://github.com/nodemailer/nodemailer/issues/949#issuecomment-436135947","issue_url":"https://api.github.com/repos/nodemailer/nodemailer/issues/949","id":436135947,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNjEzNTk0Nw==","user":{"login":"kishoreaoe","id":6896519,"node_id":"MDQ6VXNlcjY4OTY1MTk=","avatar_url":"https://avatars3.githubusercontent.com/u/6896519?v=4","gravatar_id":"","url":"https://api.github.com/users/kishoreaoe","html_url":"https://github.com/kishoreaoe","followers_url":"https://api.github.com/users/kishoreaoe/followers","following_url":"https://api.github.com/users/kishoreaoe/following{/other_user}","gists_url":"https://api.github.com/users/kishoreaoe/gists{/gist_id}","starred_url":"https://api.github.com/users/kishoreaoe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kishoreaoe/subscriptions","organizations_url":"https://api.github.com/users/kishoreaoe/orgs","repos_url":"https://api.github.com/users/kishoreaoe/repos","events_url":"https://api.github.com/users/kishoreaoe/events{/privacy}","received_events_url":"https://api.github.com/users/kishoreaoe/received_events","type":"User","site_admin":false},"created_at":"2018-11-06T05:31:08Z","updated_at":"2018-11-06T05:31:08Z","author_association":"NONE","body":"Dearl @Alex1233456 , Please find the code which am using in my project.\r\n\r\nvar transporter = nodemailer.createTransport({\r\n\t\thost: 'servername.com',\r\n\t\tport: 25,\r\n\t\tdebug: true,\r\n\t\tlogger:true,\r\n\t\tsecure: false,\r\n\t});\r\nWe are also using the same OUTLOOK, when we open in browser it do works. Check once with the guys who have setup that email for you. (confirm whether we need to authenticate or not inorder to send email.)"}}
{"actor":{"display_login":"kishoreaoe"}}