{"action":"opened","issue":{"url":"https://api.github.com/repos/andris9/Nodemailer/issues/457","labels_url":"https://api.github.com/repos/andris9/Nodemailer/issues/457/labels{/name}","comments_url":"https://api.github.com/repos/andris9/Nodemailer/issues/457/comments","events_url":"https://api.github.com/repos/andris9/Nodemailer/issues/457/events","html_url":"https://github.com/andris9/Nodemailer/issues/457","id":93599431,"number":457,"title":"Attachment not being sent with email.","user":{"login":"vacarsu","id":11384972,"avatar_url":"https://avatars.githubusercontent.com/u/11384972?v=3","gravatar_id":"","url":"https://api.github.com/users/vacarsu","html_url":"https://github.com/vacarsu","followers_url":"https://api.github.com/users/vacarsu/followers","following_url":"https://api.github.com/users/vacarsu/following{/other_user}","gists_url":"https://api.github.com/users/vacarsu/gists{/gist_id}","starred_url":"https://api.github.com/users/vacarsu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vacarsu/subscriptions","organizations_url":"https://api.github.com/users/vacarsu/orgs","repos_url":"https://api.github.com/users/vacarsu/repos","events_url":"https://api.github.com/users/vacarsu/events{/privacy}","received_events_url":"https://api.github.com/users/vacarsu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-07-07T18:39:08Z","updated_at":"2015-07-07T18:39:08Z","closed_at":null,"body":"Trying to send a VCF as an attachment, but it never gets attached to the email. The email gets sent fine with no errors.\r\n\r\n``` javascript\r\ntransporter.sendMail({\r\n  from: from,\r\n  to: to,\r\n  subject: 'Business card from ' + user.profile.organizationName,\r\n  text: user.profile.organizationName + ' with ' + user.profile.organizationWebsite + ' has shared their business card with you. Simply open this email on your mobile phone and open the attachment to add their contact information to your phone. You may contact the business directly at, ' + user.profile.organizationNumber + '.',\r\n  attachments: [\r\n    {\r\n      filename: user.profile.organizationName,\r\n      content: VCFString,\r\n      contentType: 'text/vcard'\r\n    }\r\n  ]\r\n});\r\n```"}}