SMTP Protocol from Worker

Is there any way that I can directly communicate with an SMTP host from a worker? What I'm trying to do is basically:
HELO myhostname.com
MAIL FROM:<noreply@mydomain.com>
RCPT TO:<userprovided@email.address>
QUIT

the idea is all i'm trying to get is the response for that RCPT TO to check if a provided email address is valid
Was this page helpful?