Qt 3 had a class called QDns using which an e-mail could be sent easily. I cannot find anything similar in Qt 4.
I need something using which I send mails (with attachment) from my application itself.
Please help.
Thanks a lot.
Printable View
Qt 3 had a class called QDns using which an e-mail could be sent easily. I cannot find anything similar in Qt 4.
I need something using which I send mails (with attachment) from my application itself.
Please help.
Thanks a lot.
Are you sure? QDns is used to resolve network addresses using DNS, not for sending emails...
QDns replacement in Qt4 is QHostInfo.Quote:
I cannot find anything similar in Qt 4.
I'm afraid QHostInfo won't be of much help here :) You need some SMTP class for that, I'm sure there is an SMTP class for C++ somewhere on the Net.Quote:
I need something using which I send mails (with attachment) from my application itself.
Yes, you are right. But QDns can also be used to look up for mail servers which I think cannot be done using QHostInfo. May be I am wrong.Quote:
Originally Posted by Wysota