The thing to remember Trevor, is Outlook is just an email client tool, 
not a server of any kind.
you CAN use Outlook to send emails by creating them with the Outlook 
objects, but as you pointed out, not all the machines have Outlook 
installed. Alos, depending on the verison of Outlook there are security 
issues if you create an email via the outlook objects.
But, here is the way forward for you.
Get hold of some SMTP controls, there are heaps of free ones, like 
SakMail which I use from tiem to time as its free, and its easier to use 
than the INDY controls that come with Delphi...IMHO
Then, look at the account settings in Outlook, to get the SMTP server 
that its using, and then you cna send email via the controls to that SMTP 
address.

HTH

Jeremy

-----Original Message-----
From: "Trevor Jones" <[EMAIL PROTECTED]>
To: Multiple recipients of list offtopic <[EMAIL PROTECTED]>
Date: Thu, 3 Jul 2003 21:12:17 +1200
Subject: [DUG-OFFTOPIC]:  SMTP in an Outlook environment

> Hi folks,
>   I've just run (figuratively) into a brick wall which I wasn't
> expecting.
> Hopefully someone has some tips or pointers.....
> 
>   I have a Delphi applet which supports RF guns (one instance per gun),
> and
> my customer has just asked me to include an email capability in it.  
> Not a
> full-blown email capability, but the ability to send a bunch of stuff
> to a
> pre-determined address via a pre-determined server when thwe user of
> the gun
> does something in particular.
> 
>   It sounds easy, and I thought it was.  I set the whole shebang up at
> home,
> and using Indy have managed to fulfill what I perceived to be the
> requirement.  Using Indy, I was using SMTP to sent the stuff (including
> attachments) through one mail server (IHUG) to another (CLEAR) and it
> seemed
> to work fine.
> 
>   Now I discover that the customer has a private network, they use
> Outlook
> for email, and none of the machines that run the applets supporting the
> RF
> guns have Outlook installed.  The guy running the company's servers
> says
> that they do have an SMTP server running somewhere, but since no-one
> uses
> it, no-one bothers to make sure that it is running all of the time.
> 
>   My experience with Outlook is virtually nil, and I think that the
> server
> guy's experience with SMTP is just as expansive.  Is it a big deal to
> get an
> SMTP server to feed into Outlook?  Are there security issues?
> 
> TIA
> 
> Trevor
> 
> 
> -----------------------------------------------------------------------
> ----
>   New Zealand Delphi Users group - Offtopic List -
> [EMAIL PROTECTED]
>                   Website: http://www.delphi.org.nz
> To UnSub, send email to: [EMAIL PROTECTED] 
> with body of "unsubscribe offtopic"
> Web Archive at: http://www.mail-archive.com/offtopic%40delphi.org.nz/

---------------------------------------------------------------------------
  New Zealand Delphi Users group - Offtopic List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe offtopic"
Web Archive at: http://www.mail-archive.com/offtopic%40delphi.org.nz/

Reply via email to