Verifying email address through VBA

netusimcotudam

New Member
Joined
Feb 27, 2019
Messages
4
Hi,
can anybody help me with task to check if email address is correct? I dont mean format, but if it bounces without sending an email.
There are online services to do that for some price so it is possible to do it somehow(they were correct for my company mail, personal mail, gmail etc.).

So far I tried it in python through smtp and rcpt commands, but that only works for gmail.

I would like to use those online services, but company policy does not allow to do so.

Please send help.

Thanks.
 

Excel Facts

Round to nearest half hour?
Use =MROUND(A2,"0:30") to round to nearest half hour. Use =CEILING(A2,"0:30") to round to next half hour.
Self update:
Altough it would be in theory possible to give smtp server right parameters, that those companies are using to verify if email exists (vrfy, rcpt to)
Apparetly most of email servers are trying to ping back first, to see, if you are also email server with static IP address and some "reputation?" Which of course single user, connected to random WiFi doesnt have, therefore server sends generic error instead.

And thats where I'm giving up.
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,178
Members
453,021
Latest member
Justyna P

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top