Would like a Drupal 7 version of this as soon as possible. If I can help out with this let me know. Thanks.
| Comment | File | Size | Author |
|---|---|---|---|
| #8 | postmark-7.0-r1.tar_.gz | 11.36 KB | john.oltman |
| #7 | postmark.patch | 3.3 KB | john.oltman |
Would like a Drupal 7 version of this as soon as possible. If I can help out with this let me know. Thanks.
| Comment | File | Size | Author |
|---|---|---|---|
| #8 | postmark-7.0-r1.tar_.gz | 11.36 KB | john.oltman |
| #7 | postmark.patch | 3.3 KB | john.oltman |
Comments
Comment #1
madeby commentedYes, please make a drupal 7 version.
Comment #2
madeby commentedAny news?
Comment #3
john.oltman commentedI have contacted luketsimmons to coordinate on this. Drupal 7 changed some aspects of mail handling, otherwise it would be a slam dunk. It may make sense to wait on this until the core contact module issue with "from" email address gets solved in the Drupal 6 version of Postmark.
Comment #4
luketsimmonsHi guys,
Just to say that I am actually going to have some time to look at getting a Drupal 7 version together. I'll feed back on this, and yes the "from" email address thing does need sorting too for the D6 version.
Thanks for offer of help, I'll get it started and update you on where it's at and maybe get some discussion going on bits.
luke
Comment #5
gregglesSubscribe and thanks for your work.
Comment #6
archimedes commentedSubscribe...also interested in this for D7.
Comment #7
john.oltman commentedAttached is a patch file that partially converts Postmark from D6 to D7. It handles the following:
1) Places a Postmark link into the System section of the new Drupal Configuration menu option; this links to the Settings page
2) Converts .info file from D6 to D7
3) Handles a code change to the way permissions are handled in D7
4) Attempts to convert from D6 mail to D7 mail
5) Uses the Site Information email address as the sender for all emails and places original sender in the ReplyTo; also adds a "message originally sent by" line to the end of the email. This is a temporary solution to the issue with the core contact module and other modules that can send from user email addresses.
Everything appears to work, but emails continue to be sent using the normal (non-Postmark) mail engine. I am looking for someone who knows more about Drupal 7 mail to pitch in. I will also continue to research a solution. Mail handling is one of the things that changed in D7 and evidently another adjustment is needed, but I haven't found it yet.
Comment #8
john.oltman commentedI had some more time to work on this today and was able to produce a working version. Simply unzip the attached tar ball into a sites/all/modules/postmark folder on a D7 install, and follow the instructions in the README.txt file.
Please note that the Contact module is handled by using the sender as the ReplyTo, and appending the original sender to the bottom of the email so the recipient can see who submitted the Contact form. This might not be ideal for other modules that may send from other than the system email address, but at least it gets us past this hurdle for now.
You should download and test this on D7 installs. Specifically, please exercise HTML emails if you can, as I have only tested plain text so far.
Comment #9
john.oltman commentedDrupal 7 version was released today as a DEV. Please download and test and open new issues for any bugs found. Thanks.
Comment #10
BenK commentedSubscribing and looking forward to testing
Comment #11
john.oltman commentedOfficial Drupal 7 version of Postmark has been released.