Re: send emails with attachments

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Edgar_Torres napsal(a):
Hi to everyone, I need your help again, thanks for your help in the
past, well i wrote this code and works but, How Can I attach a file,

oShell = NEWOBJECT("_shellexecute", ;
HOME(0)+"FFC\_environ.vcx")


oShell.shellexecute("mailto:some...@xxxxxxxxxxxxxxx"; + ;
"?subject=How can I attach a File" + ;
"&cc=CarbonC...@xxxxxxxxxxxxxxx" + ;
"&bcc=BlindCarbonC...@xxxxxxxxxxxxxxx" + ;
"&body=How can I attach a File")

Thanks I hope an answer soon as be possible,

Regards,

Edgar

AFAIK it is not possible. Your command calls default MAPI client's message form filled with your data. I have tested it some time ago with OE, MS Outlook 2000 and Thunderbird, but none of them is able to work with "attachment" or "attach" parameter.
.



Relevant Pages

  • Re: Send a message with MAPI properties via CDOEX not working
    ... attach the task as CdoEmbeddedMessage eg something like this works okay for ... >> the RFC 822 stream of the message which is ex any mapi attributes. ... >> with mapi properties to the Exchange Mail Submission Uniform Resource ... >>> Similar problem when trying to attach an existing object. ...
    (microsoft.public.exchange.development)
  • Re: Need help - SQL Express 2005 (Beta 2) - where to start ?
    ... AFAIK, the current express version does not come with a tool - you'd ... have to do it all with the command line tools. ... Serious about building a career as .NET Developer. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Cannot add a second domain controller.
    ... This command will save the output to a text file called netdiage.txt on your ... Then when you reply with your next post, just attach these two files. ... Ace Fekay, MCSE 2000, MCSE+I, MCSA, MCT, MVP ... Microsoft Windows MVP - Active Directory ...
    (microsoft.public.win2000.dns)
  • Re: Attachment with followhyperlink mailto
    ... Dim sendstring As String ... this method when the filename to attach is known? ... SendObject most definitely does *not* imply a reference to the Outlook ... case -- assuming they have one and it's MAPI compliant. ...
    (microsoft.public.access.modulesdaovba)
  • Re: Algorithm plugins
    ... You should attach to the msmdsrv.exe process. ... You can set up the properties of your plug-in project so that F5 debugging ... Note that, when started from command line, the server looks for an INI file ...
    (microsoft.public.sqlserver.datamining)