mailin icon indicating copy to clipboard operation
mailin copied to clipboard

Address validation

Open redmoses opened this issue 10 years ago • 2 comments

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?

redmoses avatar Oct 08 '15 05:10 redmoses

Are you using the validateSenderevent? There might be a bug here.

Flolagale avatar Oct 08 '15 07:10 Flolagale

I'm using validateRecipient event. And is this possible to reject emails from my app?

redmoses avatar Oct 08 '15 12:10 redmoses