I’m getting an wired exception while using phpmailer v5.1
Uncaught exception ‘phpmailerException’ with message ‘You must provide at least one recipient email address.
I checked if i have a correct Email in there
$oMail->AddReplyTo = FROM;
$oMail->AddAddress = "testmail@web.de";
$oMail->SetFrom = FROM;
but still the same exception. any ideas what the problem can be?
AddAddressis a method, not a property. So, it should be like$oMail->AddAddress("testmail@web.de");This applies to all three settings you’re trying to apply.