• Welcome to Valhalla Legends Archive.
 

Sending an email..

Started by QwertyMonster, July 08, 2005, 01:33 PM

Previous topic - Next topic

MyndFyre

Assuming VB and that you're on a Windows NT Workstation- or Server-based system that has IIS and the SMTP Virtual Server installed, if you use the CDONTS.NewMail object:


Dim mailObj As CDONTS.NewMail
Set mailObj = CreateObject("CDONTS.NewMail")

mailObj.To = "[email protected]"
mailObj.From = "[email protected]"
mailObj.Subject = "This is spam."
mailObj.Body = "This is a spam message from everyone who directly copied your code sample from vL."

mailObj.Send

Set mailObj = Nothing
QuoteEvery generation of humans believed it had all the answers it needed, except for a few mysteries they assumed would be solved at any moment. And they all believed their ancestors were simplistic and deluded. What are the odds that you are the first generation of humans who will understand reality?

After 3 years, it's on the horizon.  The new JinxBot, and BN#, the managed Battle.net Client library.

Quote from: chyea on January 16, 2009, 05:05 PM
You've just located global warming.

QwertyMonster

Ah i will look into CDONTS. Thanks MyndFyre.

R.a.B.B.i.T

Just stick with telnet, it's more fun :)