There are any number of ways that you can do this, depending upon
exactly what you need and what support for MAPI is already on the system.
For example, if the client has OutLook you can use a simple vbs script, or
if you don't wish to make use of the client's e-mail setup, including
message look and format you can handle it all manually.  
        For the latter I currently use two different components depending
upon if I wish to make use of the client's pre-built message format or not.
Raize components has a simple MAPI component that you can drop on any form,
set a few properties and when activated will open up the client's typical
message, adding whichever info you want like the recipient and message.  And
I use the freeware TMapiMail component when I want to send a stock message
based upon a template the user can fill out or which can be hard-coded into
the application.  In either case you merely set a number of TStrings
properties like recipient, sender, CC, message body, etc. Of course both of
these require the machine to have a Mapi e-mail client installed already but
you'd be hard pressed to find someone who doesn't have this! 

from: Robert Meek at: [EMAIL PROTECTED] 
dba "Tangentals Design" home of "PoBoy"
freeware Windows apps and utilities
located at: www.TangentalsDesign.com
e-mail to:
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Roshanak Farhoodi
Sent: Wednesday, July 27, 2005 12:46 AM
To: Borland's Delphi Discussion List
Subject: Sending email

Dear Delphi helpers,
 
Recently I fall into an urgent need for adding a "send mail" button to one
of my applications for sending some reports to a predefined set of email
addresses. Does any1 has any experience about how this can b done?
Thanks so much in advance,
 
Roshanak


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
_______________________________________________
Delphi mailing list -> [email protected]
http://www.elists.org/mailman/listinfo/delphi

_______________________________________________
Delphi mailing list -> [email protected]
http://www.elists.org/mailman/listinfo/delphi

Reply via email to