mailin
mailin copied to clipboard
Address validation
Hi,
I have integrated mailin inside my nodejs app. I would like to know if its possible to reject emails on the validation event function for recipient address. I tried sending this as below -
callback(new Error('Email address format is invalid');
But this doesn't trigger the Mail Delivery Failure messages. Can you please help me out?
Are you using the validateSenderevent? There might be a bug here.
I'm using validateRecipient event. And is this possible to reject emails from my app?