Link to home
Start Free TrialLog in
Avatar of Joshyy
Joshyy

asked on

Sending an email?

Hi... I am currently using the Microsoft Outlook 9.0 reference to connect to my outlook and send and recieve mail.  However, if Outlook is not present this will not work... could someone tell me another good way of sending email w/o having to have outlook on the pc?

Thanks
ASKER CERTIFIED SOLUTION
Avatar of BlackShark
BlackShark

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Or use the vbSendmail component from http://www.freevbcode.com/ShowCode.Asp?ID=109

This is a simple activex dll that can be used to send mail without any mail client on the machine.
Avatar of GrahamAtJobserve
GrahamAtJobserve

If you want really high performace try

http://www.geocel.com/devmailer/Technical_Specs.htm

Its quick and simple, though relatively unsophisticated.




Private Declare Function ShellExecute Lib "shell32.dll" Alias "ShellExecuteA" (ByVal hwnd As Long, ByVal
lpOperation As String, ByVal lpFile As String, ByVal lpParameters As String, ByVal lpDirectory As String,
ByVal nShowCmd As Long) As Long

Const SW_NORMAL = 1

sAddr = "mailto:you@home.com"

ShellExecute hwnd, "open", sAddr, vbNullString, vbNullString, SW_NORMAL
Avatar of Joshyy

ASKER

thanks everyone for your comments...

BlackShark and TimCottee... ill have a look at those and see which one best suits my need.

GrahamAtJobserve... sorry i am trying not to purchase in order to get a solution.

Dave_Greene... i dont want the user to know that i am sending mail... plus that method will just invoke the default mail program... i am trying to not use any mail programs... btw do u live in canada?