Has aMember since added the ability to send the welcome email?
I looked at their code and changed the listmail_added() function as follows:
function listmail_added($member_id, $product_id,
$member){
global $db, $config, $plugin_config;
$this_config = $plugin_config['protect']['listmail'];
$lm_db = $this_config['db'];
foreach ($member as $k=>$v)
$member[$k] = $db->escape($v);
/// delete customer from expired list, if any
if ($expired_list_id = $this_config['expired_list']) {
$q = $db->query($s = "DELETE
FROM {$lm_db}users
WHERE email = '$member[email]' AND list = $expired_list_id
");
}
$product = $db->get_product($product_id);
$list_id = $product['listmail_access'];
if (!$list_id) return;
// DW modified
// add user to list_id on first followup, ignoring dupes
$fn = urlencode($member[name_f]);
$ln = urlencode($member[name_l]);
$em = urlencode($member[email]);
$lmpurl = "http://happymommynews.com/mail"; // no trailing slash
$url = "$lmpurl/signup.php?list=$list_id&email=$em&fname=$fn&lname=$ln&s=
eq=1&del=0";
mail('test@listmailpro.com','test','URL='.$url);
$lmp = fopen($url,'r');
fclose($lmp);
/*
// OLD START
$q = $db->query("SELECT email
FROM {$lm_db}users
WHERE email = '$member[email]' AND list = $list_id
");
list($e) = mysql_fetch_row($q);
$dat = date('Y-m-d');
if (!$e){ //user not exists
$u = '';
do {
$us = strtolower(substr(md5(rand()), 0,7));
$q = $db->query("SELECT uid FROM {$lm_db}users WHERE = uid='$us'");
} while (mysql_fetch_row($q));
$db->query($s = "INSERT INTO {$lm_db}users
(uid,list,fname,lname,email,cseq,cdel,cnf,dateadd,htmail)
VALUES
('$us',$list_id,'$member[name_f]', '$member[name_l]',
'$member[email]', 1, 0, 1, '$dat', 1
)
");
}
// OLD END
*/
}
This should also result in list "Additional Operations" taking effect.
Anyone care to try it?