Jump to content

Archived

This topic is now archived and is closed to further replies.

Monshery

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

Recommended Posts

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
[code]
$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>';
[/code]

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.

Share this post


Link to post
Share on other sites
I'm not sure exactly what the problem is, but why not try constructing things like so...

[code]
$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
[/code]

Share this post


Link to post
Share on other sites
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/Yanivs/MMO-Date/Activation.PHP?' .$checkbig'">http://localhost/Yanivs/MMO-Date/Activation.PHP?<a>';
to the folloiwng
<a href= "http://localhost/Yanivs/MMO-Date/Activation.PHP?' .$checkbig [!--coloro:red--][span style=\"color:red\"][!--/coloro--][b].[/b][!--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.

Share this post


Link to post
Share on other sites

×

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.