I'm using Umbraco CMS v7.5.6 and Umbraco Forms v4.4.0 and I want to know if there is a way to validate email address before sending? The problem is I sometimes want to send test enquiry on production environment and the way I normally do is to enter dummy data so that it can be ignored in the other end. For example, I use @mailinator.com domain for testing enquires so any email using this domain should not be sent. However, the fact is that these test enquires have been already sent to real people and sometimes it makes you irritated.
I had a look at the Umbraco.Forms.Web.Services.RecordService's event handlers and there are 3 : RecordApproved, RecordDeleted, RecordSubmitted. Not sure if this is the right way to go.
How do I check email address before sending
Hey Guys,
I'm using Umbraco CMS v7.5.6 and Umbraco Forms v4.4.0 and I want to know if there is a way to validate email address before sending? The problem is I sometimes want to send test enquiry on production environment and the way I normally do is to enter dummy data so that it can be ignored in the other end. For example, I use @mailinator.com domain for testing enquires so any email using this domain should not be sent. However, the fact is that these test enquires have been already sent to real people and sometimes it makes you irritated.
I had a look at the Umbraco.Forms.Web.Services.RecordService's event handlers and there are 3 : RecordApproved, RecordDeleted, RecordSubmitted. Not sure if this is the right way to go.
Hope I made myself clear. Thanks
Regards,
TP
is working on a reply...