PC Review


Reply
Thread Tools Rate Thread

Automatically login to Outlook and a specific profile on a server?

 
 
=?Utf-8?B?R29yZG9u?=
Guest
Posts: n/a
 
      18th Jul 2005
All,.

I have a need to start up Outlook on a server and make sure it is up and
running and logged in as a specific profile. Ideally this would be done as a
service an automatically restart if it is closed for any reason.

We have a report that is generated in Excel and needs to send itself out
using a macro we wrote. Of course with all the security nowadays, this is
not so easy anymore.

Is there any MVP's out there that might be able to help with this situation?

Thanks in advance.

Gordon Cashmore
 
Reply With Quote
 
 
 
 
Sue Mosher [MVP-Outlook]
Guest
Posts: n/a
 
      18th Jul 2005
Outlook is not suitable for running on a server or automating as a service. A better solution would be to use CDO for Windows to send the message via a particular SMTP account.

--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx


"Gordon" <(E-Mail Removed)> wrote in message news:36DD4F63-A399-40B7-86FA-(E-Mail Removed)...
> All,.
>
> I have a need to start up Outlook on a server and make sure it is up and
> running and logged in as a specific profile. Ideally this would be done as a
> service an automatically restart if it is closed for any reason.
>
> We have a report that is generated in Excel and needs to send itself out
> using a macro we wrote. Of course with all the security nowadays, this is
> not so easy anymore.
>
> Is there any MVP's out there that might be able to help with this situation?
>
> Thanks in advance.
>
> Gordon Cashmore

 
Reply With Quote
 
=?Utf-8?B?R29yZG9u?=
Guest
Posts: n/a
 
      18th Jul 2005
Any ideas where I can find examples of doing this from within Excel? The
security of the Macros etc is what causes everything to fail. If we could
get Outlook out of the way, that would be great!!!!

"Sue Mosher [MVP-Outlook]" wrote:

> Outlook is not suitable for running on a server or automating as a service. A better solution would be to use CDO for Windows to send the message via a particular SMTP account.
>
> --
> Sue Mosher, Outlook MVP
> Author of
> Microsoft Outlook Programming - Jumpstart for
> Administrators, Power Users, and Developers
> http://www.outlookcode.com/jumpstart.aspx
>
>
> "Gordon" <(E-Mail Removed)> wrote in message news:36DD4F63-A399-40B7-86FA-(E-Mail Removed)...
> > All,.
> >
> > I have a need to start up Outlook on a server and make sure it is up and
> > running and logged in as a specific profile. Ideally this would be done as a
> > service an automatically restart if it is closed for any reason.
> >
> > We have a report that is generated in Excel and needs to send itself out
> > using a macro we wrote. Of course with all the security nowadays, this is
> > not so easy anymore.
> >
> > Is there any MVP's out there that might be able to help with this situation?
> >
> > Thanks in advance.
> >
> > Gordon Cashmore

>

 
Reply With Quote
 
Sue Mosher [MVP-Outlook]
Guest
Posts: n/a
 
      18th Jul 2005
See http://support.microsoft.com/default...b;en-us;286431

--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx


"Gordon" <(E-Mail Removed)> wrote in message news:1D603019-6B99-43D8-AD55-(E-Mail Removed)...
> Any ideas where I can find examples of doing this from within Excel? The
> security of the Macros etc is what causes everything to fail. If we could
> get Outlook out of the way, that would be great!!!!
>
> "Sue Mosher [MVP-Outlook]" wrote:
>
>> Outlook is not suitable for running on a server or automating as a service. A better solution would be to use CDO for Windows to send the message via a particular SMTP account.


>>
>>
>> "Gordon" <(E-Mail Removed)> wrote in message news:36DD4F63-A399-40B7-86FA-(E-Mail Removed)...
>> > All,.
>> >
>> > I have a need to start up Outlook on a server and make sure it is up and
>> > running and logged in as a specific profile. Ideally this would be done as a
>> > service an automatically restart if it is closed for any reason.
>> >
>> > We have a report that is generated in Excel and needs to send itself out
>> > using a macro we wrote. Of course with all the security nowadays, this is
>> > not so easy anymore.
>> >
>> > Is there any MVP's out there that might be able to help with this situation?
>> >
>> > Thanks in advance.
>> >
>> > Gordon Cashmore

>>

 
Reply With Quote
 
=?Utf-8?B?R29yZG9u?=
Guest
Posts: n/a
 
      21st Jul 2005
I know we have tried this and works fine, but we are having problems sending
a text file at text in the body of the email, and not as an attachment. Is
there a way to modify this? We have only been able to send the txt file as
an attachment, it seems that sending the text file data in the body of the
email is not possible.

Thanks again for all your help!!!

"Sue Mosher [MVP-Outlook]" wrote:

