Hi folks,
One of my clients wants certain customers be automatically notified by email any time they raise the price of certain products, In some cases, there could be dozens of customers to notify, and maybe hundreds in the near future. I'm wondering if MvSMTP is the best way to do this.
I can write a module that will use vis_product to detect when the price of a product is increased, and immediately send a bunch of emails. But that could cause a significant time delay; I think an MvSMTP can take a second or so to execute. I've thought of a few solutions for this:
1. Instead of using a separate MvSMTP for each customer, send a single email to everyone; don't bother personalizing the message with "Dear [customer name]." But I don't actually know if one MvSMTP with lots of recipients is faster than lots of individual MvSMTPs; I suppose it depends on how the interaction works with the mail server.
2. Instead of sending the emails, have the module make entries in a DB table about the customers and product. Use a different module function, possibly triggered by a cron job once a day or so, which will read the table and send the emails.
3. Instead of using MvSMTP to send them, off-load some data to MailChimp, or some other 3rd-party email service, which will do the bulk sending. I've heard that it's better to use a 3rd party for bulk emails, to prevent the store from being blacklisted as a spammer. But in this case, the number of emails is fairly small; and this wouldn't happen very often. So I'm not sure if it's worth the extra effort to move the emailing out of the store.
Any thoughts from the gurus on these questions?
Thanks --
One of my clients wants certain customers be automatically notified by email any time they raise the price of certain products, In some cases, there could be dozens of customers to notify, and maybe hundreds in the near future. I'm wondering if MvSMTP is the best way to do this.
I can write a module that will use vis_product to detect when the price of a product is increased, and immediately send a bunch of emails. But that could cause a significant time delay; I think an MvSMTP can take a second or so to execute. I've thought of a few solutions for this:
1. Instead of using a separate MvSMTP for each customer, send a single email to everyone; don't bother personalizing the message with "Dear [customer name]." But I don't actually know if one MvSMTP with lots of recipients is faster than lots of individual MvSMTPs; I suppose it depends on how the interaction works with the mail server.
2. Instead of sending the emails, have the module make entries in a DB table about the customers and product. Use a different module function, possibly triggered by a cron job once a day or so, which will read the table and send the emails.
3. Instead of using MvSMTP to send them, off-load some data to MailChimp, or some other 3rd-party email service, which will do the bulk sending. I've heard that it's better to use a 3rd party for bulk emails, to prevent the store from being blacklisted as a spammer. But in this case, the number of emails is fairly small; and this wouldn't happen very often. So I'm not sure if it's worth the extra effort to move the emailing out of the store.
Any thoughts from the gurus on these questions?
Thanks --
Comment