![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#11 |
|
Newbie
Join Date: Aug 2007
Location: online at woocha.com
Posts: 24
Rep Power: 0
![]() |
here is an attached photo of the available fields
|
|
|
|
|
|
#12 |
|
Resident Grouch
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jun 2005
Posts: 6,453
Rep Power: 10
![]() |
No, write your message as if it's an HTML page. Some people won't have the ability to display HTML, though, so bear that in mind. You might want to send it as a mult-part message, with one part text/plain and the other part text/html.
You should see the RFC for details. Alternatively, view the source of some message you've received in HTML. You'll see what I mean.
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code. Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers |
|
|
|
|
|
#13 | |
|
Newbie
Join Date: Aug 2007
Location: online at woocha.com
Posts: 24
Rep Power: 0
![]() |
Quote:
|
|
|
|
|
|
|
#14 |
|
Resident Grouch
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jun 2005
Posts: 6,453
Rep Power: 10
![]() |
. Your credibility as an expert provider is rising by the second.
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code. Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers |
|
|
|
|
|
#15 |
|
Newbie
Join Date: Aug 2007
Location: online at woocha.com
Posts: 24
Rep Power: 0
![]() |
xpert provider of what.....
|
|
|
|
|
|
#16 |
|
Newbie
Join Date: Aug 2007
Location: online at woocha.com
Posts: 24
Rep Power: 0
![]() |
then Stop replying to my posts, you mean old bastard..... |
|
|
|
|
|
#17 |
|
Newbie
Join Date: Aug 2007
Location: online at woocha.com
Posts: 24
Rep Power: 0
![]() |
As it turns out, the problem was in the PHP code, NOT the MySQL table.....I was missing a few step in the PHP and needed to rewrite the headers to my Mail() function...Everything is working great now, and thank you all for the help along the way.
$company_name = $r['company_name'];
$company_email = $r['email'];
if ($action == "decline")
{
$query = "delete from orders where id=$id and merchant=$merchant";
mysql_query( $query);
$message = stripslashes($r['emaildecline']);
$headers = "MIME-Version: 1.0 \r\n" .
"Content-type: text/html; charset=iso-8859-1\r\n" .
"From: $company_name <$company_email>\r\n" .
"Reply-To: $company_email";
if ($sendemail == "yes")
{
mail("\"$name\" <$email>",
"Your order has been declined!",
$message,
$headers);
}
}I am only posting this so other people can fix this problem without having to go through what I went throuygh....If you have any questions, reply to this thread |
|
|
|
|
|
#18 |
|
Sexy Programmer
|
Sorry about that man. I only tried to help.
__________________
I would love to change the world, but they won't give me the source code! |
|
|
|
|
|
#19 |
|
Newbie
Join Date: Aug 2007
Location: online at woocha.com
Posts: 24
Rep Power: 0
![]() |
No....thank you very much for your help.....by looking at the DB in PHPMyAdmin, I was able to learn an offal lot about some things I had not plaed with before, so Thank you.
|
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| start Learning HTMl | smita | HTML / XHTML / CSS | 0 | Mar 15th, 2007 7:38 AM |
| Basic HTML Tutorial - Reuben Keeney | ReubenK | HTML / XHTML / CSS | 14 | Mar 26th, 2006 5:50 AM |
| How to detect cursor location and insert text??? | syntax-error | C# | 3 | Jun 30th, 2005 1:42 AM |
| how do i automate text data and input into database? | lionel84 | C# | 0 | Jun 26th, 2005 9:35 PM |