> See http://support.microsoft.com/default...b;en-us;286431
>
> --
> Sue Mosher, Outlook MVP
> Author of
> Microsoft Outlook Programming - Jumpstart for
> Administrators, Power Users, and Developers
> http://www.outlookcode.com/jumpstart.aspx
>
>
> "Gordon" <(E-Mail Removed)> wrote in message news:1D603019-6B99-43D8-AD55-(E-Mail Removed)...
> > Any ideas where I can find examples of doing this from within Excel? The
> > security of the Macros etc is what causes everything to fail. If we could
> > get Outlook out of the way, that would be great!!!!
> >
> > "Sue Mosher [MVP-Outlook]" wrote:
> >
> >> Outlook is not suitable for running on a server or automating as a service. A better solution would be to use CDO for Windows to send the message via a particular SMTP account.

>
> >>
> >>
> >> "Gordon" <(E-Mail Removed)> wrote in message news:36DD4F63-A399-40B7-86FA-(E-Mail Removed)...
> >> > All,.
> >> >
> >> > I have a need to start up Outlook on a server and make sure it is up and
> >> > running and logged in as a specific profile. Ideally this would be done as a
> >> > service an automatically restart if it is closed for any reason.
> >> >
> >> > We have a report that is generated in Excel and needs to send itself out
> >> > using a macro we wrote. Of course with all the security nowadays, this is
> >> > not so easy anymore.
> >> >
> >> > Is there any MVP's out there that might be able to help with this situation?
> >> >
> >> > Thanks in advance.
> >> >
> >> > Gordon Cashmore
> >>

>

 
Reply With Quote
 
Sue Mosher [MVP-Outlook]
Guest
Posts: n/a
 
      25th Jul 2005
You'd need to read the contents of the file (see http://www.outlookcode.com/d/vbscript.htm#fso if you want to use FIleSystemObject methods) and then append that string to the string for the message body. If you want to send an HTML message, you'd need to include proper tagging of HTML elements.

--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx


"Gordon" <(E-Mail Removed)> wrote in message news:6D0E0057-4B88-49DC-9C84-(E-Mail Removed)...
>I know we have tried this and works fine, but we are having problems sending
> a text file at text in the body of the email, and not as an attachment. Is
> there a way to modify this? We have only been able to send the txt file as
> an attachment, it seems that sending the text file data in the body of the
> email is not possible.
>
> Thanks again for all your help!!!
>
> "Sue Mosher [MVP-Outlook]" wrote:
>
>> See http://support.microsoft.com/default...b;en-us;286431
>>
>>
>> "Gordon" <(E-Mail Removed)> wrote in message news:1D603019-6B99-43D8-AD55-(E-Mail Removed)...
>> > Any ideas where I can find examples of doing this from within Excel? The
>> > security of the Macros etc is what causes everything to fail. If we could
>> > get Outlook out of the way, that would be great!!!!
>> >
>> > "Sue Mosher [MVP-Outlook]" wrote:
>> >
>> >> Outlook is not suitable for running on a server or automating as a service. A better solution would be to use CDO for Windows to send the message via a particular SMTP account.

>>
>> >>
>> >>
>> >> "Gordon" <(E-Mail Removed)> wrote in message news:36DD4F63-A399-40B7-86FA-(E-Mail Removed)...
>> >> > All,.
>> >> >
>> >> > I have a need to start up Outlook on a server and make sure it is up and
>> >> > running and logged in as a specific profile. Ideally this would be done as a
>> >> > service an automatically restart if it is closed for any reason.
>> >> >
>> >> > We have a report that is generated in Excel and needs to send itself out
>> >> > using a macro we wrote. Of course with all the security nowadays, this is
>> >> > not so easy anymore.
>> >> >
>> >> > Is there any MVP's out there that might be able to help with this situation?
>> >> >
>> >> > Thanks in advance.
>> >> >
>> >> > Gordon Cashmore
>> >>

>>

 
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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Automatically login to exchange server using outlook 2007? =?Utf-8?B?Qnlyb24=?= Microsoft Outlook Discussion 1 10th Jun 2007 03:54 AM
Specific user profile has slow reponse on terminal server =?Utf-8?B?T3pWaWM=?= Microsoft Windows 2000 Terminal Server Clients 0 1st Jun 2004 03:01 AM
Outlook 2003 - add Profile Name & Exchange Server automatically phil Microsoft Outlook Discussion 4 21st May 2004 05:23 PM
HELP: How reboot server 2003 machine and automatically login VB Programmer Microsoft Windows 2000 Advanced Server 8 9th Feb 2004 12:32 PM
When using EFS on DC, a user profile is automatically generated on the server Taurin Microsoft Windows 2000 Active Directory 3 22nd Jan 2004 07:57 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:19 PM.