Forum > Networking and Web Programming

Cross Platform Open Default Email Client

(1/1)

Badger:
I am trying to write some code that forwards an email.  When required, it takes a number of email addresses and copies them to the clipboard then instructs the user to select the required email for forwarding, put cursor on "To" and press Ctrl-V. 

Identifying the default client and opening the In Box is my problem.

I have found numerous examples of creating a new email within the default email client from within an application.  (I use OpenDocument(PChar(EMail)).  However, I can't figure out how to simply open the default client's main page.

Can anyone help please?

SymbolicFrank:

--- Quote from: Badger on May 17, 2022, 08:43:31 am ---Identifying the default client and opening the In Box is my problem.

--- End quote ---

Yes, that is a problem. So, don't do that. Send and receive the email directly. Find out the address of the email server(s) and talk to them.

AlexTP:
Useful examples
https://wiki.freepascal.org/Synapse_-_Email_Examples

Navigation

[0] Message Index

Go to full version