Can someone tell me how to configure rails to get an smtp log.
thanks, ash
我想,Ruby中没有用于处理SMTP日志的特殊方法,因此:
log = `tail /path/to/your/smtp/logs -n 100`.split(/[\r\n]+/)
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.