Gossamer Forum
Home : Products : DBMan : Customization :

Mass mailing

Quote Reply
Mass mailing
Has anyone used the mass mailing mod? If so, how does it work?
Quote Reply
Re: [rdub] Mass mailing In reply to
Once you install the mod, you will see a new link when you are logged in with admin permissions -- Send Mass Mail. If you click that link, you'll get a small field for the subject line, a textarea for your email message and the regular form that you use for searching and adding and modifying records. You fill in the subject and the message and then fill in criteria for who you want to send the message to. (You could send it just to those who had opted in for email messages, for example. Or those named "Smith.")

Then it does a search for records that fit your criteria, collects the email addresses and sends out the emails. It ends by telling you how many were sent.


JPD
----------------------------------------------------
JPDeni's DBMan-ual
How to ask questions the smart way.
Quote Reply
Re: [JPDeni] Mass mailing In reply to
Your are a busy person.

When I send it doesn't go to mass mailing successful and the message I receive doesn't show the message, just the subject. Also, can I have a default from address?
Quote Reply
Re: [rdub] Mass mailing In reply to
All I can suggest is that you go over the installation of the mod again.

Code:

can I have a default from address?


That's part of the mod. You can't send emails without a "From" address.

I would go back to the pre-mod files and install the mod again from scratch.


JPD
----------------------------------------------------
JPDeni's DBMan-ual
How to ask questions the smart way.
Quote Reply
Re: [JPDeni] Mass mailing In reply to
For example,

print qq|
<form action="$db_script_url" method="POST">
<input type=hidden name="db" value="$db_setup">
<input type=hidden name="uid" value="$db_uid">
<table><tr><td align=right><$font>Subject:</font></td>
<td><input type=text name="subject" value="$in{'subject'}" size=40></td></tr>
<tr><td align=right><$font>Your message:</font></td>
<td><textarea name="emailmessage" cols=40 rows=10 wrap="virtual">$in{'email_message'}</TEXTAREA></td></tr>

Do the bold entries need to be the same? If so, Which is correct?

Quote Reply
Re: [rdub] Mass mailing In reply to
Yes. Looks like there was an error. They both should be emailmessage. I'll fix it in a bit.


JPD
----------------------------------------------------
JPDeni's DBMan-ual
How to ask questions the smart way.
Quote Reply
Re: [JPDeni] Mass mailing In reply to
OK. I have the message working and I resolved the from email address. I'm kinda stumped on why I get this message when I send rather than the successful message. The email does send.

DBMan encountered an internal error. Please enable debugging to view.

Possibly something wrong with the end of the sub html_mass_mail_form?

How should the code that sends it to sub mass_mail_success read?
Quote Reply
Re: [rdub] Mass mailing In reply to
Change the title of the subroutine to html_mass_mailer_success. I don't know why I didn't see that before.

Both errors are now fixed.

What did you need to resolve about the From email?


JPD
----------------------------------------------------
JPDeni's DBMan-ual
How to ask questions the smart way.
Quote Reply
Re: [JPDeni] Mass mailing In reply to
Thank you. It's perfect.
Quote Reply
Re: [rdub] Mass mailing In reply to
OK, not perfect. Doesn't pick up the message initially but when the unsuccesfull due to empty message window appears and I type it in the message is accepted. Will be looking again at the script. Let me know if you know what it would be.
Quote Reply
Re: [rdub] Mass mailing In reply to
Working, now it's perfect.