It depends on who you want it sent to.
But I think the mail command goes something like:
mail($_POST['email'], 'Subject Line goes here', $body, 'From:[email protected]');
Use the “$_POST[‘email’]” if the form your submitting has there email address on it, and is assigning it to the variable $email.
Replace “Subject line goes here” with whatever the subject line should be.
“$body” is whatever you want the body of your email to say. For instance in your case it might be:
$body= "[link1](whatever) [link2](whatever2)
or please copy and paste these links into your browser: link1 link2.;
It doesn’t matter where you define $body in your script, though its probably best to put it before the mail function.
From is your email address I believe.
Be sure to have the <?php tags at the beginning and ?> at the end.
Also make sure that the form in the HTML has this set as the action attribute set to use this php script.
Good luck and if there is anything I can clarify please ask.