Sign in to follow this  
Followers 0
nooby

Verifying email addresses

7 posts in this topic

2 questions..

1) How can I send an email with a code (example: LFGE2-8AN4S) to an entered email address to verify the users email?

2) How am I able to "blacklist" an email?

Thx

Share this post


Link to post
Share on other sites



2 questions..

1) How can I send an email with a code (example: LFGE2-8AN4S) to an entered email address to verify the users email?

2) How am I able to "blacklist" an email?

Thx

1) Maybe _INetMail can help? Medium solution: (Control)Send everything you a mail app. Hard way around is connecting to a mailserver and speak smtp with it.

2) Depends where you want to blacklist it... In MSOE it's in the message rules; should be easy to set filters :shocked:, Hard way around would be to connect to a mailserver and speak pop with it, then filter, set up a pop-server and let your e-mail client retrieve only some mails... Create a spamfilter while you're at it! :(


Roses are FF0000, violets are 0000FF... All my base are belong to you.

Share this post


Link to post
Share on other sites

the solution for 1) is too sloppy. I'm guessing this is near impossible to do? smtp seems the way to go, but i do not know how to use it :shocked:

Share this post


Link to post
Share on other sites

the solution for 1) is too sloppy. I'm guessing this is near impossible to do? smtp seems the way to go, but i do not know how to use it :shocked:

Ok, how about _INetSmtpMail() (#include <INet.au3>)? "Sends an e-mail without using an external program."


Roses are FF0000, violets are 0000FF... All my base are belong to you.

Share this post


Link to post
Share on other sites

I've tried that before, but my $s_SmtpServer always seems to be incorrect. Not sure how to get a working one, is there anyone who has successfully done this before?

Share this post


Link to post
Share on other sites

Hmm, try using blat:

http://www.blat.net/

See if you can get it to bounce an email to you off of your chosen SMTP server, if it can, then you at least know thats working.

Share this post


Link to post
Share on other sites

#7 ·  Posted (edited)

inetmail uses CDO object to send mail, meaning that any installed client can be used. I tested it with outlook express, outlook, and lotus notes (yes you heard me)! all works just fine..

to get the SMTP Server, take your outgoing mailserver..

in outlook its normally under tools --> e-mail accounts--> microsoft exchange server (there you doubleclick and see the SMTP mailserver)

alternatively you can check what is the maiserver by using a dosbox..

nslookup = name server lookup, this translates DNS Requests into IP Adresses.

set q = mx means Set query type to MX Record, youre asking the MX record on this nameserver..

H:\>nslookup

Default Server: MyNameServer

Address: 193.221.242.62

> set q=mx

> google.be

Server: MyNameServer

Address: 193.221.242.62

Non-authoritative answer:

google.be MX preference = 10, mail exchanger = smtp4.google.com

google.be MX preference = 10, mail exchanger = smtp1.google.com

google.be MX preference = 10, mail exchanger = smtp2.google.com

google.be MX preference = 10, mail exchanger = smtp3.google.com

google.be nameserver = ns4.google.com

google.be nameserver = ns1.google.com

google.be nameserver = ns2.google.com

google.be nameserver = ns3.google.com

ns1.google.com internet address = 216.239.32.10

ns2.google.com internet address = 216.239.34.10

ns3.google.com internet address = 216.239.36.10

ns4.google.com internet address = 216.239.38.10

Edited by lordofthestrings

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0