{"action":"opened","number":22,"pull_request":{"url":"https://api.github.com/repos/emailjs/emailjs-mime-builder/pulls/22","id":178218319,"html_url":"https://github.com/emailjs/emailjs-mime-builder/pull/22","diff_url":"https://github.com/emailjs/emailjs-mime-builder/pull/22.diff","patch_url":"https://github.com/emailjs/emailjs-mime-builder/pull/22.patch","issue_url":"https://api.github.com/repos/emailjs/emailjs-mime-builder/issues/22","number":22,"state":"open","locked":false,"title":"Adding option to include bcc in header of the rfc2822 message output","user":{"login":"kams-mash","id":5761399,"avatar_url":"https://avatars0.githubusercontent.com/u/5761399?v=4","gravatar_id":"","url":"https://api.github.com/users/kams-mash","html_url":"https://github.com/kams-mash","followers_url":"https://api.github.com/users/kams-mash/followers","following_url":"https://api.github.com/users/kams-mash/following{/other_user}","gists_url":"https://api.github.com/users/kams-mash/gists{/gist_id}","starred_url":"https://api.github.com/users/kams-mash/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kams-mash/subscriptions","organizations_url":"https://api.github.com/users/kams-mash/orgs","repos_url":"https://api.github.com/users/kams-mash/repos","events_url":"https://api.github.com/users/kams-mash/events{/privacy}","received_events_url":"https://api.github.com/users/kams-mash/received_events","type":"User","site_admin":false},"body":"Thank you so much for the library! IT is really very helpful.\r\n\r\nI wanted to add this small change that I'm blocked on, our mail server would like to receive the rfc2822 with BCC field in the header, and they take care of removing the BCC line before sending it to the recipients. \r\n\r\nFor this, I'm making a small change to allow callers to provide a flag in the options called \"includeBccInHeader\", if this is not passed then it is false and maintains the current logic i.e. BCC is not in the output, but if the user passes true for this option, then BCC is included in the rfc2822 message.\r\n\r\nI've added the unit test case for this change as well.\r\n\r\nCould you kindly check this and merge this pull request?\r\n\r\nThanks","created_at":"2018-03-29T03:26:43Z","updated_at":"2018-03-29T03:26:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/emailjs/emailjs-mime-builder/pulls/22/commits","review_comments_url":"https://api.github.com/repos/emailjs/emailjs-mime-builder/pulls/22/comments","review_comment_url":"https://api.github.com/repos/emailjs/emailjs-mime-builder/pulls/comments{/number}","comments_url":"https://api.github.com/repos/emailjs/emailjs-mime-builder/issues/22/comments","statuses_url":"https://api.github.com/repos/emailjs/emailjs-mime-builder/statuses/f7f3edc11915f0c20535851d2c4aeb764832c877","head":{"label":"kams-mash:master","ref":"master","sha":"f7f3edc11915f0c20535851d2c4aeb764832c877","user":{"login":"kams-mash","id":5761399,"avatar_url":"https://avatars0.githubusercontent.com/u/5761399?v=4","gravatar_id":"","url":"https://api.github.com/users/kams-mash","html_url":"https://github.com/kams-mash","followers_url":"https://api.github.com/users/kams-mash/followers","following_url":"https://api.github.com/users/kams-mash/following{/other_user}","gists_url":"https://api.github.com/users/kams-mash/gists{/gist_id}","starred_url":"https://api.github.com/users/kams-mash/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kams-mash/subscriptions","organizations_url":"https://api.github.com/users/kams-mash/orgs","repos_url":"https://api.github.com/users/kams-mash/repos","events_url":"https://api.github.com/users/kams-mash/events{/privacy}","received_events_url":"https://api.github.com/users/kams-mash/received_events","type":"User","site_admin":false},"repo":{"id":127225773,"name":"emailjs-mime-builder","full_name":"kams-mash/emailjs-mime-builder","owner":{"login":"kams-mash","id":5761399,"avatar_url":"https://avatars0.githubusercontent.com/u/5761399?v=4","gravatar_id":"","url":"https://api.github.com/users/kams-mash","html_url":"https://github.com/kams-mash","followers_url":"https://api.github.com/users/kams-mash/followers","following_url":"https://api.github.com/users/kams-mash/following{/other_user}","gists_url":"https://api.github.com/users/kams-mash/gists{/gist_id}","starred_url":"https://api.github.com/users/kams-mash/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kams-mash/subscriptions","organizations_url":"https://api.github.com/users/kams-mash/orgs","repos_url":"https://api.github.com/users/kams-mash/repos","events_url":"https://api.github.com/users/kams-mash/events{/privacy}","received_events_url":"https://api.github.com/users/kams-mash/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kams-mash/emailjs-mime-builder","description":"Define your own mime tree, no magic included","fork":true,"url":"https://api.github.com/repos/kams-mash/emailjs-mime-builder","forks_url":"https://api.github.com/repos/kams-mash/emailjs-mime-builder/forks","keys_url":"https://api.github.com/repos/kams-mash/emailjs-mime-builder/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kams-mash/emailjs-mime-builder/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kams-mash/emailjs-mime-builder/teams","hooks_url":"https://api.github.com/repos/kams-mash/emailjs-mime-builder/hooks","issue_events_url":"https://api.github.com/repos/kams-mash/emailjs-mime-builder/issues/events{/number}","events_url":"https://api.github.com/repos/kams-mash/emailjs-mime-builder/events","assignees_url":"https://api.github.com/repos/kams-mash/emailjs-mime-builder/assignees{/user}","branches_url":"https://api.github.com/repos/kams-mash/emailjs-mime-builder/branches{/branch}","tags_url":"https://api.github.com/repos/kams-mash/emailjs-mime-builder/tags","blobs_url":"https://api.github.com/repos/kams-mash/emailjs-mime-builder/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kams-mash/emailjs-mime-builder/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kams-mash/emailjs-mime-builder/git/refs{/sha}","trees_url":"https://api.github.com/repos/kams-mash/emailjs-mime-builder/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kams-mash/emailjs-mime-builder/statuses/{sha}","languages_url":"https://api.github.com/repos/kams-mash/emailjs-mime-builder/languages","stargazers_url":"https://api.github.com/repos/kams-mash/emailjs-mime-builder/stargazers","contributors_url":"https://api.github.com/repos/kams-mash/emailjs-mime-builder/contributors","subscribers_url":"https://api.github.com/repos/kams-mash/emailjs-mime-builder/subscribers","subscription_url":"https://api.github.com/repos/kams-mash/emailjs-mime-builder/subscription","commits_url":"https://api.github.com/repos/kams-mash/emailjs-mime-builder/commits{/sha}","git_commits_url":"https://api.github.com/repos/kams-mash/emailjs-mime-builder/git/commits{/sha}","comments_url":"https://api.github.com/repos/kams-mash/emailjs-mime-builder/comments{/number}","issue_comment_url":"https://api.github.com/repos/kams-mash/emailjs-mime-builder/issues/comments{/number}","contents_url":"https://api.github.com/repos/kams-mash/emailjs-mime-builder/contents/{+path}","compare_url":"https://api.github.com/repos/kams-mash/emailjs-mime-builder/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kams-mash/emailjs-mime-builder/merges","archive_url":"https://api.github.com/repos/kams-mash/emailjs-mime-builder/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kams-mash/emailjs-mime-builder/downloads","issues_url":"https://api.github.com/repos/kams-mash/emailjs-mime-builder/issues{/number}","pulls_url":"https://api.github.com/repos/kams-mash/emailjs-mime-builder/pulls{/number}","milestones_url":"https://api.github.com/repos/kams-mash/emailjs-mime-builder/milestones{/number}","notifications_url":"https://api.github.com/repos/kams-mash/emailjs-mime-builder/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kams-mash/emailjs-mime-builder/labels{/name}","releases_url":"https://api.github.com/repos/kams-mash/emailjs-mime-builder/releases{/id}","deployments_url":"https://api.github.com/repos/kams-mash/emailjs-mime-builder/deployments","created_at":"2018-03-29T02:29:15Z","updated_at":"2018-03-29T03:18:04Z","pushed_at":"2018-03-29T03:18:03Z","git_url":"git://github.com/kams-mash/emailjs-mime-builder.git","ssh_url":"git@github.com:kams-mash/emailjs-mime-builder.git","clone_url":"https://github.com/kams-mash/emailjs-mime-builder.git","svn_url":"https://github.com/kams-mash/emailjs-mime-builder","homepage":null,"size":426,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"emailjs:master","ref":"master","sha":"73a3b6eb0f2e831845b4c82abceb94be563d7303","user":{"login":"emailjs","id":7377195,"avatar_url":"https://avatars3.githubusercontent.com/u/7377195?v=4","gravatar_id":"","url":"https://api.github.com/users/emailjs","html_url":"https://github.com/emailjs","followers_url":"https://api.github.com/users/emailjs/followers","following_url":"https://api.github.com/users/emailjs/following{/other_user}","gists_url":"https://api.github.com/users/emailjs/gists{/gist_id}","starred_url":"https://api.github.com/users/emailjs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emailjs/subscriptions","organizations_url":"https://api.github.com/users/emailjs/orgs","repos_url":"https://api.github.com/users/emailjs/repos","events_url":"https://api.github.com/users/emailjs/events{/privacy}","received_events_url":"https://api.github.com/users/emailjs/received_events","type":"Organization","site_admin":false},"repo":{"id":16482940,"name":"emailjs-mime-builder","full_name":"emailjs/emailjs-mime-builder","owner":{"login":"emailjs","id":7377195,"avatar_url":"https://avatars3.githubusercontent.com/u/7377195?v=4","gravatar_id":"","url":"https://api.github.com/users/emailjs","html_url":"https://github.com/emailjs","followers_url":"https://api.github.com/users/emailjs/followers","following_url":"https://api.github.com/users/emailjs/following{/other_user}","gists_url":"https://api.github.com/users/emailjs/gists{/gist_id}","starred_url":"https://api.github.com/users/emailjs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emailjs/subscriptions","organizations_url":"https://api.github.com/users/emailjs/orgs","repos_url":"https://api.github.com/users/emailjs/repos","events_url":"https://api.github.com/users/emailjs/events{/privacy}","received_events_url":"https://api.github.com/users/emailjs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/emailjs/emailjs-mime-builder","description":"Define your own mime tree, no magic included","fork":false,"url":"https://api.github.com/repos/emailjs/emailjs-mime-builder","forks_url":"https://api.github.com/repos/emailjs/emailjs-mime-builder/forks","keys_url":"https://api.github.com/repos/emailjs/emailjs-mime-builder/keys{/key_id}","collaborators_url":"https://api.github.com/repos/emailjs/emailjs-mime-builder/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/emailjs/emailjs-mime-builder/teams","hooks_url":"https://api.github.com/repos/emailjs/emailjs-mime-builder/hooks","issue_events_url":"https://api.github.com/repos/emailjs/emailjs-mime-builder/issues/events{/number}","events_url":"https://api.github.com/repos/emailjs/emailjs-mime-builder/events","assignees_url":"https://api.github.com/repos/emailjs/emailjs-mime-builder/assignees{/user}","branches_url":"https://api.github.com/repos/emailjs/emailjs-mime-builder/branches{/branch}","tags_url":"https://api.github.com/repos/emailjs/emailjs-mime-builder/tags","blobs_url":"https://api.github.com/repos/emailjs/emailjs-mime-builder/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/emailjs/emailjs-mime-builder/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/emailjs/emailjs-mime-builder/git/refs{/sha}","trees_url":"https://api.github.com/repos/emailjs/emailjs-mime-builder/git/trees{/sha}","statuses_url":"https://api.github.com/repos/emailjs/emailjs-mime-builder/statuses/{sha}","languages_url":"https://api.github.com/repos/emailjs/emailjs-mime-builder/languages","stargazers_url":"https://api.github.com/repos/emailjs/emailjs-mime-builder/stargazers","contributors_url":"https://api.github.com/repos/emailjs/emailjs-mime-builder/contributors","subscribers_url":"https://api.github.com/repos/emailjs/emailjs-mime-builder/subscribers","subscription_url":"https://api.github.com/repos/emailjs/emailjs-mime-builder/subscription","commits_url":"https://api.github.com/repos/emailjs/emailjs-mime-builder/commits{/sha}","git_commits_url":"https://api.github.com/repos/emailjs/emailjs-mime-builder/git/commits{/sha}","comments_url":"https://api.github.com/repos/emailjs/emailjs-mime-builder/comments{/number}","issue_comment_url":"https://api.github.com/repos/emailjs/emailjs-mime-builder/issues/comments{/number}","contents_url":"https://api.github.com/repos/emailjs/emailjs-mime-builder/contents/{+path}","compare_url":"https://api.github.com/repos/emailjs/emailjs-mime-builder/compare/{base}...{head}","merges_url":"https://api.github.com/repos/emailjs/emailjs-mime-builder/merges","archive_url":"https://api.github.com/repos/emailjs/emailjs-mime-builder/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/emailjs/emailjs-mime-builder/downloads","issues_url":"https://api.github.com/repos/emailjs/emailjs-mime-builder/issues{/number}","pulls_url":"https://api.github.com/repos/emailjs/emailjs-mime-builder/pulls{/number}","milestones_url":"https://api.github.com/repos/emailjs/emailjs-mime-builder/milestones{/number}","notifications_url":"https://api.github.com/repos/emailjs/emailjs-mime-builder/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/emailjs/emailjs-mime-builder/labels{/name}","releases_url":"https://api.github.com/repos/emailjs/emailjs-mime-builder/releases{/id}","deployments_url":"https://api.github.com/repos/emailjs/emailjs-mime-builder/deployments","created_at":"2014-02-03T15:15:20Z","updated_at":"2018-03-09T00:11:37Z","pushed_at":"2018-03-23T03:38:19Z","git_url":"git://github.com/emailjs/emailjs-mime-builder.git","ssh_url":"git@github.com:emailjs/emailjs-mime-builder.git","clone_url":"https://github.com/emailjs/emailjs-mime-builder.git","svn_url":"https://github.com/emailjs/emailjs-mime-builder","homepage":null,"size":426,"stargazers_count":46,"watchers_count":46,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":17,"mirror_url":null,"archived":false,"open_issues_count":4,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":17,"open_issues":4,"watchers":46,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/emailjs/emailjs-mime-builder/pulls/22"},"html":{"href":"https://github.com/emailjs/emailjs-mime-builder/pull/22"},"issue":{"href":"https://api.github.com/repos/emailjs/emailjs-mime-builder/issues/22"},"comments":{"href":"https://api.github.com/repos/emailjs/emailjs-mime-builder/issues/22/comments"},"review_comments":{"href":"https://api.github.com/repos/emailjs/emailjs-mime-builder/pulls/22/comments"},"review_comment":{"href":"https://api.github.com/repos/emailjs/emailjs-mime-builder/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/emailjs/emailjs-mime-builder/pulls/22/commits"},"statuses":{"href":"https://api.github.com/repos/emailjs/emailjs-mime-builder/statuses/f7f3edc11915f0c20535851d2c4aeb764832c877"}},"author_association":"NONE","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":30,"deletions":3,"changed_files":2}}
{"actor":{"display_login":"kams-mash"}}