Forums before death by AOL, social media and spammers... "We can't have nice things"
|    comp.lang.visual.basic    |    MS Visual Basic discussions, NOT dot-net    |    10,840 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 9,238 of 10,840    |
|    Kevin Robinson to All    |
|    email + VB6    |
|    28 Feb 05 09:51:07    |
      From: k.s.robinson@btinternet.com              Hi,              I hope someone can help me with an email problem.              I am able to use ShellExecute to open a default email application and to add       an atachment to it with the following code:-              stext = email@example.com       aAddedtext = sAddedtext & "&Subject=" & "Title"       aAddedtext = sAddedtext & "&Body=" & "Attachments:"              sAddedtext = sAddedtext & "Attach=" & Chr$(34) & Me!txtAttachment & Chr$(34)              stext = "mailto:" & stext              stext= stext & sAddedText              call ShellExecute(Me.hwnd, "open",stext, vbNullString, vbNullString,       SW_SHOWNORMAL)                     The txtAttachment is a text box with the path of the attachment.              I have two problems :              1) I can only attach 1 attachment, how can I attach two attachments?       2) How can I automatically send the email without is window appearing?              Thanks in anticipation              Kevin              --- SoupGate-Win32 v1.05        * Origin: you cannot sedate... all the things you hate (1:229/2)    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca