Sending Email
-
Hi !! I like to develop application in VC++ to send email. But i neither want to use MAPI nor I want to use any SMTP server. There are excellent articles here by PJ Naughter to send maill using MAPI and without using MAPI. But i want my application not to use any SMTP server and I want it to send mail directly. I hope that it is possible if one is connected to internet. Is there any sample application you aware of present somewhere ????
-
Hi !! I like to develop application in VC++ to send email. But i neither want to use MAPI nor I want to use any SMTP server. There are excellent articles here by PJ Naughter to send maill using MAPI and without using MAPI. But i want my application not to use any SMTP server and I want it to send mail directly. I hope that it is possible if one is connected to internet. Is there any sample application you aware of present somewhere ????
Read the RFC's 821, 822 and 2045[^] . Connect to the outside mailhost and communicate directly with it via TCP/IP using WinSock 2. This can be done using telnet, by hand, if you know what you're doing ;) BTW, you will eventually use an SMTP or other type of mail server, just closer to your email destination.
"The greatest danger to humanity is humanity without an open mind."
- Ian Mariano
http://www.ian-space.com/ -
Hi !! I like to develop application in VC++ to send email. But i neither want to use MAPI nor I want to use any SMTP server. There are excellent articles here by PJ Naughter to send maill using MAPI and without using MAPI. But i want my application not to use any SMTP server and I want it to send mail directly. I hope that it is possible if one is connected to internet. Is there any sample application you aware of present somewhere ????
I'm not following you. You can write your own class or application to send mail, but you're gonna have to connect to some kind of a mail server at some point. To my knowledge, the only way to NOT use an SMTP server (or other kind of mail server, as most internet mail is SMTP) is to be your own smtp server and become registered as such. Why do you not want to use an SMTP server? You can write a class which talks directly to your outgoing mail server (just like every other email client in the world) with not too much work communicating directly with the CSocket class. Paul Oss
-
I'm not following you. You can write your own class or application to send mail, but you're gonna have to connect to some kind of a mail server at some point. To my knowledge, the only way to NOT use an SMTP server (or other kind of mail server, as most internet mail is SMTP) is to be your own smtp server and become registered as such. Why do you not want to use an SMTP server? You can write a class which talks directly to your outgoing mail server (just like every other email client in the world) with not too much work communicating directly with the CSocket class. Paul Oss
He might be trying to get around the problem that many ISPs require you to be connected to them in order to use their SMTP server. It's not sufficient to just supply a username and password. /ravi Let's put "civil" back in "civilization" http://www.ravib.com ravib@ravib.com
-
He might be trying to get around the problem that many ISPs require you to be connected to them in order to use their SMTP server. It's not sufficient to just supply a username and password. /ravi Let's put "civil" back in "civilization" http://www.ravib.com ravib@ravib.com
Ravi Bhavnani wrote: He might be trying to get around the problem that many ISPs require you to be connected to them in order to use their SMTP server. It's not sufficient to just supply a username and password. You're talking about the relaying issue, I assume. Yeah, it seems like trying to hit a finishing nail in with a sledgehammer to void using SMTP servers to deliver email. Paul
-
Hi !! I like to develop application in VC++ to send email. But i neither want to use MAPI nor I want to use any SMTP server. There are excellent articles here by PJ Naughter to send maill using MAPI and without using MAPI. But i want my application not to use any SMTP server and I want it to send mail directly. I hope that it is possible if one is connected to internet. Is there any sample application you aware of present somewhere ????