2013 Oct 29 12:24 PM
Hello Experts,
How can I validate the email address provided?
I know to validate the format using FM 'SX_INTERNET_ADDRESS_TO_NORMAL'.
I searched in the SCN Forum and found the threads related to the Format like :
1. If the user has entered ‘@’
2. If the user has entered proper web address (.com, .net, etc)
But I want to validate if it is valid email where in it really does exists.
In ADR6 table also, it is saving invalid email id in XD02 i.e., xyz123@yabc.com. This email id does not exists, but the format is correct. Email will not be sent. I want to send the notification to the Sender saying it is not delivered.
Please advise.
Thanks & Regards,
Sowmya
2013 Oct 29 12:32 PM
Hi Sowmya,
forget to control mail address, you can't.
Because you could configure the SMTP server to answer or not about the existence of the email address. So you will never know for some domain if the mail exist.
check with an regex the structure xxx@xxx.xxx that's all
regards
Fred
2013 Oct 29 12:32 PM
Hi Sowmya,
forget to control mail address, you can't.
Because you could configure the SMTP server to answer or not about the existence of the email address. So you will never know for some domain if the mail exist.
check with an regex the structure xxx@xxx.xxx that's all
regards
Fred
2013 Oct 29 2:22 PM