fuzionnz / nz.co.fuzion.transactional

Track delivery, open, click, and bounce for transactional email.
Other
12 stars 16 forks source link

Transactional email shown when continuing draft mailing #28

Open jitendrapurohit opened 6 years ago

jitendrapurohit commented 6 years ago

Fixes https://github.com/fuzionnz/nz.co.fuzion.transactional/issues/27

mattwire commented 6 years ago

This helps but doesn't completely work as a number of the transactional emails do seem to have "scheduled Id" set:

Name scheduled_id date
Transactional Email (msg_tpl_workflow_uf) 4677 2017-10-09 10:51:59
Transactional Email () 4656 2017-10-11 14:06:49
Transactional Email () NULL 2017-10-11 20:57:20
Transactional Email (msg_tpl_workflow_membership) NULL 2017-10-13 11:10:29
Transactional Email (Activity Email Sender) 4656 2017-11-06 20:32:09
Transactional Email (Activity Email Sender) NULL 2018-06-21 09:00:42
Transactional Email (Report Email Sender) 4566 2018-07-25 10:20:24
jitendrapurohit commented 6 years ago

@mattwire Do you mean the schedule_id is set for the mailings and still they get listed in the unscheduled search URL?

mattwire commented 6 years ago

@jitendrapurohit

I didn't expect to see them here:

jitendrapurohit commented 4 years ago

@mattwire Sorry for late update. But I see the URL you're pasted for Draft and Unscheduled has a typo in it. It should be

civicrm/mailing/browse/unscheduled?reset=1&scheduled=false

instead of

civicrm/mailing/browse/unscheduled&reset=1&scheduled=false

note the ? after unscheduled text. With &, scheduled isn't considered as a query string which does not apply the where clause of loading only mailing that has NULL set for schedule_id field.

If I look at the URL from dmaster, it also has a ? displayed in the URL. Can you pls confirm?

Screenshot 2020-04-03 at 5 13 36 PM
mattwire commented 4 years ago

If I look at the URL from dmaster, it also has a ? displayed in the URL. Can you pls confirm? @jitendrapurohit Yes mine have a ? in too - I don't remember where I pasted those URLs from :-)

stesi561 commented 1 month ago

@jitendrapurohit can we close this?

stesi561 commented 1 month ago

Aha to test we need to have at least one transactional mailing sent. Then go to draft unscheduled. Probably worth retesting as I think the logic around this has recently changed.

stesi561 commented 1 month ago

Hmm This is still and issue and I think we'll need to rebase this work.