{"action":"created","issue":{"url":"https://api.github.com/repos/andris9/Nodemailer/issues/380","labels_url":"https://api.github.com/repos/andris9/Nodemailer/issues/380/labels{/name}","comments_url":"https://api.github.com/repos/andris9/Nodemailer/issues/380/comments","events_url":"https://api.github.com/repos/andris9/Nodemailer/issues/380/events","html_url":"https://github.com/andris9/Nodemailer/issues/380","id":55652228,"number":380,"title":"Attachment not attached to email","user":{"login":"ilanbiala","id":3695164,"avatar_url":"https://avatars.githubusercontent.com/u/3695164?v=3","gravatar_id":"","url":"https://api.github.com/users/ilanbiala","html_url":"https://github.com/ilanbiala","followers_url":"https://api.github.com/users/ilanbiala/followers","following_url":"https://api.github.com/users/ilanbiala/following{/other_user}","gists_url":"https://api.github.com/users/ilanbiala/gists{/gist_id}","starred_url":"https://api.github.com/users/ilanbiala/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ilanbiala/subscriptions","organizations_url":"https://api.github.com/users/ilanbiala/orgs","repos_url":"https://api.github.com/users/ilanbiala/repos","events_url":"https://api.github.com/users/ilanbiala/events{/privacy}","received_events_url":"https://api.github.com/users/ilanbiala/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-01-27T18:01:16Z","updated_at":"2015-02-02T11:25:40Z","closed_at":"2015-01-27T21:17:55Z","body":"I have an empty attachment, that isn't being attached. I'm using this code:\r\n```\r\noptions = {\r\n    to: 'jdoe@abc.org',\r\n    subject: 'CSV',\r\n    text: 'Attached is the CSV.',\r\n    html: 'Attached is the CSV.',\r\n    attachments: [{\r\n      filename: today.getDate() + '/' + (today.getMonth() + 1) +\r\n        '/' + today.getFullYear() + '.csv',\r\n      content: csv\r\n    }]\r\n  }\r\n```\r\n`csv` is an empty string, so shouldn't the attachment be an empty CSV file?"},"comment":{"url":"https://api.github.com/repos/andris9/Nodemailer/issues/comments/72441970","html_url":"https://github.com/andris9/Nodemailer/issues/380#issuecomment-72441970","issue_url":"https://api.github.com/repos/andris9/Nodemailer/issues/380","id":72441970,"user":{"login":"ilanbiala","id":3695164,"avatar_url":"https://avatars.githubusercontent.com/u/3695164?v=3","gravatar_id":"","url":"https://api.github.com/users/ilanbiala","html_url":"https://github.com/ilanbiala","followers_url":"https://api.github.com/users/ilanbiala/followers","following_url":"https://api.github.com/users/ilanbiala/following{/other_user}","gists_url":"https://api.github.com/users/ilanbiala/gists{/gist_id}","starred_url":"https://api.github.com/users/ilanbiala/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ilanbiala/subscriptions","organizations_url":"https://api.github.com/users/ilanbiala/orgs","repos_url":"https://api.github.com/users/ilanbiala/repos","events_url":"https://api.github.com/users/ilanbiala/events{/privacy}","received_events_url":"https://api.github.com/users/ilanbiala/received_events","type":"User","site_admin":false},"created_at":"2015-02-02T11:25:40Z","updated_at":"2015-02-02T11:25:40Z","body":"Just changed to dashes. What is the relay?"}}