- This topic is empty.
Viewing 7 posts - 1 through 7 (of 7 total)
Viewing 7 posts - 1 through 7 (of 7 total)
- The forum ‘Back End’ is closed to new topics and replies.
The forums ran from 2008-2020 and are now closed and viewable here as an archive.
I’m trying to put a link in the confirmation email sent to customers. What I have doesn’t work.
$Body .= $Name;
$Body .= "n";
$Body .= "Thank you for your interest in Goodwyn. Please visit For Sale";
$Body .= $Email;
Thanks
Needs to be:
$Body .= $Name;
$Body .= "n";
$Body .= 'Thank you for your interest in Goodwyn. Please visit For Sale';
$Body .= $Email;
Note the change to single quotes around the string. The problem was you had two sets of double quotes due to the href.
That does work but…
The email doesn’t create the link as it should. It’s fully written out like what you see below with only the address as a link. I dont want the address to be seen just the For Sale link.
Thank you for your interest in Goodwyn Building. Please visit For Sale
It says ‘solved’, did you get it?
Well half solved. The form works, but it doesn’t format the link.
I should have done a search already! https://css-tricks.com/sending-nice-html-email-with-php/
I think the important part is setting the headers.