![]() |
|
|
|
#1
|
|||
|
|||
|
Hi All,
How can i create an email link in my delphi application? i know how to create a website link using shellexecute api. while clikcing on the email link i need to open outlook express with the email address as to address. Thanks in Advance Jomon |
|
#2
|
|||
|
|||
|
Here you go:
///// CODE STARTS HERE Var TheString: String; ShellExecute(Application.Handle, 'open', PChar(TheString), nil, nil, SW_SHOWNORMAL) ShellExecute(Application.Handle, 'open', PChar('mailto:' + TheString), nil, nil, SW_SHOWNORMAL) ///// CODE STARTS HERE IMPORTANT: ADD ShellAPI to your uses clause. hope you're helped. Regards, Ted ================================================== ======== PS: don't forget to accept this reply if it helped you! ![]() ================================================== ======== |
![]() |
| Thread Tools | |
| Display Modes | |
|
|