OK see the following link for a debug version that will output plenty of information to the Immediate Window (just using Debug.WriteLine) : http://www.cjwdev.co.uk/DeveloperCom...EBUG-BUILD.zip
When I use the code I posted a couple of posts back and run it with these debug versions of the DLLs, I see the following in my Immediate Window:
Can you try running it and post exactly what you get in the Immediate Window? ThanksCode:SendEmail method called, performing property/argument validation... Property/argument validation complete Starting loop through recipients... Starting send for [email protected] ... Checking recipient domain name is valid... Recipient domain validation complete Creating DnsClient instance (DNS server 192.168.0.254) ... DnsClient instance created Performing MX lookup for gmail.com ... Sent MX record lookup for gmail.com Sent A record lookup for alt3.gmail-smtp-in.l.google.com Sent A record lookup for alt2.gmail-smtp-in.l.google.com Sent A record lookup for alt1.gmail-smtp-in.l.google.com Sent A record lookup for alt4.gmail-smtp-in.l.google.com Sent A record lookup for gmail-smtp-in.l.google.com MX lookup complete, 5 MX records found Starting loop through MX records... Starting loop through email server IP addresses in this record... Initiating connection with remote SMTP server 209.85.220.29 on worker thread... Checking to see if initial connection was successful... Initial connection was successful, set wait signal and wait for this thread to be unblocked by the worker thread... No previous SMTP command sent, sending EHLO command... Last SMTP command sent: Ehlo Last SMTP command sent: MailFrom Last SMTP command sent: RcptTo Last SMTP command sent: DataCommand Last SMTP command sent: Data No errors reported from server - classing message as being submitted successfully Ending SMTP session for the following reason: MessageSubmittedSuccessfully Unblocking original thread... Worker thread unblocked original thread, checking session result Loop through mail server IP addresses complete Loop through MX records complete Loop through recipients complete, returning result list to caller of SendEmail method





Reply With Quote