开发者

How to setup to get smtp log from rails

开发者 https://www.devze.com 2023-01-11 13:09 出处:网络
Can someone tell me how to configure rails to get an 开发者_如何学JAVAsmtp log. thanks, ashThere is no special methods in Ruby to deal with SMTP logs, I suppose, so:

Can someone tell me how to configure rails to get an 开发者_如何学JAVAsmtp log.

thanks, ash


There is no special methods in Ruby to deal with SMTP logs, I suppose, so:

log = `tail /path/to/your/smtp/logs -n 100`.split(/[\r\n]+/)
0

精彩评论

暂无评论...
验证码 换一张
取 消