Dzung Posted September 11, 2020 Share Posted September 11, 2020 Hi, I have the same problem as @angelo, italy with 0.5 the module can not sen Amazon Simple Mail any more like 0.4. did. Pls help. Dzung Link to comment Share on other sites More sharing options...
angelo, italy Posted September 14, 2020 Share Posted September 14, 2020 Hi @Dzung I installed the WireMailPHPMailer module and solved it. Greetings Link to comment Share on other sites More sharing options...
Dzung Posted September 15, 2020 Share Posted September 15, 2020 On 9/14/2020 at 3:40 PM, angelo, italy said: Hi @Dzung I installed the WireMailPHPMailer module and solved it. Greetings Hi @angelo, italy Thank you very much. Dzung Link to comment Share on other sites More sharing options...
hellomoto Posted September 26, 2020 Share Posted September 26, 2020 Is there a built-in way to handle incoming email? Link to comment Share on other sites More sharing options...
gebeer Posted September 29, 2020 Share Posted September 29, 2020 On 9/27/2020 at 1:31 AM, hellomoto said: Is there a built-in way to handle incoming email? This module is an SMTP extension for the WireMail class. It can only handle SMTP transport which is for outgoing mail. There is no module that I know of which can handle incoming mail (IMAP, POP3). If you want to handle incoming mail, you could use a service for transactional emails like mailgun (and the WireMailgun module) and use webhooks. But this still involves quite a lot of programming. 1 Link to comment Share on other sites More sharing options...
teppo Posted September 29, 2020 Share Posted September 29, 2020 On 9/27/2020 at 2:31 AM, hellomoto said: Is there a built-in way to handle incoming email? 33 minutes ago, gebeer said: There is no module that I know of which can handle incoming mail (IMAP, POP3). If you want to handle incoming mail, you could use a service for transactional emails like mailgun (and the WireMailgun module) and use webhooks. But this still involves quite a lot of programming. Depending on your needs https://modules.processwire.com/modules/process-email-to-page/ may be worth looking into. I'm not particularly familiar with this module, mind you, so don't ask me how (or if) it works ? 1 Link to comment Share on other sites More sharing options...
hellomoto Posted October 3, 2020 Share Posted October 3, 2020 Thanks. I had known about that module and was going to maybe modify it to suit the use case but quit the project. Link to comment Share on other sites More sharing options...
froot Posted February 26, 2021 Share Posted February 26, 2021 WireMail SMTP, WireMailPHPMailer or SwiftMailer - which one is state of the art? Or any other? What are the pros and cons? I tried WireMail SMTP, it doesn't seem so reliable. Many people seem to be in favor of WireMailPHPMailer, but that needs some attention, but before I start, there's also SwiftMailer, so I don't know what's the best bet and which one's the newest. Link to comment Share on other sites More sharing options...
cstevensjr Posted February 26, 2021 Share Posted February 26, 2021 20 minutes ago, fruid said: WireMail SMTP, WireMailPHPMailer or SwiftMailer - which one is state of the art? Or any other? What are the pros and cons? I tried WireMail SMTP, it doesn't seem so reliable. Many people seem to be in favor of WireMailPHPMailer, but that needs some attention, but before I start, there's also SwiftMailer, so I don't know what's the best bet and which one's the newest. The following are a few links for you to check out: Wiremail Wiremail Class: https://processwire.com/api/ref/wire-mail/ Wiremail Related Modules https://processwire.com/modules/category/email/ 2 Link to comment Share on other sites More sharing options...
titanium Posted March 2, 2021 Share Posted March 2, 2021 PHP 8 was released a few months ago. I can't get WireMailSMTP to work with PHP 8. The error message is: "Error in hnsmtp::send : cannot connect to smtp-server!" With PHP 7.4, on the other hand, it works fine. Was anyone already successful with PHP 8? Thanks in advance. 2 Link to comment Share on other sites More sharing options...
horst Posted March 3, 2021 Author Share Posted March 3, 2021 Hi @titanium, I don't have had time to install PHP 8 and test out all my sites and modules under it. I will do so with priority for WireMailSmtp. But it may take 1 or 2 weeks, sorry. 1 1 Link to comment Share on other sites More sharing options...
froot Posted March 9, 2021 Share Posted March 9, 2021 I have an issue where some emails are lacking the replyto email-address though I set it in the code as follows… $mail->sendSingle(true); $mail->subject($subject); $mail->body($message); $mail->replyto($email); So that's bad because, needless to say, cannot reply to the email. The log clearly show the email address in the array [replyTo] => yada@example.com Any ideas how that can happen? I mean why how... Is that just an email client configuration? EDIT: never mind, pretty sure it's an email client issue Link to comment Share on other sites More sharing options...
DV-JF Posted March 18, 2021 Share Posted March 18, 2021 Hey all, hey @horst, I've strange behaviour and don't know where to debug: Following problem: The settings I'm using seems to be correct a test message is sent and I can receive it, but the Debug Log is orange and I can't submit any forms via FormBuilder. Unable to verify successful email delivery of this form submission. Any ideas? Many greets! EDIT: Found the problem, it was sitting right in front of the computer ? Forgot to edit the FormBuilder settings, therefore no mails where sent out. @horst and all others - sorry for being annoying! Link to comment Share on other sites More sharing options...
horst Posted April 14, 2021 Author Share Posted April 14, 2021 On 3/2/2021 at 10:02 PM, titanium said: PHP 8 was released a few months ago. I can't get WireMailSMTP to work with PHP 8. The error message is: "Error in hnsmtp::send : cannot connect to smtp-server!" With PHP 7.4, on the other hand, it works fine. Was anyone already successful with PHP 8? Thanks in advance. Finally I got my local setup switched today. PHP 8 which needed a new apache version too, and then SSL needs to be updated, etc., etc., ... Now I need to upgrade my IDE for PHP 8 support too. ? After all I could debug and correct the WireMail-SMTP module: https://github.com/horst-n/WireMailSmtp 4 Link to comment Share on other sites More sharing options...
mr-fan Posted July 26, 2021 Share Posted July 26, 2021 So good evening it's been a while since i've got a real problem that give me headache. I've got a site PW 3.0.101 - WireMailSmtp 0.60 -> setup should work smtp access tested with local emailclient -> online test within WireMailSmtp give me success message I use just a simple PHP contact form no formbuilder and so on just plain wireMail($emailTo, $emailfrom, $betreff, $msg); and i dont get it work? Any hints to look at or to test further? im not that backend server guy and ;( kind regards Martin Link to comment Share on other sites More sharing options...
horst Posted July 26, 2021 Author Share Posted July 26, 2021 @mr-fan there is a method to send test email while debugging from within the modules page. Not the simple connection test. Have you used the verbose method and if so, what says the debug out? If you like, you can PM me that. 1 Link to comment Share on other sites More sharing options...
wbmnfktr Posted July 27, 2021 Share Posted July 27, 2021 Just in case... add this: https://processwire-recipes.com/recipes/logging-outgoing-emails/ to your setup and you will see each and every mail in the logs. Should only be used in DEV environments... privacy and such... you know. 3 Link to comment Share on other sites More sharing options...
mr-fan Posted July 27, 2021 Share Posted July 27, 2021 Thanks for the hints - i will test further more the next days and report! Link to comment Share on other sites More sharing options...
Ivan Gretsky Posted December 3, 2021 Share Posted December 3, 2021 Hello, @horst! What a great module you've presented us, the community, with! I've got it on each and every of my sites, and it is working so good I rarely think it is there. Only when you have questions you remember it exists. So this is the time to express gratitude. Thank you very much! I am now moving my dev environment to the cloud to a VPS server. I want to have all my mail from that server to be caught and not to be sent away. So I started searching for solution and found MailHog. I've setup this program with the instructions from here. As far as I understand it, I've replaced sendmail with a substitute (mhsendmail) via sendmail_path setting in my php.ini file. That substitute program should redirect smtp messages to MailHog instead of the intended target. When I test sending smtp from the cli, it works as I was expecting. But when I send real forms from dev site, it does not. My understanding of what is happening when WireMail does its job is close to non-existent ?. Could you please explain, should WireMail use this sendmail_path setting, or does it work some other way and it does not affect it? And do you know any other way to achieve mail catching that I described earlier on a dev server? Thanks! --- P.S. I really think that 15 pages of great answers is too much for anyone to handle. Recently @teppomanaged to move his Wireframe's support to a dedicated forum thread. I am sure this module should have one too. Ask @Pete if you agree. Link to comment Share on other sites More sharing options...
wbmnfktr Posted December 3, 2021 Share Posted December 3, 2021 10 minutes ago, Ivan Gretsky said: P.S. I really think that 15 pages of great answers is too much for anyone to handle. Recently @teppomanaged to move his Wireframe's support to a dedicated forum thread. I am sure this module should have one too. Ask @Pete if you agree. Fully agree on this. 2 Link to comment Share on other sites More sharing options...
bernhard Posted February 16, 2022 Share Posted February 16, 2022 Quote Error: Function get_magic_quotes_runtime() is deprecated on line: 907 in ../site/modules/WireMailSmtp/smtp_classes/email_message.php @horst could you please have a look at this issue? https://www.php.net/manual/en/function.get-magic-quotes-runtime.php Thx! 1 Link to comment Share on other sites More sharing options...
horst Posted February 16, 2022 Author Share Posted February 16, 2022 (edited) 1 hour ago, bernhard said: could you please have a look at this issue? The exact code snippet is this: if( ( GetType($size)=="integer" && strlen($body)>$size ) || ( function_exists("get_magic_quotes_runtime") && get_magic_quotes_runtime() ) ) ... When reading this, the "error" is wrong. If the function exists, it should be used. If it not exists, it get not called at all. I run it against PHP 8.1+ and do not get this "error" you have. Module version is 0.6.0 Edited February 16, 2022 by horst Link to comment Share on other sites More sharing options...
bernhard Posted February 16, 2022 Share Posted February 16, 2022 Thx @horst for having a look, I'll check that tomorrow on my side! I'm on PHP 8.1.2 so it's a little strange ? Link to comment Share on other sites More sharing options...
horst Posted February 16, 2022 Author Share Posted February 16, 2022 2 hours ago, bernhard said: Thx @horst for having a look, I'll check that tomorrow on my side! I'm on PHP 8.1.2 so it's a little strange ? what type of error or warning is it? deprecation warning or compile error, or something differend? Link to comment Share on other sites More sharing options...
szabesz Posted February 16, 2022 Share Posted February 16, 2022 (edited) 5 hours ago, bernhard said: could you please have a look at this issue? https://github.com/horst-n/WireMailSmtp/issues/14 "I" get them too, in php 7.4 In php 7.4 get_magic_quotes_runtime() is deprecated but still exists, so function_exists("get_magic_quotes_runtime") has no effect to stop the deprication message from appearing. https://www.php.net/manual/en/function.get-magic-quotes-runtime.php "REMOVED as of PHP 8.0.0." so function_exists("get_magic_quotes_runtime") bit works as expected in PHP 8 and up. Edited February 16, 2022 by szabesz typos 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