You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi there. First, thanks for the updated repo for tlsmail. I was thinking of setting up a git repo to fix the warnings myself :) But, I'm not totally convinced that the best solution to the warning bug is to turn down the reporting level. I like the idea of testing to see if a constant is defined and removing it before setting the constant (see code below). This way, the situation that caused the warning is fixed rather than the warning just being turned down. Let me know if you're interested in this fix and I'll be happy to fork the repo and push a fix.
Net.instance_eval {remove_const :SMTPSession} if defined?(SMTPSession)
SMTPSession = SMTP
The text was updated successfully, but these errors were encountered:
Hi there. First, thanks for the updated repo for tlsmail. I was thinking of setting up a git repo to fix the warnings myself :) But, I'm not totally convinced that the best solution to the warning bug is to turn down the reporting level. I like the idea of testing to see if a constant is defined and removing it before setting the constant (see code below). This way, the situation that caused the warning is fixed rather than the warning just being turned down. Let me know if you're interested in this fix and I'll be happy to fork the repo and push a fix.
The text was updated successfully, but these errors were encountered: