pedrobcabral Posted July 20, 2007 Share Posted July 20, 2007 I've done a .html page with the content in a div aligned at the center of the page. How can I manage to insert it into an e-mail, so when people open it they can see the page? I got e-mails like this from a local beer company. Hope this is the right section. Quote Link to comment Share on other sites More sharing options...
ToonMariner Posted July 20, 2007 Share Posted July 20, 2007 if you mean you want to send a html formatted email then although you put the effort in and done a tableless design - you now gonna have to undo all your learning... the old awful inline formatting is the way to go - otherwise it won't display properly in many email apps - particularly web based. if you want to automate the sending then I suggest you google phpmailer - its dead easy to configureand will hadle allsorts for you.... won't go into more detail as I could write an essay - so go try and any probs post back in here or in teh php help section. Good luck and have fun! Quote Link to comment Share on other sites More sharing options...
pedrobcabral Posted July 20, 2007 Author Share Posted July 20, 2007 http://www.superbock.pt/newsletters/2007/20_07/nl_sb_julho.asp?name=ToonMariner@something.something Check that out please. Those guys have that page that is embeded onto the email. It does always displays OK. Even if not, do you know how to embed it? Thank you. Quote Link to comment Share on other sites More sharing options...
ToonMariner Posted July 20, 2007 Share Posted July 20, 2007 OH you want one of those links to a page online that shows the html email correctly!!! that is just a normal php page using the $_GET vars to construct content - millions of ways of doing this so I can't really tell you how to do it unless the only thing that changes on each page is the email that is displayed... In that bit if you pass the email address via the url (http://wwww.xyz.com/email.php?email=you@here.com) then simply put <?php echo $_GET['email']; ?> where you want the email to show up. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.