Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Sending a Email through Delphi

Status
Not open for further replies.

minckle

Programmer
Mar 17, 2004
142
GB
I currently writing an app, in 1 part it sends some text to your email, so it can then be sent. I currently use Outlook

My current code is below and works fine:

fldmailstring := 'mailto: ?subject=' + fldEmailSubject + '&body=' + fldEmailMessage;
ShellExecute(0,'open',pChar(fldmailstring),NIL, NIL, SW_SHOWNORMAL);

I've just been speaking to someone who uses GroupWise for their emails. Has any1 ever heard of it?? Will this same code still work Ok???

Thanks
 
Yeps.... I mean, if "mailto:" is associated to groupwise.

There is another, little better way to send email through Groupwise. But as usual... Better isn't always easier.

Delphi Libraries for Novell Services:

Do not ask me how to use them... It was ages ago.... :)

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
There is always another way to solve it, but I prefer my way.
 
I wrote an FAQ which you might be interested in reading:
How do I send an email using Delphi? (faq102-3600)

Hope this helps!

Clive [infinity]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
"To err is human, but to really foul things up you need a computer."
Paul Ehrlich
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To get the best answers from this forum see: faq102-5096
 
The code works fine using Groupwise. Do you know how to change the code so that it sends the message automatically without showing it?

British
 
See thread102-1071099

Clive [infinity]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
"To err is human, but to really foul things up you need a computer."
Paul Ehrlich
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To get the best answers from this forum see: faq102-5096
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top