|
-
Feb 4th, 2000, 04:33 AM
#1
Thread Starter
Addicted Member
Hello!
I'm developing an internet application and I'd like to ask this:
Is possible to send mail without any ActiveX controls? Or if it isn't: How can I send mail with Winsock control?
Regards
Zvonko
-
Feb 4th, 2000, 05:02 AM
#2
the iis smtp server is accessable by CDONTS.dll It is pretty easy to code.
the documentation in vb6 help is that bad, check it out. Not sure about winsock, havn't used it very much.
-
Feb 5th, 2000, 11:43 PM
#3
Fanatic Member
It's quite possible with a wnisock control but not very fun. you need to know a bit about SMTP, but once you get the text based commands right you can link to a server (provided it'll accept you) and send mail.
It'll take a little research and you'd be better off encapsulating it in a class for re-use. it'd be quite useful once you'd done it.
I did this a while ago by looking up SNMP commands on the net then telnetting to my ISP's mail IP and port. give it a go, it's not too hard once you get the idea.
-
Feb 6th, 2000, 02:05 AM
#4
Lively Member
Take a look at the RFC's about SMTP.
-
Feb 6th, 2000, 09:49 PM
#5
New Member
That's right, to send e-mail with Winsock Control you need to read RFC821 about SMTP and probably RFC822 that describes Internet message format.
I have an example at my website - sample app that sends e-mail using Winsock Control. Also it allows to include attachments encoded with uucode algorithm.
------------------
Oleg Gdalevich, MCSD
Visual Basic Internet Programming website
-
Feb 7th, 2000, 02:40 AM
#6
Thread Starter
Addicted Member
Hi!
Thanks, guys, you helped me...
But it wasn't what I had in my mind...
How can I send mail through Winsock in my VB-CGI app? I already tried alone, but in references there is no Winsock, just in Components...
Can you help me again?
------------------
Zvonko Bostjancic
Ilirska Bistrica, Slovenia
[email protected]
-
Feb 8th, 2000, 10:23 PM
#7
New Member
for vb-cgi to send mail...two ways to do it.
(1)use shell and command line Aps
like blat.exe ....
(2)use 3rd party dll
like jMail ....
Of course, you can code yourself a dll.
If you need, I can find these files for you.
Good luck!
-
Feb 9th, 2000, 03:21 AM
#8
Lively Member
i have used MAPI32.DLL to send mails,etc..
i dont know whether this can be used for
web .. It is pretty neat..
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|