Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted August 16, 20231 yr Hi Guys For emails going out from WordPress, we are using WPMail SMTP connected to Brevo. The thing is, is that also sending the transactional mails from my community that does not sit inside WordPress?
August 16, 20231 yr Community Expert At present your site is set to use PHPMail according to what you have there, so it would be trying to use PHPMail on your server to send from the email address you have set just above that setting. If you want it to use smtp in the same manner as your other, you would need to select smtp and enter the relevant details.
August 16, 20231 yr Author I wonder if I can add Brevo SMTP details to that form because they don't match what I see in Brevo. I see: SMTP Server smtp-relay.brevo.com Port xxx Login accounts@SMTP Master password xxxxx
August 16, 20231 yr Community Expert PHPMail utilizes your server's PHP configuration to send mail. If that is not what you want, you would need to change it to SMTP and enter those access details.
August 17, 20231 yr Community Expert Solution Just to add to the above, you wont see where you enter those details until you select the SMTP option
August 17, 20231 yr Author I added the Brevo settings and the test email worked so all good it seems.
January 23, 20241 yr Hi I have been using a SMTP-server that is not recommended by my ISP. I am running Invision Community v4.7.14 . The community have been blocked due a large number of outgoing mail. I used "SMTP" in Mail delivery method. Instead, my ISP recommend another SMTP-server but I have to use script to get it work. Since you answered 15degrees above that he uses PHPMail I assume it's the same in my case? I thought that I would find a folder "PHPMail" but I dont... Am I supposed to configure my settings in "/public_html/forums/system/Email/Outgoing/smtp.php"? Please, in what form then? Otherwise I have to ask again.... 🙂 One exampleline will do. Best regards Richard
January 23, 20241 yr Community Expert If you are utilizing an SMTP service, you would need to configure that via the SMTP options. If your hosting provider wants you to utilize the PHPMail option which they have configure for you via your PHP configuration, you would choose PHPMail. If you require anything outside of those options, that would require a customization which is outside our scope of support.
January 24, 20241 yr You misunderstand me. My fault... I think I manage to set up PHPMail by myself. I want you to tell me where in "your" code I am supposed to point out the PHPMail folder with the classes.
January 24, 20241 yr Community Expert Using phpmail by itself generally requires NO configuration in the software if your host is setup properly. The host would ensure a service like sendmail is setup on the server and configured. You should not need credentials to use it etc. The web server (Apache) should already be a trusted sender. SMTP however is a different beast. It runs on different potential port numbers depending on what version of encryption is being used (if any at all) and requires credentials to be passed if it’s not open to the world for abuse. If using SMTP you would need to pass a lot of specific data for it to connect. Glad you got it working. 🙂
January 24, 20241 yr Aha. Confused by the message from my host. I thought I had to set it up. I'll contact my ISP. Regards Richard