evon83 Posted August 30, 2006 Share Posted August 30, 2006 Hello !Im new here!honestly, not really, it's just that i havent been here for ages...T-Tim developing an admin application for my club where i need to make them active ....After i approved them to be an active member, this will generate a new email telling them that they are the new member of the club and and stuff...the name of the person will be put into the mail merge and then send to them...Does anyone have any idea how to write the code??or you have the similar coding??please help..i have no idea how to start it...thanks! Quote Link to comment https://forums.phpfreaks.com/topic/19120-questions-on-email-notification/ Share on other sites More sharing options...
ronverdonk Posted August 30, 2006 Share Posted August 30, 2006 Are you looking for a complete membership system or just the approval email sending part?Ronald 8) Quote Link to comment https://forums.phpfreaks.com/topic/19120-questions-on-email-notification/#findComment-82717 Share on other sites More sharing options...
evon83 Posted August 30, 2006 Author Share Posted August 30, 2006 just the approval email sending part please !! >_< Quote Link to comment https://forums.phpfreaks.com/topic/19120-questions-on-email-notification/#findComment-82740 Share on other sites More sharing options...
evon83 Posted August 30, 2006 Author Share Posted August 30, 2006 anyone has the solution??? or sample??please help??? Quote Link to comment https://forums.phpfreaks.com/topic/19120-questions-on-email-notification/#findComment-82878 Share on other sites More sharing options...
ober Posted August 30, 2006 Share Posted August 30, 2006 Have you started any of this? Can you post some code? Do you have the approval part done or any of the admin panel? Quote Link to comment https://forums.phpfreaks.com/topic/19120-questions-on-email-notification/#findComment-82883 Share on other sites More sharing options...
ronverdonk Posted August 30, 2006 Share Posted August 30, 2006 Somehow I can't get my code between [nobbc][code][/code][/nobbc] tags in here. This forum will not let me post the code sample!! ??? ???It gives me a "server not found" message. Must have something to do with the code itself, I don't know. Give me your email adres via personal mail and I'll mail it to you.Ronald 8) Quote Link to comment https://forums.phpfreaks.com/topic/19120-questions-on-email-notification/#findComment-82990 Share on other sites More sharing options...
wildteen88 Posted August 30, 2006 Share Posted August 30, 2006 Do you have script tags in the code? Some html/php code causes this due to a secrity script running on the server. If its a script tag ad spaces around the brakets eg:[code]< script >code here< /script >[/code] Quote Link to comment https://forums.phpfreaks.com/topic/19120-questions-on-email-notification/#findComment-83005 Share on other sites More sharing options...
ronverdonk Posted August 30, 2006 Share Posted August 30, 2006 No script tags! However, I have some newlines \n in the example. Can't be.Ronald :cool: Quote Link to comment https://forums.phpfreaks.com/topic/19120-questions-on-email-notification/#findComment-83009 Share on other sites More sharing options...
wildteen88 Posted August 30, 2006 Share Posted August 30, 2006 Post your code to pastebin.com and provide a link to your posted code instead. Quote Link to comment https://forums.phpfreaks.com/topic/19120-questions-on-email-notification/#findComment-83019 Share on other sites More sharing options...
ronverdonk Posted August 30, 2006 Share Posted August 30, 2006 I put it on my server. For the sample go to [url=http://www.goosen-verdonk.nl/emailcode.php]http://www.goosen-verdonk.nl/emailcode.php[/url]Ronald 8) Quote Link to comment https://forums.phpfreaks.com/topic/19120-questions-on-email-notification/#findComment-83027 Share on other sites More sharing options...
evon83 Posted September 1, 2006 Author Share Posted September 1, 2006 Wow !! Thank you so so much guys! I thought no one will post any messages here!!Thanks Thanks!!! many thanks!! Quote Link to comment https://forums.phpfreaks.com/topic/19120-questions-on-email-notification/#findComment-83847 Share on other sites More sharing options...
evon83 Posted September 1, 2006 Author Share Posted September 1, 2006 Actually i already have the mail merged template, i just need to know like...once i click on the activate button....how to make the field values pass to the template and then automatically send the email to the new members???!!!!Please give me some hints or ideas....or if possible samples....Thank u so so much !! Quote Link to comment https://forums.phpfreaks.com/topic/19120-questions-on-email-notification/#findComment-83860 Share on other sites More sharing options...
evon83 Posted September 3, 2006 Author Share Posted September 3, 2006 anyone know how to do it?? or can give a little suggestions maybe??Thanks!look forward to hear from any experts' advice! thanks! Quote Link to comment https://forums.phpfreaks.com/topic/19120-questions-on-email-notification/#findComment-85327 Share on other sites More sharing options...
redarrow Posted September 3, 2006 Share Posted September 3, 2006 quick example only with no support.on the memebers table you add another field called activated.activatedvarchar 3 not nulladd a email snippet at the bottom off the registration code.phppull the members email from the table and add that to the email snippetwhen the user has finished filling out the registration form then the email snippet should email the client with a link going to a page to update the databaselink example [code]<?php session_start();echo "<a href='myurl.com/update_registration.php?id=$id&cmd=update'>";?>[/code]when the user got the link from there email address the link goes to an update page[code]<?php session_start();select databaseif($_GET['cmd']=="update"){$activated="yes";$query="update members set activated='$activated' where id='".$_GET['id']."'";$result=mysql_query($query);header("location: index.php");}?>[/code]now the database has been added with a yes in the members activated field in the database.on the login code you need to let the script no that if activated ==1 then redirect them to the members page.good luck. Quote Link to comment https://forums.phpfreaks.com/topic/19120-questions-on-email-notification/#findComment-85359 Share on other sites More sharing options...
evon83 Posted September 8, 2006 Author Share Posted September 8, 2006 Thank you very much for the suggestion!But how is the code like to send the email to the members?actually the situation is like this:On the admin page, once i approved them to become active member....so i will tick the "activate" field ...so after that an official email membership will email to them...how does the code works??anyone has the sample?thanks! Quote Link to comment https://forums.phpfreaks.com/topic/19120-questions-on-email-notification/#findComment-88069 Share on other sites More sharing options...
evon83 Posted September 9, 2006 Author Share Posted September 9, 2006 Does anyone know how to do it??please help !!! Quote Link to comment https://forums.phpfreaks.com/topic/19120-questions-on-email-notification/#findComment-88813 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.