I need guidance on integrating a MailGun module in ColdFusion; my current code returns a ‘sender missing’ error. Try this:
<cfscript>
secretKey = 'key-987654321';
mailService = new MailDispatcher(api=secretKey);
mailService.sendEmail(domain='example.org', sender='[email protected]', recipient='[email protected]', subject='Demo', body='Hello', bodyHtml='<b>Hello</b>');
</cfscript>