MarkE Posted September 12, 2024 Posted September 12, 2024 1 hour ago, MarkE said: the reason I chose to make the change I did, rather than the one you suggest, is because different mail modules permit slightly different methods so the WireMailSmtp methods may not work without changing the class Hi @horst. As I suspected your one-liner doesn't work because: Method WireMailRouter::sendSingle does not exist or is not callable in this context Do you have any objection to my suggested change?
horst Posted September 12, 2024 Author Posted September 12, 2024 3 hours ago, MarkE said: Also, my suggestion will work as a standalone test of WireMailSmtp even if the current class is something completely different Ok! 👍 That is something, I can test here without having WireMailRouter.
horst Posted September 12, 2024 Author Posted September 12, 2024 2 hours ago, MarkE said: Do you have any objection to my suggested change? No! Just need a bit time for a short test. 🙂
Ivan Gretsky Posted September 13, 2024 Posted September 13, 2024 On 9/12/2024 at 3:58 PM, horst said: Hi, I don't have WireMailRouter and therefor don't know how it works together. But please can you (or @Ivan Gretsky or @wbmnfktr, who seems to have it too, like you) simply test the following OneLineChange in the WireMailSmtp-Testfunction? @horst, how do you do? I do not have WireMailRouter on none of my sites either. Sorry. But I have a bug with my new installation. And it seems to be a long standing - see here. Could you please look into it?
horst Posted September 15, 2024 Author Posted September 15, 2024 On 9/13/2024 at 11:32 PM, Ivan Gretsky said: Could you please look into it? Hi, @Ivan Gretsky Which PW-Version? (And maybe you can find / remember the first PW version, it came up with?)
Ivan Gretsky Posted September 16, 2024 Posted September 16, 2024 8 hours ago, horst said: Which PW-Version? (And maybe you can find / remember the first PW version, it came up with?) I've seen it on 3.0.219. Just upgraded to the latest dev (3.0.241) and it is got even worse - can't open module config in admin at all:
horst Posted September 16, 2024 Author Posted September 16, 2024 4 hours ago, Ivan Gretsky said: I've seen it on 3.0.219. Just upgraded to the latest dev (3.0.241) and it is got even worse - can't open module config in admin at all: Ok, I will try to find whats going wrong. And just for the record: I'm currently using it, also in PW 3.0.241 with PHP 8.2, without any errors. (?!?) 1
Ivan Gretsky Posted September 24, 2024 Posted September 24, 2024 Good day @horst! I've tried to fix the issue, bit with no luck. Did you have a chance to look into it? For now I will try some another module. Maybe it will fix the issue in this case. Or if it doesn't we will know the problem is elsewhere.
horst Posted September 24, 2024 Author Posted September 24, 2024 (edited) Hi @Ivan Gretsky I have pushed a new branch into Github here: https://github.com/horst-n/WireMailSmtp/tree/php-namespace This is called version 0.8.0 and all PW-PHP-module-files are now added into the PHP namespace ProcessWire. So now the module only can be used with PW > 3.0.62 (after merging to master branch). All the backwards compatibility to starting PW version 2.4 is lost now. 🙂 Please, can you fetch the new version from the github dev branch and test it, if it helps with your errors and let me know? For me everything is working fine here. The normal sending, the DebugTests in Frontend and in Backend, etc. PHP 8.1 + 8.2 ... Edited September 24, 2024 by horst 2
Marcel Stäheli Posted December 31, 2024 Posted December 31, 2024 On 10/25/2022 at 4:12 PM, Frank Vèssia said: I've been using WireMailSmtp since ages and for some clients we have microsoft exchange 365 emails. Recently Microsoft annouced they are deprecating basic stmp authentication in favor of OAuth 2.0...is there a way to configure WireMailSmtp with this method? I have the same problem. We send emails via Exchange Online and have to change from SMTPAuth to OAuth 2.0. Is there a way to do that?
neophron Posted February 14 Posted February 14 More then one Sender Email Addresses with FormBuilder Hi there, first a big Danke for this module! In a website I have two forms, both built with FormBuilder. They shall have a different Sender Email Address. The Wire Mail SMTP overrides the sender email addresses in the FormBuilder forms. Right now, both forms sends the emails with the same sender address. Where can I add the additional sender email address?
Frank Vèssia Posted February 18 Posted February 18 Hi, I'm having some trouble trying to set a sender-reply via api $mail->sender_reply('email@domain.com'); I get error Method WireMailSmtp::sender_reply does not exist or is not callable in this context
zoeck Posted February 18 Posted February 18 When I look into the code of the module, there is no way to set “sender_reply” via a function, except via the module config. But there are some Workarounds: Or the easier version via the mail header: $mail->header("Reply-To", "your@replyto.address"); 1 1
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