ericlbarnes / Statamic-email-form

Email form plugin for Statamic
http://ericlbarnes.com/blog/statamic-email-form-plugin
Other
36 stars 6 forks source link

somehow the sent emails contain a double identical subject line #23

Open matuvu opened 10 years ago

matuvu commented 10 years ago

not sure what is causing this... http://d.pr/i/AAcu

my code: {{ email_form subject="Magazine, via the website" to="xxx@xxx.xx" msg_header="U heeft een aanvraag voor een abonnement " cc="xx@xxx.xx" bcc="xx@xx.xx" required="name|telephone" class="form-horizontal" }}

ericlbarnes commented 10 years ago

Can you remove the comma from the subject and see if that makes a difference?

I don't think it will but just to rule that out.

Eric Barnes

matuvu mailto:notifications@github.com June 16, 2014 at 11:01 AM

not sure what is causing this... http://d.pr/i/AAcu

my code: {{ email_form subject="Magazine, via the website" to="xxx@xxx.xx mailto:xxx@xxx.xx" msg_header="U heeft een aanvraag voor een abonnement " cc="xx@xxx.xx mailto:xx@xxx.xx" bcc="xx@xx.xx mailto:xx@xx.xx" required="name|telephone" class="form-horizontal" }}

— Reply to this email directly or view it on GitHub https://github.com/ericbarnes/Statamic-email-form/issues/23.

matuvu commented 10 years ago

done but indeed didn’t fix it.

On 18 Jun 2014, at 15:30, Eric Barnes notifications@github.com wrote:

Can you remove the comma from the subject and see if that makes a difference?

I don't think it will but just to rule that out.

Eric Barnes

matuvu mailto:notifications@github.com June 16, 2014 at 11:01 AM

not sure what is causing this... http://d.pr/i/AAcu

my code: {{ email_form subject="Magazine, via the website" to="xxx@xxx.xx mailto:xxx@xxx.xx" msg_header="U heeft een aanvraag voor een abonnement " cc="xx@xxx.xx mailto:xx@xxx.xx" bcc="xx@xx.xx mailto:xx@xx.xx" required="name|telephone" class="form-horizontal" }}

— Reply to this email directly or view it on GitHub https://github.com/ericbarnes/Statamic-email-form/issues/23.

— Reply to this email directly or view it on GitHub.

goatwriter commented 10 years ago

comment out this line (the subject is already defined in the mail function):

$headers[] = "Subject: ".$options['subject'];