Author Topic: Skip welcome emails?  (Read 2228 times)

gluntz

  • Posts: 30
    • View Profile
Skip welcome emails?
« 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

gluntz

  • Posts: 30
    • View Profile
Skip welcome emails?
« Reply #1 on: June 12, 2008, 05:48:39 am »
bump anyone?

DW

  • Administrator
  • Posts: 3787
    • View Profile
    • https://legacy.listmailpro.com
Skip welcome emails?
« Reply #2 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
Dean Wiebe
ListMailPRO Author & Developer - Help | Support | Hosting