Posts Tagged ‘html email’

html email link



You could use the php html email link if you run a php site, but if you use a html site it would be much better to use the html email link

< a href="mailto:homer@example.com">Email Home< /a>

It looks like a ordinary link, just that it goes to a mail adress instead of a homepage.


Be the first to comment - What do you think?  Posted by Targenor - 11 november 2011 at 14:17

Categories: Mindre Viktigt   Tags: , , , , , , , , , , , , , , , ,

php html email



When using your own webpage, it could be good to use a contact form, by whitch visitors can contact you.

It´s very easy to do and use

< ? php $txt = "First line of text\nSecond line of text"; // Use wordwrap() if lines are longer than 70 characters $txt = wordwrap($txt,70); // Send email mail("somebody@example.com","My subject",$txt); ?>

This is the basic of the php html email code, you could of course change it after your like and needs.


Be the first to comment - What do you think?  Posted by Targenor - at 13:56

Categories: Mindre Viktigt   Tags: , , , , , ,