Page 1 of 1

How "emails sent" is calculated?

Posted: Mon Nov 25, 2013 8:43 am
by ohho
Under Mailings > Overview > click Edit a mailing > click "Send Mailing tag", there is a number next to "Emails sent".

How is this "Emails Sent" number calculated?

We have a mailing list of roughly 250,000 email addresses sent twice in last month. Strange enough, both mailing show the ""Emails Sent" number as 98,000.

It looks like it's a magic number or something. Questions:

- What is the meaning of "Emails Sent"? Is it the emails scheduled to SENDMAIL? Or is it the emails accepted by a remote MTA?
- Can I get/calc the number by looking at the openemm db? hopefully to trace how the number ends up there.

Thanks!

Re: How "emails sent" is calculated?

Posted: Mon Nov 25, 2013 9:41 pm
by maschoff
"E-mails sent" are the number of mails delivered to Sendmail, NOT the # of mails accepted by remote MTAs.

To better understand where the data is saved in the OpenEMM database you should have a look at the documentation for the DB schema in the appendix of the Extension Development Guide.

Re: How "emails sent" is calculated?

Posted: Tue Nov 26, 2013 2:39 am
by ohho
Thanks for the explanation.

If I delete the messages currently in:

/home/openemm/var/spool/QUEUE
/home/openemm/var/spool/MIDQUEUE
/home/openemm/var/spool/SLOWQUEUE

Can I expect the "Emails sent" number to increase rapidly? How does Openemm decide when to putting more messages to SENDMAIL?