Jump to content

boombanguk

New Members
  • Posts

    8
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

boombanguk's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Hi, Thanks for the advice given. This is the result of all my hard work. [URL=http://www.racemyface.com]www.racemyface.com[/URL] its a flash game where you can upload your own image to the game and then send it as a challenge to your friends! hope you enjoy the game boombanguk
  2. Hi, I recently posted here about having trouble getting my php code to send emails to a hotmail account. I sorted that out (the problem was with my web host), but now I have another problem. I'm working on a ecard, which means the email that is sent has a URL link in it. The problem is, the URL does not work, when you click on it within the hotmail email page. It opens a new window, but then nothing happens, it just sits there until it times out. Now heres the odd thing. If you cut and paste the URL link from the hotmail window into a new window address bar, it still doesn't work!, but...if you type the URL link from scratch into a new window into the address bar, it works fine.....in other words theres something odd going on with how hotmail puts URL's on the page. So any idea's of how to get around this?? if I Can't then all the hassle of getting emails sent to hotmail was for nothing! thanks for any help. boombanguk
  3. Hi, I'm trying to get some ecard code working, i've manged to get it to send the email to hotmail (a feat in itself, cross domains ugh), but now the link inside the hotmail email doesn't work!, when I cut and paste the following code into teh browser address bar it works fine, but when clicking on it inside the email inside hotmail it doens't work!, I noticed at the bottom of the page it tries to open the page with javascript! any idea's how to get this to work?!? this is the kind of link im using http://www.mywebspace.com/game/acceptchallenge.php?EcardText=4148665131 thanks for any help. boombanguk
  4. just tried your code to send to a yahoo.com address and it worked fine, just won't go through to hotmail
  5. [quote author=boombanguk link=topic=108330.msg435875#msg435875 date=1158459892] thanks I'll try that, but ill have to convert it. Thats a html email? I'm after something even more basic then that, just a plain text will suffice. I'll try the headers though thanks. [/quote] ok i just tried this mail($ToName." <".$myEmail.">",$ToSubject, $Message2, "From: ".$message3." <".$FromEmail.">"); $to = $ToEmail; $subject = $ToSubject; $knownsender = "boombanguk@lineone.net"; //make sure this address in known to the server.. $headers = "FROM: $knownsender\r\n"; $headers .= "MIME-Version: 1.0\r\n"; $headers .= "Content-type: multipart/alternative;\r\n"; $headers .= "Content-type: text/html; charset=iso-8859-1\r\n"; $headers .= "Content-Transfer-Encoding: 7bit"; $headers .= "\r\n"; if (mail($to, $subject, $Message, $headers)) {   echo "Your mail was sent to $to"; }else{   echo "Unable to send the message"; }  and it didn't work. But the first mail, which is directed to send a cc to my boombanguk email worked fine. Just nothing went through to my caberfeigh@hotmail.com hotmail account. Any ideas?? is it because its a html email? when I just need a plain text? and when you say "make sure this address in known to the server.." what do you mean by that? known by hotmail? or known to the server the php code is on?
  6. thanks I'll try that, but ill have to convert it. Thats a html email? I'm after something even more basic then that, just a plain text will suffice. I'll try the headers though thanks.
  7. I've seen them, but they do not specifically apply to sending to hotmail. Also I can't make head or tail of them! I'm just looking for why my code won't work, or someone to provide some php code,that I'm told is 100% to work to send emails to hotmail accounts. That way if it doesn't work on my server at least I know its not the code thats the problem.
  8. Hi, I'm using.. $headers  = "MIME-Version: 1.0\r\n"; $headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n"; $headers .= 'From: CHWMFL <example@example.com>' . "\r\n"; $email = 'caberfeigh@hotmail.com'; $subject = "CHWMFL Scores Posted"; mail($email, $subject, $Message3,"From: CHWMFL <caberfeigh@hotmail.com>\n X-Mailer: PHP/" . phpversion()); to try to send an email to my hotmail account, but nothing is going through to it, not even to the junkmail. I've tested it with my other email (non hotmail) and it works fine. Any idea's what im doing wrong?? thanks for any advice.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.