Author Topic: Welcome messages to imported users  (Read 1411 times)

jgeorge

  • Posts: 3
    • View Profile
Welcome messages to imported users
« on: November 01, 2005, 12:56:10 pm »
My users are imported from by website, but not through a sign-up form, so I cannot figure out how to have a welcome message automatically sent to them, even though my list setting includes "Send Welcome Message on Sign-Up" Please help!

DW

  • Administrator
  • Posts: 3787
    • View Profile
    • https://legacy.listmailpro.com
Welcome messages to imported users
« Reply #1 on: November 01, 2005, 02:12:04 pm »
Are your users added with a custom script that inserts them into ListMail's MySQL database?  Or, do you use the ListMail Import feature?

If you use a custom script you will need to enter your own code to retrieve and send the welcome message from ListMail.  If you use the Import feature  on the User Database page (latest version) you can send the welcome message after import.

Regards
Dean Wiebe
ListMailPRO Author & Developer - Help | Support | Hosting

jgeorge

  • Posts: 3
    • View Profile
Welcome messages to imported users
« Reply #2 on: November 01, 2005, 02:47:36 pm »
My users are added with custom script, not the the ListMail import feature, but I think that I found a way send automatic welcome messages to these users. On the Customization Forum there was a post from you including code for setting up a way that welcome messages will be sent to new users who have not received a welcome message yet. Could this be what I am looking for?javascript:emoticon(':?:')

DW

  • Administrator
  • Posts: 3787
    • View Profile
    • https://legacy.listmailpro.com
Welcome messages to imported users
« Reply #3 on: November 01, 2005, 03:22:27 pm »
I don't think what I recommended in the other post is the best way for you to accomplish what you're trying to do.  If your existing clients still need to receive a message you might simply use the "Send Email" feature to send it to them.

You might try something like this (taken from signup.php) in your custom script to automatically send the welcome message to new users:

Code: [Select]
$lmp = '../relative/path/to/ListMail';

include($lmp.'/config.php');
include($lmp.'/admin.php');

$userid = mysql_insert_id(); // ID generated from your INSERT statement
sendwelcome($userid);

Regards
Dean Wiebe
ListMailPRO Author & Developer - Help | Support | Hosting