douchui7332 2019-01-11 15:33
浏览 92

Laravel - Log Mailgun对数据库的响应,用于打开/链接跟踪和邮件日志记录

I would like to log my mail sends to the database for general logging as well as link/open tracking as provided by mailgun.

I am using the Illuminate\Mail\Events\MessageSent event and can get the swift mailer object from here and general email components. I can't however work out how to get the mailgun response and mailgun message id which is required for the link and open tracking.

Does anyone know how I may get this logged along with the message?

  • 写回答

0条回答 默认 最新

    报告相同问题?

    悬赏问题

    • ¥15 FPGA-SRIO初始化失败
    • ¥15 MapReduce实现倒排索引失败
    • ¥15 luckysheet
    • ¥15 ZABBIX6.0L连接数据库报错,如何解决?(操作系统-centos)
    • ¥15 找一位技术过硬的游戏pj程序员
    • ¥15 matlab生成电测深三层曲线模型代码
    • ¥50 随机森林与房贷信用风险模型
    • ¥50 buildozer打包kivy app失败
    • ¥30 在vs2022里运行python代码
    • ¥15 不同尺寸货物如何寻找合适的包装箱型谱