PC Review Forums Newsgroups Microsoft Outlook Microsoft Outlook Program Addins Re: Command line switches to sent mail using outlook from vb

Reply

Re: Command line switches to sent mail using outlook from vb

 
Thread Tools Rate Thread
Old 02-07-2003, 02:05 PM   #1
Ken Slovak - [MVP - Outlook]
Guest
 
Posts: n/a
Default Re: Command line switches to sent mail using outlook from vb


There is no switch for sending email. You can use Outlook automation
in the script to do that but it will trigger the security prompts in
secure versions of Outlook.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Lead Author, Professional Outlook 2000 Programming, Wrox Press
Lead Author, Beginning VB 6 Application Development, Wrox Press
Attachment Options
http://www.slovaktech.com/attachmentoptions.htm
Extended Reminders
http://www.slovaktech.com/extendedreminders.htm


"Raju Raghavan" <raju@btpcg.com.sg> wrote in message
news:02df01c3407a$14d3f9d0$a001280a@phx.gbl...
> Hi helpful,
>
> Can any one help to get me the switch in sent mail from
> vb. I am able to attach file, plug in the address list and
> open the outlook. I would like to know the switch to be
> included in the below script so that outlook can sent the
> mail.
>
> ls_outlook = 'C:\Program Files\Microsoft
> Office\Office\outlook.exe'
>
> ls_addressee = is_email
> ls_attach = ls_file_saveas
>
> ls_run_string = "" + ls_outlook + "" + ' /c
> IPM.Note /m ' + ls_addressee + ' /a ' + ls_attach
>
> shell(.................ls_run_string)
>
>
> Thanks
> Raju Raghavan



  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off