Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

dll for e-mail 1

Status
Not open for further replies.

TrojanRabbit

Programmer
Apr 4, 2002
190
US
has a dll with VB code good for e-mailing without having to use an e-mail program. #7 in the list. Set a reference to the dll and use the following code:

Dim mlr As Mailer.cMail
Set mlr = New Mailer.cMail

mlr.MailServer = <server>
mlr.Port = <port>
mlr.From = <from>
mlr.SendTo = <to>
mlr.Subject = <subject>
mlr.Message = <message>
mlr.SendMail

Set mlr = Nothing

They use Port 25. I recommend the same. (Only 25 worked for me.)
 
looks good!
I'm going to forward that on to the developer of my database... thanks!

good tip!
--Junior JHauge@jmjpc.net
Life is change. To deny change is to deny life.
 
I'm not sure if you need winsock to have this. The site also has a winsock application download in case. The dll may need to be on any system that uses the code.
 
yea, but i'm going to look into this...

thanks.
--Junior JHauge@jmjpc.net
Life is change. To deny change is to deny life.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top