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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

detect mail/dialup

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
Hi all,

I need to have my Delphi prog send a mail to the client. How do I automatiaclly detect the dialup and mail so that the user doesn't have to enter their server details. I just want them to click send and the email is sent to our client. Please help!

Carl
 
A quick and dirty way is to bring up the default email client like:
Code:
uses
    ShellAPI;
	
  ShellExecute(0,'open','mailto: someone@a_domain.com?subject=Your Email,NIL, NIL, SW_SHOWNORMAL);

There's also a free COM Email DLL that I've used that works great at .

Hope this helps,
Rewdee
 
Also lots of freeware components to do this try Torrys, VCLcomponents.com, Delphi superpage, etc.
Look for 'Winshoes' is an extensive libarary of comms stuff more than you need.

Steve.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top