Email form using class.phpmailer.php

I have a custom form on my site and it returns a message to the user and to the admin.  Inside the php file In the body of the message it says:

$msg .="Below is the membership details you have entered. Please email billxyz@gmail.com for more infor.<br><br>";

How do I make the email into a hyperlink because I don't seem to be able to use the standard html "a" tag.  I have tried this ".$billxyz@gmail.com." but it does not work.
livewirewebsolutionsAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Dave BaldwinFixer of ProblemsCommented:
A hyperlink for email would be a link using 'mailto' instead of 'http'.
$msg .="Below is the membership details you have entered. Please email <a href='mailto:billxyz@gmail.com'>billxyz@gmail.com</a> for more info.<br><br>";

Open in new window

A link like this will open the user's default mail client to send an email to billxyz@gmail.com.

To use phpmailer.php, you would have to use the code shown in the examples.  You can't directly hyperlink to it.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
livewirewebsolutionsAuthor Commented:
Gotcha.  I used " instead of '.  Dreamweaver is no longer bringing up the syntax error warning.  I assume this will work now?
0
Dave BaldwinFixer of ProblemsCommented:
I believe so.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
PHP

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.