Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ MT-multithreading and servers » SmtpMail class
Re: SmtpMail class [message #5636 is a reply to message #5627] Fri, 06 October 2006 18:37 Go to previous messageGo to previous message
nicomesas is currently offline  nicomesas
Messages: 104
Registered: September 2006
Location: Barcelona, Spain
Experienced Member
I have throughout been studying this class the day and I believe that I have reached some conclusion.

The host that this class needs, is not like in other objects acceding to protocol smtp; with this class we directly sent the mail to the server of the mail recipient.

Then, the problem is in finding out which is the name of host for a given server, since if we sent a mail to alguien@gmail.com, host IS NOT gmail.com. I Think I need to find the MX record from gmail.com.

I have found some codes GNU useful, but finally I have remained with one found here
http://viewcvs.pointblue.com.pl/index.cgi/gj/sendemail/mx.c

I have written with it an example that I'm attached here, so that we pruned to follow the conversation between all.

Nico

PS. I don't know if the sample works in windows, because it use the (unknow for me) 'resolv' library
  • Attachment: test_smtp.zip
    (Size: 5.96KB, Downloaded 1989 times)
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: method in separate process
Next Topic: Socket: how to check wether new data arrived? timeout = NULL?
Goto Forum:
  


Current Time: Sun Aug 17 02:44:33 CEST 2025

Total time taken to generate the page: 0.04538 seconds