Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Re: [ARCHIVED] Postmaster (0.4.4) -A simple newsletter manager
Colak,
I have spaces between my list names. Have you tried it with spaces, and it’s not working? Or was the documentation unclear?
- Ben
Offline
Re: [ARCHIVED] Postmaster (0.4.4) -A simple newsletter manager
Ben, i seem to remember (maybe wrongly) that the previous version of the plugin allowed a subscriber to belong to multiple lists but those had to be comma separated without a space…
So what you are saying is that i got it wrong and the lists should/could be space separated?
>Edit damn typos!!!
Last edited by colak (2008-01-18 14:12:34)
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Online
Re: [ARCHIVED] Postmaster (0.4.4) -A simple newsletter manager
Colak,
Give it a shot. The list field doesn’t care what the terms are separated with — it just searches for the text (the list name you’ve selected from the Write tab).
- Ben
Offline
Re: [ARCHIVED] Postmaster (0.4.4) -A simple newsletter manager
benbruce wrote:
Give it a shot. The list field doesn’t care what the terms are separated with — it just searches for the text (the list name you’ve selected from the Write tab).
I will do that, especially after textdrive decides succeeds to in booting the server.
Last edited by colak (2008-01-18 19:16:01)
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Online
Re: [ARCHIVED] Postmaster (0.4.4) -A simple newsletter manager
Ben, I got this after sending out a test email in debugging mode:
Notice: Undefined variable: uPosted in /home/example/public_html/textpattern/publish.php on line 843
Warning: extract() [function.extract]: First argument should be an array in /home/example/public_html/textpattern/lib/txplib_misc.php(552) : eval()'d code on line 511
Notice: Undefined variable: listSubjectLine in /home/example/public_html/textpattern/lib/txplib_misc.php(552) : eval()'d code on line 513
Notice: Undefined variable: listName in /home/example/public_html/textpattern/lib/txplib_misc.php(552) : eval()'d code on line 517
Notice: Undefined variable: listAdminEmail in /home/example/public_html/textpattern/lib/txplib_misc.php(552) : eval()'d code on line 522
Notice: Undefined variable: listAdminEmail in /home/example/public_html/textpattern/lib/txplib_misc.php(552) : eval()'d code on line 523
Notice: Undefined variable: listEmailForm in /home/example/public_html/textpattern/lib/txplib_misc.php(552) : eval()'d code on line 537
Notice: Undefined variable: thisarticle in /home/example/public_html/textpattern/lib/txplib_misc.php(552) : eval()'d code on line 552
All of those fields are filled in on the list details too. Another thing is the list claims to be sending to all the subscribers (eg. “104 done”). Doesn’t seem to though, which would be a good thing (newsletter not complete – using a dev list).
Export errors
I just noticed this – I exported a list of subscribers from a site I updated from 0.3 to 0.4 and all the fields were offset. The Name fields were filled with subscriber IDs, the email fields used names, and the name fields used email addresses.
Last edited by jm (2008-01-19 06:43:50)
Offline
Re: [ARCHIVED] Postmaster (0.4.4) -A simple newsletter manager
I’ve released the first bug fixes here (reported by Gemal).
jm,
I think this may have something to do with the error messages you were receiving. If you are mailing HTML emails, it should also be the reason the emails were not actually making it to subscribers.
re: the export/import function. Earlier in the thread you mentioned they were working great — was that on a different site, or had you simply not noticed the transcription error yet? Also, you shouldn’t have to export/import to move from 0.3 to 0.4 at all. Just upload the new version of the plugin and it should recognize the database table no problem. Let me know what you can about the import/export error and I’ll take another look. I expect if it’s a bug (and it sure seems like it) it won’t be too hard to find and fix.
- Ben
Offline
Re: [ARCHIVED] Postmaster (0.4.4) -A simple newsletter manager
benbruce wrote:
re: the export/import function. Earlier in the thread you mentioned they were working great — was that on a different site, or had you simply not noticed the transcription error yet?
I hadn’t noticed the error after importing for a bit – I got caught up learning ’90s web design for HTML emails. I did an export and import because the site I was working on needed to be moved to a new host, and the client didn’t have any login access (MySQL or FTP). I installed the updated plugin and exported as a CSV. This is a sample of the output (emails and names changed) – I can send you the whole file if you want:
6,Example name,mail@example.com.com,default,,,,,,,,,,,,mailed,561ca8889f64aeff8590d90f6aa565b0
108,Another example,someone@example.com,default,,,,,,,,,,,,mailed,728fad73db4bd9724c71135b71a3c3c9
Edit: I’m only getting a couple errors with 0.4.1:
Notice: Undefined variable: uPosted in /home/example/public_html/hnn/textpattern/publish.php on line 843
Notice: Undefined variable: thisarticle in /home/example/public_html/hnn/textpattern/lib/txplib_misc.php(552) : eval()’d code on line 552
Newsletter form contents:
<txp:bab_pm_mime type="text" />
<txp:title />
Last edited by jm (2008-01-21 19:39:51)
Offline
Re: [ARCHIVED] Postmaster (0.4.4) -A simple newsletter manager
I’ve updated the download page with a new version (0.4.2) that fixes the import/export issue found by jm.
- Ben
Offline
Re: [ARCHIVED] Postmaster (0.4.4) -A simple newsletter manager
Looking at the code I think i found a bug. In the Postmaster library you have:
$end_mime = <<<end_mime
—$mime_boundary
end_mime;
I think this should be:
$end_mime = <<<end_mime
—$mime_boundary—
end_mime;
My mailserver conplains about:
X-Amavis-Alert: BAD HEADER, MIME error: error: part did not end with expected
boundary
Looking at the RFC 1521 it says:
“The encapsulation boundary following the last body part is a
distinguished delimiter that indicates that no further body parts
will follow. Such a delimiter is identical to the previous
delimiters, with the addition of two more hyphens at the end of the
line”
I think you’re missing those two hyphens at the end
Offline
Re: [ARCHIVED] Postmaster (0.4.4) -A simple newsletter manager
Futhermore in the postmaster library this:
$headers = “From: $listAdminEmail”. $sep.‘Reply-To: ‘.$listAdminEmail. $sep.‘X-Mailer: Textpattern/Postmaster’.
should be changed to:
$headers = “From: $listAdminEmail”. $sep.‘X-Mailer: Textpattern/Postmaster’.
No need for adding the Reply-To header since it’s the same as the From address
The code is duplicated in the Postmaster code also. So be sure to remove the line in both places :)
Offline
Re: [ARCHIVED] Postmaster (0.4.4) -A simple newsletter manager
Thanks Gemal. Keep ‘em coming,
- Ben
Offline
Re: [ARCHIVED] Postmaster (0.4.4) -A simple newsletter manager
Hi Ben,
re my comment here
- I found that the fields in the “Add a Subscriber” page do not recognise the enter/return key to post/save the entry but instead they change the line, like in a word processor.
Would it be because you are using
<textarea name="newSubscriberEmail" cols="40" rows="5" style="width: 440px; height: 14px;"></textarea>
instead of
<input name="newSubscriberEmail" value="" type="text" style="width: 440px; height: 14px;" />
?
etc…
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Online