Sha256: 74143c9b0868632d5200c0cee7199a88f1e649b225e6deb95b14ac373beb3dd5
Contents?: true
Size: 593 Bytes
Versions: 1
Compression:
Stored size: 593 Bytes
Contents
require 'gomig_mail_delivery' Mail.defaults do delivery_method Mail::GomigMailDelivery::Agent, { :domain => '<your domain>.<tld>', :login_account => '<admin_or_user_acount>', :password => '<passwordD>', :to_account => '<target_account>', :mail_item_property => 'IS_DRAFT' # optional. other options: IS_INBOX, IS_SENT } end mail = Mail.deliver do from 'sender@domain.tld' date Time.now to 'recipient name <recipient@domain.tld>' subject 'I\'m your draft' body 'Ready to send when you are.' end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
gomig_mail_delivery-0.0.1 | example/example.rb |