diff options
author | Simon Parri <simonparri@ganzeria.com> | 2019-08-28 08:20:27 -0500 |
---|---|---|
committer | Simon Parri <simonparri@ganzeria.com> | 2019-08-28 08:20:27 -0500 |
commit | 8bade080be64b96ee8b47870dc7a7731c72731e8 (patch) | |
tree | a19314f743f60c77024066d56df4956d0696681d /spelling-rbead | |
parent | 7ec3c2c8bdc4db17e8d15072bae962bf488c8043 (diff) | |
download | spelling-rbee-8bade080be64b96ee8b47870dc7a7731c72731e8.tar.gz spelling-rbee-8bade080be64b96ee8b47870dc7a7731c72731e8.zip |
update readme
Diffstat (limited to 'spelling-rbead')
-rwxr-xr-x | spelling-rbead | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spelling-rbead b/spelling-rbead index 02e23f8..4ea24c0 100755 --- a/spelling-rbead +++ b/spelling-rbead @@ -11,7 +11,7 @@ from = ARGV[3] imap = Net::IMAP.new(server) imap.login(user, password) imap.select "inbox" -n = imap.search("FROM \"#{from}\" SUBJECT \"Spelling\"").last +n = imap.search("FROM \"#{from}\" SUBJECT \"Spelling:\"").last if n msgs = imap.fetch n, "body[1.text]" c = msgs[0].attr["BODY[1.TEXT]"] |