PHP HTML emails- can you pass PHP variables w/n an HTML email created with mail ()?
-
Can you pass PHP variables w/n an HTML email created by PHP mail() function? I can create a normal email that passes my PHP variables to the message section of the email when sent. ...show more
-
Answer:
Is it possible that you could post the code up for a better look? i suspect it will probably be to do with the proper use of quotation marks though. EDIT -Yes from looking at the code the single quote '<html>.... ' behaves as if that is an entire string. End with single quotes after each piece of html eg '<html><body>text blah' $mailvariable '<font> blah blah</font>' $next_mailvariable i am also assuming that above that code you have declared the actual variables? ie: $mailvariable = $_POST('mailvariable') etc Hope this makes sense!
XORQWGUTFIGY6GG7HZK3UFJR24 at Yahoo! Answers Visit the source
Related Q & A:
- How do I send html emails with ActionMailer?Best solution by Stack Overflow
- Can you have more than 1 email account with mail classic?Best solution by Yahoo! Answers
- I can't send email via windows mail. all settings for in/out mail are correct.help.Best solution by Yahoo! Answers
- How can I send an email to Royal Mail?Best solution by royalmail.com
- How can I delete email addresses from mail forwarded to me?Best solution by Yahoo! Answers
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.