Show HN: MailgunLogger
github.com
Show HN: MailgunLogger
1–9 of 9 posts
Re: Show HN: MailgunLogger
#2I have asked mailgun a number of times if they'd simply charge for longer storage limits, and they said no.
Thanks for setting this up!
Re: Show HN: MailgunLogger
#3Re: Show HN: MailgunLogger
#4Re: Show HN: MailgunLogger
#5Won't mailgun send all of the same information via event callbacks, or is there event information only available through their web interface?
Re: Show HN: MailgunLogger
#6Re: Show HN: MailgunLogger
#7This is very timely! I'd love to see the logging bits extracted out into its own library so I can use it directly in an existing Phoenix app. I don't really need the GUI bits.
Re: Show HN: MailgunLogger
#8Won't mailgun send all of the same information via event callbacks, or is there event information only available through their web interface?
Not the author, but have some experience with the mailgun api. AFAIK there's no sla/guarantee/redelivery for the webhooks, and they have to be setup for each domain. Looping the account to fetch all logs for the last 48 hours is relatively simple and robust.
In our own setup, we fetch data for the last 24h twice a day and then just insert everything. We have a db constraint on the message ID mailgun sends us, so only news ones will be persisted. We aren't even bothered with filtering before inserting, the db constraint does the trick.
Re: Show HN: MailgunLogger
#9This is very timely! I'd love to see the logging bits extracted out into its own library so I can use it directly in an existing Phoenix app. I don't really need the GUI bits.