I am creating a html page and I have a button in my html page. Once the button is clicked the outlook has to be opened with the "To" and the "Subject" information as shown in the figure.
Can any help me how to open the outlook with php.Thanks in advance.
I think you should use a tag like following
But open Outlook, Thunderbird or other client is user's default setting.
Use mailto hyperlink to open mail application on client machine
You can also add cc and bcc using querystring paramters as we have done for body.
This will open default mail application configured on client machine; It may open different application accordingly.
here the link to use:
Source is here.