Results 1 to 5 of 5

Thread: client Email dll HELP!!!!!!

  1. #1

    Thread Starter
    Lively Member markmyb's Avatar
    Join Date
    Nov 2001
    Location
    Alberton - South Africa
    Posts
    108

    Question client Email dll HELP!!!!!!



    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.


    Confusios say "Man who run in front of car get tired."

  2. #2
    Evil Genius alex_read's Avatar
    Join Date
    May 2000
    Location
    Espoo, Finland
    Posts
    5,538
    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.

    Please rate this post if it was useful for you!
    Please try to search before creating a new post,
    Please format code using [ code ][ /code ], and
    Post sample code, error details & problem details

  3. #3
    Evil Genius alex_read's Avatar
    Join Date
    May 2000
    Location
    Espoo, Finland
    Posts
    5,538
    Code:
    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:[email protected]", _
        vbNullString, "C:\", SW_SHOWNORMAL
    End Sub
    It's hard god damn work being this good

    Please rate this post if it was useful for you!
    Please try to search before creating a new post,
    Please format code using [ code ][ /code ], and
    Post sample code, error details & problem details

  4. #4

    Thread Starter
    Lively Member markmyb's Avatar
    Join Date
    Nov 2001
    Location
    Alberton - South Africa
    Posts
    108

    Thumbs up SWEET ASS

    Thanks.



    alex_read your da bomb dude...
    Confusios say "Man who run in front of car get tired."

  5. #5
    Member
    Join Date
    Nov 2001
    Location
    Canada
    Posts
    59
    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
    Last edited by IznoGood; Dec 6th, 2001 at 10:31 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width