ListMailPRO Email Marketing Software Forums

ListMailPRO Email Marketing Software Forums => General Help & How-To => Topic started by: devilslayer on March 29, 2007, 02:00:13 pm

Title: Form Mail Script - Can List Mail Pro be used for this also?
Post by: devilslayer on March 29, 2007, 02:00:13 pm
Hello Dean,

I have just has List Mail Pro installed on my Dream Host account and was wondering if you can use it as a Email Contact Form. Here is the scenario I was thinking about:



I am just trying out the script at the moment to see exactly what I can do with it. It would be a bit daft for me to setup a separate formail script if ListMailPro can also do it for me. :P

Thanks a lot

Dave
Title: Form Mail Script - Can List Mail Pro be used for this also?
Post by: DW on March 29, 2007, 06:23:45 pm
Hi Dave,

You -could- accept a comment in a custom field (textarea) on your signup form, however, ListMail currently only allows editing of custom data on a single-line "input type=text" field.  I plan on providing options for different types of custom fields in future versions.

With "notify when a user subscribes to this list" enabled on the List Settings page you would receive a copy of what the user wrote as a comment, but it would not be easy to reply.

What I recommend is instead of using signup notification, use the included xtra/signup-xtra.php script.  This script could send a separate email to your email address appearing to be "from" the client, therefore allowing you to reply easily.

ie:
Code: [Select]
if($list=='1'){
 // comment = user1 (custom field 1)
 $subj = "User Comments";
 $msg = "$fname $lname wrote:
$user1";
 mail('you@example.com',$subj,$msg,"From: \"$fname $lname\" <$email>");
}

Regards