Delphi .NET (2) Database (71) Delphi IDE (89) Network (39) Printing (3) Strings (12) VCL (83) Windows with Delphi (280)
Exchange Links About this site Links to us 
|
Send email from Delphi
23 comments. Current rating: (8 votes). Leave comments and/ or rate it.
It can be so easy to have your application pop up an email window.. assuming that a mail reader is installed (see below):
(Thanks to Kevin for improving the code with the body= parameter.)
 | |  | | uses
ShellAPI;
begin
ShellExecute(0,'open','mailto: peter@preview.org?subject=my subject&body=my message text',
NIL, NIL, SW_SHOWNORMAL);
end | |  | |  |
Comments:
| You are on page 1 of 2, other pages: [1] 2 | |
anonymous from United States
|
 |
|
|
|
|
anonymous from Morocco
|
|
|
|
j'ai l'honneur pour ecrire ce petite demande pour me postuler un poste dans votre etablissment .
jbilou ahmed
|
|
anonymous from India
|
|
|
|
How i can send mails yahoo mail id etc through delphi program
|
|
Gilby from Hungary
|
 |
|
|
That is what I looked for!
|
|
Shareè from South Africa
|
 |
|
|
Thanks, short and sweet and very helpful!
|
|
RTS from Poland
|
 |
|
|
That is what I looked for!
|
|
Shendrik from Israel
|
 |
|
|
Thank you!!!
|
|
anonymous from India
|
|
|
|
Exellent and gud help
thank you......
|
|
anonymous from Azerbaijan
|
|
|
|
Good, But
I dont need OutLook sending. How can Isenda wiht other way?
|
| You are on page 1 of 2, other pages: [1] 2 |
|