Results 1 to 3 of 3

Thread: Sending email

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jul 2000
    Location
    Ca
    Posts
    106

    Question

    hello.. I'm trying to send email using winsock... is there a way where i can get POP server name from outlook express at run time without having the user to input it manually?
    Help needed ASAP

  2. #2
    _______ HeSaidJoe's Avatar
    Join Date
    Jun 1999
    Location
    Canada
    Posts
    3,946

    <?>

    just a thought as I don't know what you are trying to accomplish as an end, but if you are using Outlook could you not just shell it.'launch default email program and send mail

    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

    Private Const SW_SHOW = 5

    'form code
    ShellExecute hwnd, "open", "mailto:[email protected]", vbNullString, vbNullString, SW_SHOW


    "A myth is not the succession of individual images,
    but an integerated meaningful entity,
    reflecting a distinct aspect of the real world."

    ___ Adolf Jensen

  3. #3
    Conquistador
    Join Date
    Dec 1999
    Location
    Australia
    Posts
    4,527
    there are some good demos of sending email at http://www.planet-source-code.com

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