ruby on rails - Can send two emails individually but not together -
i'm having real humdinger of problem. if run following on console
> expiringcatalogentriesmailer.notify_expiring_catalog_entries(self, nil).deliver > expiringcatalogentriesmailer.notify_expiring_catalog_entries(self, 'marketingadminuser').deliver
it sends 2 emails, want. however, when invoke function on console
def send_catalog_expiration_emails expiringcatalogentriesmailer.notify_expiring_catalog_entries(self, nil).deliver expiringcatalogentriesmailer.notify_expiring_catalog_entries(self, 'marketingadminuser').deliver end
it sends first of 2 emails , not second.
why might be?
(i'm using rails 4.1.14.)
figured out. mail-logger gem installed, , when first email sending, looking log file didn't exist. removed mail-logger , problem went away.
Comments
Post a Comment