nooby Posted April 22, 2007 Posted April 22, 2007 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
SadBunny Posted April 22, 2007 Posted April 22, 2007 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?Thx1) 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 , 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.
nooby Posted April 22, 2007 Author Posted April 22, 2007 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
SadBunny Posted April 22, 2007 Posted April 22, 2007 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 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.
nooby Posted April 22, 2007 Author Posted April 22, 2007 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?
tAKTelapis Posted April 22, 2007 Posted April 22, 2007 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.
lordofthestrings Posted April 23, 2007 Posted April 23, 2007 (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:\>nslookupDefault Server: MyNameServerAddress: 193.221.242.62> set q=mx> google.beServer: MyNameServerAddress: 193.221.242.62Non-authoritative answer:google.be MX preference = 10, mail exchanger = smtp4.google.comgoogle.be MX preference = 10, mail exchanger = smtp1.google.comgoogle.be MX preference = 10, mail exchanger = smtp2.google.comgoogle.be MX preference = 10, mail exchanger = smtp3.google.comgoogle.be nameserver = ns4.google.comgoogle.be nameserver = ns1.google.comgoogle.be nameserver = ns2.google.comgoogle.be nameserver = ns3.google.comns1.google.com internet address = 216.239.32.10ns2.google.com internet address = 216.239.34.10ns3.google.com internet address = 216.239.36.10ns4.google.com internet address = 216.239.38.10 Edited April 23, 2007 by lordofthestrings
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now