Skip to content

Message Delivery - #53

Open
hundredwatt wants to merge 6 commits into
sj26:mainfrom
hundredwatt:message_delivery
Open

Message Delivery#53
hundredwatt wants to merge 6 commits into
sj26:mainfrom
hundredwatt:message_delivery

Conversation

@hundredwatt

Copy link
Copy Markdown

This pull request adds a "Deliver" button to the web interface next to the "Download" button.

In the backend, there is now a DeliveryService class that is initialized with a message hash and responds to #deliver!. The current implementation uses a basic Net::SMTP setup for delivery. SMTP options are provided on the command line with defaults setup for GMail. So if you are using GMail, the minimum necessary configuration is:

mailcatcher --delivery-user-name YOURADDRESS@gmail.com --delivery-password YOURPASS

There is also a '--delivery-recipient' option which overwrites the recipient field on all delivered messages. This allows you to specify an email address that you would like all messages to be delivered to.

"Deliver" button is replaced with text while waiting for delivery
Currently only supports SMTP. Configuration is provided at the command
line. Default values are setup for GMail delivery.
@hundredwatt

Copy link
Copy Markdown
Author

This is in response to #4

@sj26

sj26 commented Oct 29, 2012

Copy link
Copy Markdown
Owner

Great idea, not sure how comfortable I am with the gmail integration. I'd be more inclined to just act like a first-class SMTP server, however that raises problems via ISPs. Also want the deliveree's address to be changeable in the web interface.

@hundredwatt

Copy link
Copy Markdown
Author

The current setup can take in any SMTP configuration. I chose to add GMail as the default SMTP configuration figuring it was relatively common and easiest to setup.

For the deliveree's address, what use case do you have in mind for wanting to change their address via the interface?

@sepehr

sepehr commented Jan 2, 2014

Copy link
Copy Markdown

+1, great idea.

@sj26
sj26 force-pushed the master branch 2 times, most recently from aa7bc8e to 23398d7 Compare January 27, 2015 21:44
@bogdal

bogdal commented Jan 7, 2016

Copy link
Copy Markdown

It would be great to have this merged.

@jehon

jehon commented Jul 19, 2016

Copy link
Copy Markdown

Great idea. When will it be merged?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants