Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#397 2007-11-06 01:55:30

Locutionist
Member
From: The mountains, central PA, USA
Registered: 2005-08-15
Posts: 57
Website

Re: [archived] Postmaster -- A simple email-on-post / newsletter manager

Followup to mrdale’s suggestion: tech support says its definitely not on their end.

benbruce> set it down to 10, still no go. FWIW there is only one test subscriber in there right now, to one of my non-admin email addresses.

-paula

Offline

#398 2007-11-06 05:40:16

benbruce
Plugin Author
Registered: 2006-01-13
Posts: 328
Website

Re: [archived] Postmaster -- A simple email-on-post / newsletter manager

Paula,

  • What does the pop-up that says “Nice try” look like? Is it a browser page, with the rest of the the Textpattern admin interface, or is it a warning with an “OK” button?
  • Are you using Postmaster 0.3?
  • What happens if you select “Test” on the Write tab? Is an email sent to your admin email?
  • Ben

Offline

#399 2007-11-06 15:30:18

Locutionist
Member
From: The mountains, central PA, USA
Registered: 2005-08-15
Posts: 57
Website

Re: [archived] Postmaster -- A simple email-on-post / newsletter manager

ben>

- It’s the Postmaster pop-up. Here’s a picture: http://www.rabbit-mountain.com/nice-try.png (does linking not work on this board anymore?)

- Postmaster v. 0.3, library v. 0.1

- Test generates the same error

Last edited by Locutionist (2007-11-06 15:32:04)

Offline

#400 2007-11-06 17:03:16

benbruce
Plugin Author
Registered: 2006-01-13
Posts: 328
Website

Re: [archived] Postmaster -- A simple email-on-post / newsletter manager

Locutionist,

What is the full url of the page that displays that “Nice try” message? I’m still trying to track down where that is in the code. When I search both of those plugins (0.3 and the Library) I don’t find the text (of the message
) anywhere in either of them. It’s a mystery.

My advice is to download Postmaster 0.3 again from the site and try installing it to your Textpattern installation again (You can leave all your forms, entries and everything alone — just the plugin).

  • Ben

Offline

#401 2007-11-06 17:16:45

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,143
Website GitHub Mastodon Twitter

Re: [archived] Postmaster -- A simple email-on-post / newsletter manager

Is there a way to use this plugin to actually send the content of the <txp:body /> and not the url of the article? I am thinking of using this for a “newsletter” and “not a site updated” announcement.

I have this in an article form

Dear <txp:bab_pm_data display="name" />,
<txp:bab_pm_data display="body_html" strip_html="yes" />
===========
<txp:bab_pm_unsubscribeLink type="text" />

I also created a draft article where I test the plugin but all it sends now is the url where the text is located.

Last edited by colak (2007-11-06 19:14:22)


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#402 2007-11-06 19:04:44

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

Re: [archived] Postmaster -- A simple email-on-post / newsletter manager

Doesn’t “nice try” happen if the URL is longer than 200 characters. Without looking at TXP core code, I vaguely remember that that is such a limit set somewhere in (I think) publish.php.

[Ruud should read more carefully before responding]

Offline

#403 2007-11-06 19:14:01

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,143
Website GitHub Mastodon Twitter

Re: [archived] Postmaster -- A simple email-on-post / newsletter manager

hi ruud

No nothing like that:) At the moment there’s just one email in the ‘newsletter’… mine. All I get is the page, loading non stop, and actually sending the email which contains just the address.

I guess what you are actually saying -correct me if I am wrong here – is that this is a bad idea as it will cause a lot of load in the db and the server and i should stick to pop mail regarding our planed service.

Last edited by colak (2007-11-06 19:15:23)


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#404 2007-11-06 20:57:28

Locutionist
Member
From: The mountains, central PA, USA
Registered: 2005-08-15
Posts: 57
Website

Re: [archived] Postmaster -- A simple email-on-post / newsletter manager

benbruce wrote:

Locutionist,

What is the full url of the page that displays that “Nice try” message? I’m still trying to track down where that is in the code. When I search both of those plugins (0.3 and the Library) I don’t find the text (of the message
) anywhere in either of them. It’s a mystery.

My advice is to download Postmaster 0.3 again from the site and try installing it to your Textpattern installation again (You can leave all your forms, entries and everything alone — just the plugin).

  • Ben

Hi Ben, here’s the URL: http://localpreference.rabbit-mountain.com/textpattern/index.php?event=postmaster&step=bulkmail&radio=1&list=Local%20Preference%20/%20Rabbit%20Mountain&artID=6

I’ll try reinstalling it again as you suggested. I much appreciate your help on this.

-paula

Offline

#405 2007-11-07 06:03:38

