node.jsã§ãƒ¡ãƒ¼ãƒ«ã‚’é€ã‚ŠãŸã‹ã£ãŸã®ã§èª¿ã¹ãŸãƒ¡ãƒ¢ã€‚ Gmailã‚’SMTPサーãƒãƒ¼ã¨ã—ã¦ãƒ¡ãƒ¼ãƒ«ã‚’é€ã‚ŠãŸã„ã¨æ€ã£ãŸã®ã§ã€è©¦ã—ã¦ã¿ã¾ã—ãŸã€‚ node_mailer node-mail emailjs ãªã©ã‚’調査ã—ãŸã‘ã©ã€ä½¿ãˆãŸã®ã¯ã“ã‚Œï¼ eleith/emailjs · GitHub PCã¸ã®ãƒ¡ãƒ¼ãƒ«ã¯æ™®é€šã«ã§ããŸãŒã€æºå¸¯ã¸ã®ãƒ¡ãƒ¼ãƒ«ãŒä¸Šæ‰‹ã日本語ã®æ–‡å—コードをèªè˜ã—ã¦ãã‚Œãªã‹ã£ãŸã€‚ 色々試行錯誤ã—ãŸã‚“ã ã‘ã©ã€ã¨ã‚Šã‚ãˆãšHTMLメールã«ã™ã‚‹ã¨ä¸Šæ‰‹ãè¡Œã£ãŸã€‚ var email = require("emailjs"); var server = email.server.connect({ user: "xxxxxxxxxxx@gmail.com", password: "xxxxxxxxx", host: "smtp.gmail.com", ssl: true }); var headers =
{{#tags}}- {{label}}
{{/tags}}