How to see if an invoice has been successfully emailed to a customer
If you are in doubt that invoices are being emailed to customers there are a couple of things that can be checked in SIMPLer to find out if this is the case:
Step One:
Go to your customer account. Click on "modify customer" (see fig.1)
Fig 1:Modify Customer
Click on Banking Details which is the third tab on the left. (see fig.2)
Fig. 2: Banking Details
Check that the send method is set to "email to customer". (see fig.3)
Fig 3: Send Method
Step Two:
If the send method is set to email to customer the emails should go to the customer's accounts email so you will need to make sure that this is set correctly without spelling mistakes or invalid email addresses. Email field should also be populated. (see Fig.3)
Fig 3: Contact Details
If no email address has been set here your email will go by default to the address under "email" so it is important to make sure that every customer to receive invoices via email has this field updated.
Step Three:
If you are confident that these settings are correct on your customer's account then the next step is to check the mail log. This is located under the contact details on your customer account. (See Fig.4)
Fig 4: Mail Log
By clicking on this button a log of the most recent emails sent to customers will be downloaded to your computer. If there has been any issue this log will show you the location of the errors. The most frequent problem in receiving emails is that some emails may get dropped by spam filters at the destination or at the relay server so these settings should also be checked on the customer's side.
Below you will see an example of the mail log on a test customer in SIMPLer:
/var/log/maillog.1:May 8 10:10:37 demo sendmail[27199]: r489AbkS027199: to=emma@azotel.com, ctladdr=apache (48/48), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=360057, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (r489AbrD027202 Message accepted for delivery)
/var/log/maillog.1:May 8 10:10:39 demo sendmail[27204]: r489AbrD027202: to=<emma@azotel.com>, ctladdr=<apache@demo.azotel.com> (48/48), delay=00:00:02, xdelay=00:00:02, mailer=esmtp, pri=450243, relay=aspmx.l.google.com. [173.194.78.27], dsn=2.0.0, stat=Sent (OK 1368004239 w1si1648214wiz.57 - gsmtp)
/var/log/maillog.3:Apr 24 13:54:35 demo sendmail[27775]: r3OCsZLJ027775: to=emma@azotel.com, ctladdr=apache (48/48), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30573, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (r3OCsZra027778 Message accepted for delivery)
/var/log/maillog.3:Apr 24 13:54:36 demo sendmail[27780]: r3OCsZra027778: to=<emma@azotel.com>, ctladdr=<apache@demo.azotel.com> (48/48), delay=00:00:01, xdelay=00:00:01, mailer=esmtp, pri=120760, relay=aspmx.l.google.com. [173.194.66.27], dsn=2.0.0, stat=Sent (OK 1366808076 au5si834091wjc.180 - gsmtp)
/var/log/maillog.4:Apr 16 17:40:53 demo sendmail[13036]: r3GHer1f013036: to=sales@azotel.com,emma@azotel.com, ctladdr=apache (48/48), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=60461, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (r3GHer4g013039 Message accepted for delivery)
/var/log/maillog.4:Apr 16 18:40:54 demo sendmail[13041]: r3GHer4g013039: to=<emma@azotel.com>,<sales@azotel.com>, ctladdr=<apache@demo.azotel.com> (48/48), delay=00:00:01, xdelay=00:00:01, mailer=esmtp, pri=150646, relay=aspmx.l.google.com. [173.194.67.27], dsn=2.0.0, stat=Sent (OK 1366134054 j10si4774970wiv.83 - gsmtp)
Azotel | River House | Blackpool Park | Cork | Ireland
US +1-312-239-0680 | IE +353-21-234-8100 | UK +44-207-193-4170 | SA +27-11-083-6900