Posts: 719
Threads: 72
Joined: Mar 2003
I will wipe the db in a few hours....
I'm working on sum stuff, and jsut need to know a few things....
Just use fake names, but real e-mail addresses, plz (no, im not going to use ur e-mails, but an e-mail will be sent...)
Register
here
Oz~
Posts: 394
Threads: 16
Joined: Jun 2003
http://atosoftqb.digitalblackie.com/register.php
is the link to those who are too lazy to click ozzie's broken [ url ] tag.
Quote:In a few moments, our system will e-mail you with your password, and activation link.An e-mail was sent to you (lordofpotato@yahoo.com) with your password.
Put a space in between the words "link." and "An e-mail"
You shouldn't use HTML e-mails, some people have them turned off and it looks silly. Additionally, the e-mail I received had no "activation link," and only contained text.
Logging in results in the following message:
Your username is </HTML
ammit potato!
Posts: 3,279
Threads: 170
Joined: Nov 2003
The message probably needs to be sent as an HTML email rather than a plain text one...
I'd knock on wood, but my desk is particle board.
Posts: 1,688
Threads: 119
Joined: Jun 2003
i received the same result as potato.
Jumping Jahoolipers!
Posts: 838
Threads: 17
Joined: Jan 2002
I've html turned on (it works in other messages) so Im guessing theres something wrong with how it is done, maybe you need to send a content-type header or a mime-header or something.
Heres what I get:
Code:
<HTML><BODY>Hello asdd,<br><br> Please keep the following information for reference:<br> +==========<br> | Username: asdd<br> | Password: asd<br> +==========<br></BODY></HTML>
EDIT: Yup, I was right. See this example:
Code:
<?php
$to = "yourplace@somewhere.com";
$subject = "My HTML email test.";
$headers = "From: myplace@here.com\r\n";
$headers .= "Reply-To: myplace2@here.com\r\n";
$headers .= "Return-Path: myplace@here.com\r\n";
$headers .= "MIME-Version: 1.0\r\n";
$headers .= "Content-Type: text/html; charset=ISO-8859-1\r\n";
$message = "<html><body>";
$message .= "<h1> This is a test </h1>";
$message .= "</body></html>";
if ( mail($to,$subject,$message,$headers) ) {
echo "The email has been sent!";
} else {
echo "The email has failed!";
}
?>
Notice the MIME, Content-Type and charset headers.
url=http://www.copy-pasta.com]CopyPasta[/url] -
FilePasta