ListMailPRO Email Marketing Software Forums

ListMailPRO Email Marketing Software Forums => General Help & How-To => Topic started by: gluntz on June 11, 2008, 09:00:25 am

Title: Skip welcome emails?
Post by: gluntz on June 11, 2008, 09:00:25 am
Is it possible to skip welcome emails when adding a subscriber through the querystring method?

http://www.myhost.com/listmail/signup.php?email=myemail@myhost.com&list=89&seq=5&del=5&submode=sub&overwritedupes=y
Title: Skip welcome emails?
Post by: gluntz on June 12, 2008, 05:48:39 am
bump anyone?
Title: Skip welcome emails?
Post by: DW on June 14, 2008, 07:24:25 am
Greetings,

The script is currently hard-coded to read this setting from the List Settings for the list(s) being subscribed to.

In signup.php, you could change this:
Code: [Select]
if($cnfact=='1' || ($cnfact<>'1' && $welcact == '1')){
  sendwelcome($userid);
 }

to this:
Code: [Select]
if(($cnfact=='1' || ($cnfact<>'1' && $welcact == '1')) && !$nowelcome){
  sendwelcome($userid);
 }

Then, add the additional parameter "&nowelcome=1" to your query.

Regards