benbruce
Plugin Author
Registered: 2006-01-13
Posts: 328
Website

Re: [archived] Postmaster -- A simple email-on-post / newsletter manager

Paula,

I’m noticing your list name — I’m still not sure where that error message is in the plugin, but try giving your list a name without spaces or special characters (no slashes, underscores, etc). See if that helps.

Colak,

You certainly can send the body of the article. I’m not sure why you’re having an issue. I want to clarify though: are you saying that this form …

Dear <txp:bab_pm_data display="name" />,
<txp:bab_pm_data display="body_html" strip_html="yes" />
===========
<txp:bab_pm_unsubscribeLink type="text" />

… results in an email with a body like this …

Dear Testname, 
http://www.colakswebsite.com/etc
===========
http://www.colakswebsite.com/unsubscribe

OR, are you seeing an email like this …

Dear , 

=======
http://www.colakswebsite.com/unsubscribe

?

Also, would you mind trying it with a simpler form. How about:

Dear <txp:bab_pm_data display="name" />,
<txp:bab_pm_data display="body" />
===========
<txp:bab_pm_unsubscribeLink type="text" />

If that works, then you should be OK once you figure out where the error is (could be your set up, could be a bug — but I’ve never heard of Postmaster substituting the url for the body before).

Last edited by benbruce (2007-11-07 06:04:55)

Offline

#406 2007-11-07 06:24:51

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,143
Website GitHub Mastodon Twitter

Re: [archived] Postmaster -- A simple email-on-post / newsletter manager

Hi Ben

a form like this…

Dear <txp:bab_pm_data display="name" />,
<txp:bab_pm_data display="body_html" strip_html="yes" />
===========
<txp:bab_pm_unsubscribeLink type="text" />

… results in an email with a head like this …

Subject: 	Notification: A new article has been posted at &lt;txp:site_url /&gt;
Date: 	7 November 2007 08:14:54 GMT+02:00
To: 	  me@mymail.com
Reply-To: 

and a body like this
textpattern has posted a new article at http://neme.org/.
Read articlX-Mailer: PHP/5.1.4
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 8bit
Message-Id: <20071107061453.52C4EBB490@burnaby.textdrive.com>
Date: Wed,  7 Nov 2007 06:14:53 +0000 (GMT)
e at: http://neme.org/index.php?id=1
Unsubscribe:

Furthermore once I click save, the page changes to
http://www.mysite.org/textpattern/index.php?event=postmaster&step=bulkmail&radio=1&list=default&artID=1
which contains the message

Mailing ...
Please don't close this window until mailing is complete.
You will receive a written message here when mailing is complete.

The page keeps on reloading evry 1-2 seconds but the message does not change.

Last edited by colak (2007-11-07 06:27:38)


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#407 2007-11-07 06:32:35

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,143
Website GitHub Mastodon Twitter

Re: [archived] Postmaster -- A simple email-on-post / newsletter manager

When I use

Dear <txp:bab_pm_data display="name" />,
<txp:bab_pm_data display="body" />
===========
<txp:bab_pm_unsubscribeLink type="text" />

this is the email i receive

head

Subject: 	Notification: A new article has been posted at &lt;txp:site_url /&gt;
Date: 	7 November 2007 08:26:25 GMT+02:00
To: 	  me@maymail.com
Reply-To: 

body

X-Mailer: PHP/5.1.4
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 8bit
Message-Id: <20071107062621.6E152BC114@burnaby.textdrive.com>
Date: Wed,  7 Nov 2007 06:26:21 +0000 (GMT)
textpattern has posted a new article at http://neme.org/.
Read article at: http://neme.org/index.php?id=1
Unsubscribe:

whereas the reloading of http://www.mysite.org/textpattern/index.php?event=postmaster&step=bulkmail&radio=1&list=default&artID=1
continues indefinitely.


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#408 2007-11-08 22:53:47

benbruce
Plugin Author
Registered: 2006-01-13
Posts: 328
Website

Re: [archived] Postmaster -- A simple email-on-post / newsletter manager

Colak,

Does any of this help:

You are seeing some issues that other folks have seen using this plugin. The text that you’re getting in the emails is “header” information, and it means either there’s an error in how things are set up, or your email reader is taking issue with something you (meaning Postmaster) has done.

One thing I recommend is starting with the simplest setup of Postmaster — described here in the tutorial — and making sure that the system works with that before moving on to more complex setups. As a debugging process it’s not ideal, but you could start with a working tutorial set up, and build up from there to the HTML emails (ie, make sure it works, then update the email form so that it displays the article body, etc).

  • Ben

Last edited by benbruce (2007-11-08 22:54:53)

Offline

Board footer

Powered by FluxBB