nbcommunication Posted June 23, 2023 Share Posted June 23, 2023 Hi, We've been looking at using Postmark for some clients and we were delighted to see an existing module WireMailPostmark - https://processwire.com/modules/wire-mail-postmark/. However the note in the initial forum post about it not being used in production by the authors meant that for us we would need to build something a little bit more in line with what we need and can maintain through usage. WireMailPostmarkApp is an implementation of postmark-php, somewhat in line with a previous WireMail module we built WireMailgun - https://processwire.com/modules/wire-mailgun/ - and its usage will be familiar to those who have used that module. Here's the README: https://github.com/nbcommunication/WireMailPostmarkApp/blob/main/README.md Cheers, Chris 7 Link to comment Share on other sites More sharing options...
netcarver Posted June 23, 2023 Share Posted June 23, 2023 Thanks for this, Chris! Link to comment Share on other sites More sharing options...
DL7 Posted 3 hours ago Share Posted 3 hours ago Hi @nbcommunication! I just installed the module and tested it via FormBuilder, but when triggering an email, I get the following error: Compile Error Cannot declare class ProcessWire\ProcessForgotPassword, because the name is already in use search► File: ...\werkenv3\wire\modules\Process\ProcessForgotPassword.module:40 30: * @method string renderEmailBody($url, $code, $html) Render the password reset email body, and $url should appear in that email body. 31: * @method string renderErrorEmailBody($error) Render error email body 32: * @method string renderContinue($url = './', $label = '') Render a continue link 33: * @method string renderError($str) Render an error (when useInlineNotices is true) 34: * @method string renderMessage($str) Render a message (when useInlineNotices is true) 35: * @method string renderForm(InputfieldForm $form, $formName) 36: * 37: * 38: */ 39: 40: class ProcessForgotPassword extends Process implements ConfigurableModule { 41: 42: public static function getModuleInfo() { 43: return array( 44: 'title' => __('Forgot Password', __FILE__), // getModuleInfo title Any help is appreciated! Edit: I have commented out the section of the processforgetpassword,and the error is gone. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now