Welcome Guest, Not a member yet? Register   Sign In
Send mail from CI4, same configuration as CI3 doesn't work
#4

if you have a google email account you can try using that . eg smtp.gmail.com

The "username" will be your google email address, and you can use 2 step security function to generate a password , specifically for use of sending emails from your web.


this line looks a bit odd not even mentioning SMTP
Code:
public $SMTPHost = 'ssl://cpanel.adamisgroup.it'; #

I don't use CI4 for sending emails , instead I use PHPMailer which you can install using composer. It works on my apache web dev on Arch Linux, so I can play about with it and test it with catch blocks ; and it works fine from live hosting .
CMS CI4     I use Arch Linux by the way 

Reply


Messages In This Thread
RE: Send mail from CI4, same configuration as CI3 doesn't work - by captain-sensible - 03-22-2023, 11:49 AM



Theme © iAndrew 2016 - Forum software by © MyBB