Click to See Complete Forum and Search --> : Sending mail
Zvonko
Feb 4th, 2000, 03:33 AM
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
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.
Paul282
Feb 5th, 2000, 10:43 PM
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.
Bart
Feb 6th, 2000, 01:05 AM
Take a look at the RFC's about SMTP.
Oleg Gdalevich
Feb 6th, 2000, 08:49 PM
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 (http://www.vbip.com)
Zvonko
Feb 7th, 2000, 01:40 AM
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
zvonko.bostjancic@siol.net
ufjessey
Feb 8th, 2000, 09:23 PM
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!
sarath_777
Feb 9th, 2000, 02:21 AM
i have used MAPI32.DLL to send mails,etc..
i dont know whether this can be used for
web .. It is pretty neat..
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.