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

(03-22-2023, 11:49 AM)captain-sensible Wrote: 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 .

It's not a matter of trying with different things, the question is why with the same configurations it works in CI3 and not in CI4, what's different, what needs to be changed, modified or whatever
Reply


Messages In This Thread
RE: Send mail from CI4, same configuration as CI3 doesn't work - by serialkiller - 03-23-2023, 12:46 AM



Theme © iAndrew 2016 - Forum software by © MyBB