PDA

Click to See Complete Forum and Search --> : client Email dll HELP!!!!!!


markmyb
Nov 30th, 2001, 06:39 AM
:confused:

I need to developing a Email dll that will be deployed to all
my Co clients.

Problem is that everyone uses varies email applications,eg: "outlook, Peugusas, Outlook Express even hotmail".

Thought of using MAPI, but you need to have exchange sever 5 loaded on the client side. Is there no universal email protocol I can download and get a tutorial on.

HELPS HELP URGENT!!!

Sort description of application:
The dll receives all the parameter from the client app and send it to our server side component. From here is send back a email message which my dll picks up and raises and event to the client app with the email.


:D

alex_read
Nov 30th, 2001, 10:54 AM
You'll wanna search this site for an example of the ShellExcecute API call, with the mailto option, this you can use to send e-mails from a pc no matter what the default e-mail program as this is picked up & detected for you from the windows registry. ;)

alex_read
Nov 30th, 2001, 11:00 AM
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_SHOWNORMAL = 1

Private Sub Command1_Click()
ShellExecute Me.hwnd, vbNullString, "mailto:Fictional@EMail.net", _
vbNullString, "C:\", SW_SHOWNORMAL
End SubIt's hard god damn work being this good :D

markmyb
Dec 3rd, 2001, 12:12 AM
Thanks.

:D

alex_read your da bomb dude...

IznoGood
Dec 6th, 2001, 08:57 AM
Hi,

alex_read is there a way to used that code and automaticly send a e-mail without promping the user ?

I know how to send a mail with a smtp servers but it's seem to take a lot of time before receiving the e-mail or even sometime I've received that the mail was sent from the server and I never received it.

thanks