Author Topic: Resending a confirmation email on-demand  (Read 5048 times)

gluntz

  • Posts: 30
    • View Profile
Resending a confirmation email on-demand
« on: September 10, 2008, 09:33:35 am »
I have a download section of my site that requires users to enter their emailaddress and confirm it before moving on. I am thinking about adding a link that says 'resend confirmation email now' into the error that says they haven't confirmed yet.

How would this best be accomplished?

gluntz

  • Posts: 30
    • View Profile
Resending a confirmation email on-demand
« Reply #1 on: September 11, 2008, 09:15:09 am »
I think I've found a temporary solution. Here's my php code below:

Code: [Select]
<?php// ListMail (c) 2001 Dean Wiebe// CUSTOM.PHP - Customizable optionssession_start();include("./config.php");include("./admin.php");if($_GET['uid'] && is_numeric($_GET['uid'])){	$userid = $_GET['uid'];	sendwelcome($userid);} else {	exit;}?>


If you see any potential problems with that please let me know - for now it looks like that works by using http://listmail/resend-confirm.php?uid=12345