ironcamel / Dancer-Plugin-Email

Simple email sending for Dancer
http://p3rl.org/Dancer::Plugin::Email
6 stars 10 forks source link

BCC support #20

Closed gregapompe closed 9 years ago

gregapompe commented 10 years ago

BCC field is currently ignored. Simple fix is as follows:

sendmail $email, { %sendmail_arg, to => $params->{bcc} } if $params->{bcc}; # send to explicit Bcc address return sendmail $email, \%sendmail_arg;

Only the error handling problem remains.

Regards

ironcamel commented 10 years ago

Based on your suggestion, I added support for bcc in this PR/branch: https://github.com/ironcamel/Dancer-Plugin-Email/pull/21 . Can you try that branch to see if it behaves the way you expect?

gregapompe commented 9 years ago

Sorry for late response. This is what i needed yes.

thx