Monshery Posted June 29, 2006 Share Posted June 29, 2006 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. Quote Link to comment https://forums.phpfreaks.com/topic/13224-trying-to-send-activation-mail-and-help/ Share on other sites More sharing options...
Monshery Posted June 29, 2006 Author Share Posted June 29, 2006 guess none knows the answer .O well thnx anyways . Quote Link to comment https://forums.phpfreaks.com/topic/13224-trying-to-send-activation-mail-and-help/#findComment-50926 Share on other sites More sharing options...
Buyocat Posted June 29, 2006 Share Posted June 29, 2006 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] Quote Link to comment https://forums.phpfreaks.com/topic/13224-trying-to-send-activation-mail-and-help/#findComment-50935 Share on other sites More sharing options...
wildteen88 Posted June 29, 2006 Share Posted June 29, 2006 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. Quote Link to comment https://forums.phpfreaks.com/topic/13224-trying-to-send-activation-mail-and-help/#findComment-50936 Share on other sites More sharing options...
Monshery Posted June 29, 2006 Author Share Posted June 29, 2006 thanks very much mate i shell try this now Quote Link to comment https://forums.phpfreaks.com/topic/13224-trying-to-send-activation-mail-and-help/#findComment-51024 Share on other sites More sharing options...
Monshery Posted June 29, 2006 Author Share Posted June 29, 2006 How do i make sure to define that my header is HTML ? Quote Link to comment https://forums.phpfreaks.com/topic/13224-trying-to-send-activation-mail-and-help/#findComment-51033 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.