Hi every1
Im trying to get some stuff on VB and well I'm new to VB. What I need is, How can I send an email from VB without using MAPI/Outlook. Just like what we do in asp or asp.net.
Any anwsers would be appreciable!
Thanks in advance.
Nickel
Printable View
Hi every1
Im trying to get some stuff on VB and well I'm new to VB. What I need is, How can I send an email from VB without using MAPI/Outlook. Just like what we do in asp or asp.net.
Any anwsers would be appreciable!
Thanks in advance.
Nickel
U can get 3rd Party OCXs or use WinsockQuote:
Originally Posted by coolnickel
Please have a look at the FAQ at the top of this forum,
http://www.vbforums.com/showthread.php?t=319832
It contains links to help you out :)
This one should be what your after,
http://winsockvb.com/article.php?article_id=20
Pino ;)
you can use telnet. and whast cool about it, the email you are sending from doesnt even have to be real, so anonymous emails galore. I like to email people using [email protected]. :thumb:
EDIT: found a site using telent to send SMTP mail http://winsockvb.com/article.php?article_id=20
I cant send the email?
I tried many smtp servers but its not working...
VB Code:
With SMTP .Server = "mail.hotmail.com" .Port = 25 .MailFrom = "[email protected]" .MailTo = "[email protected]" .NameFrom = "Me" .NameTo = "You" .Subject = "Test mail from WinsockVB.com control" .Body = "Hello"
I also have the other SMTP titled code in the bacground. I click play and it doesnt show anything. Just a curso blinking really fast. And I cant type anything inside it and that doesn't work? So what can be the problem? I havent messed with the code any?!?!?
This would be very helpful to learn, thanksss :D