Jump to content


Photo

Trying To Send Activation Mail And Help!! :-)


  • Please log in to reply
5 replies to this topic

#1 Monshery

Monshery
  • Members
  • PipPipPip
  • Advanced Member
  • 44 posts

Posted 29 June 2006 - 04:47 PM

Ok i am trying to make a mail in php form a activation mail for user that signed up .
I have a problem defaining the massage variable as i want : eg
$message = "Congratulation \r".$_POST['RUSERNAME']." \r for signing up with MMODATE your one step from beeing an active memeber of MMODATE<BR><BR>". 'Please click on this link to activate your account <BR> <a href= "http://localhost/Yanivs/MMO-Date/Activation.PHP?' .$checkbig'">http://localhost/Yanivs/MMO-Date/Activation.PHP?<a>';

Well the problem is i am trying to make this link which i dont know how to make a link in PHP i know only in HTML so i am useing ' instead of " and trying to combain between the 2 and its not working tryed about 10000 time in millions diffrent ways .

Please if someone tell me how to make a link in PHP or just how to solve this it would be amazing.
Any help will be appricated.

#2 Monshery

Monshery
  • Members
  • PipPipPip
  • Advanced Member
  • 44 posts

Posted 29 June 2006 - 05:37 PM

guess none knows the answer .
O well thnx anyways .

#3 Buyocat

Buyocat
  • Members
  • PipPipPip
  • Advanced Member
  • 267 posts

Posted 29 June 2006 - 06:08 PM

I'm not sure exactly what the problem is, but why not try constructing things like so...

$link = 'http://www.yoursitehere.com/';
$message = 'Some text blah blah blah<br />';
$message .= 'Click the following link<br />';
$message .= '<a href="' .  $link '">LINK HERE<a>';

// send email now

Looking for some easy-to-use tools?  Try these, https://sourceforge....jects/utils-php -- I made them myself.  They're distinct tools which are easy to understand and use.  See some examples uses at http://www.anotherearlymorning.com

#4 wildteen88

wildteen88
  • Staff Alumni
  • Advanced Member
  • 10,482 posts
  • LocationUK, Bournemouth

Posted 29 June 2006 - 06:09 PM

You wait around! You've only given it 45 minutes atleast wait for about 2-3 hours first. You'll probably find no one understand what you are trying to do or how to help as what you asking maybe out of our members expertise.

I think I know what the problem is chnage this:
<a href= "http://localhost/Yan...Activation.PHP?' .$checkbig'">http://localhost/Yanivs/MMO-Date/Activation.PHP?<a>';
to the folloiwng
<a href= "http://localhost/Yan...Activation.PHP?' .$checkbig [!--coloro:red--][span style=\"color:red\"][!--/coloro--].[!--colorc--][/span][!--/colorc--] '">http://localhost/Yanivs/MMO-Date/Activation.PHP?<a>';

You was missing a dot thats all. Also you make sure you have defined in your email header that the the content is html. Otherwise your hml will be displayed as normal text.

#5 Monshery

Monshery
  • Members
  • PipPipPip
  • Advanced Member
  • 44 posts

Posted 29 June 2006 - 09:19 PM

thanks very much mate i shell try this now

#6 Monshery

Monshery
  • Members
  • PipPipPip
  • Advanced Member
  • 44 posts

Posted 29 June 2006 - 09:52 PM

How do i make sure to define that my header is HTML ?




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users