Indeed, they are the same - except that I removed the hacked in TLS parameter again.
Hm, what does isSent()
return?
$success = $kirby->email([
'from' => 'me@me.de',
'template' => 'newsletter',
'to' => 'you@you.de',
'subject' => 'Welcome!',
'body'=> 'It\'s great to have you with us',
])->isSent();
var_dump($success);
It returns true
. Specifically:
/app/site/controllers/apply.php:149:boolean true
Hm, I have no idea how to help you with setting this up correctly. It’s not an issue with Kirby but rather with your setup somehow.
I’m on a Mac with Valet as my dev environment and have Mailhog working with custom ports and ui api because the defaults for unknown reasons don’t work for me.
Yeah, that’s what I figured. I might give alternate ports a shot or try something different altogether.
Thanks for all the help. In case I do end up figuring something out, I’ll post it here. Until then, it’s not quite fair to label this thread solved though.
I’ve reopened this thread, but it is not a Kirby issue that we can solve.
You might want to have a look at other tool options suggested in the PHPMailer docs: