mail2web not placing (((Reply above...))) in all emails

mariagwyn - February 2, 2009 - 02:48
Project:Mail Comment
Version:6.x-1.0-beta4
Component:Code
Category:support request
Priority:normal
Assigned:Unassigned
Status:active
Description

I am trying to configure mail2web to work with OG posts. I am having other issues with mailhandler (see http://drupal.org/node/367742), but I think there is a separate issue with Mail2Web.

I have a group with four members. When I post a node to the group, all four are notified. But only two have the (((Reply to...))) text in the email. The others simply have the post. The users have different permissions on the site.

Unfortunately, the only user who is currently able to post via mailhandler (see the above issue) is one of the users who does not get this text. So, when this user posts a reply, an error email is received which says this:

In order for emails to be accepted by Site:
- They must be sent in reply to a valid notification email.
- The reply must be done from the same email address the notification was sent to.

Of course, emails sent from users with the (((reply))) info get the same message, but they also can't post at all on the site, which is a mailhandler issue.

Any insight would be greatly appreciated, I am terribly confused.
thanks,
Maria

#1

Ian Ward - February 2, 2009 - 14:27
Status:active» postponed (maintainer needs more info)

Hi Maria,

There may be a few things happening:

1. In order to have the delimiter line added "(((Reply ABOVE this...)))" the user who is receiving the notification must have the permission "Post comments" otherwise this line will not be added to their notification and neither will the necessary parameters to the email's headers.

2. In regard to http://drupal.org/node/367742 mail2web only supports replying to a post via email and leaving a comment. In the current version, you cannot create a page node via email with a mailhandler mailbox that's assigned to be used with mail2web. In other words, mail2web always expects you're trying to post a comment when you send an email to the assigned address, and if you are not, it will refuse posting.

Can you try it out again with these two points in mind and confirm you are not having any other issue?

Thanks,
Ian

#2

mariagwyn - February 2, 2009 - 18:40

1. I added comment permissions to user "webmaster."
2. Created a group wiki post, "15". It was sent to the four members of the group: admin (user #1, registered under my email address), admintemp, webmaster (the account that has Mail only permissions), and listserv (which is registered under the addressed mailhandler checks for posts).
3. Each user received an email with the proper ((())) in it.
4. I replied from TWO of the accounts: admin (full permissions) and webmaster (node/comment-only permissions).
5. Retrieved the mailbox, which of course retrieved THREE messages, the TWO I sent, and the actual post sent to this box (I will remove this user from the list, but it is interesting for testing because...)
6. Message ONE, which is actually the original post received this error:
Message Received an email with no parameters from admin <webmaster@...>: ADPC: 15 (Amazon Dragons General Information)
7. Message TWO, the reply from the admin account (me), sent from my home email (gmail, using apple mail) received this error:
Received an e-mail without a valid user id from Maria McDowell <mariagwyn@...>: Re: ADPC: 15 (Amazon Dragons General Information)
Note that this is User 1, full admin privileges, registered to this email, but my actual name, NOT my username or email addressed is being used for authentication.
8. Message THREE, the reply email from "webmaster," the only account which I was able to post a PAGE with just using mailhandler, received this ugly set of errors:

    * warning: imap_header() [function.imap-header]: Bad message number in /home/.../drupal6/sites/all/modules/mailhandler/mailhandler.retrieve.inc on line 618.
    * warning: imap_fetchstructure() [function.imap-fetchstructure]: Bad message number in /home/.../drupal6/sites/all/modules/mailhandler/mailhandler.retrieve.inc on line 58.
    * warning: imap_fetchstructure() [function.imap-fetchstructure]: Bad message number in /home/.../drupal6/sites/all/modules/mailhandler/mailhandler.retrieve.inc on line 58.
    * warning: imap_fetchstructure() [function.imap-fetchstructure]: Bad message number in /home/.../drupal6/sites/all/modules/mailhandler/mailhandler.retrieve.inc on line 119.

This seems to be more than just mail2web, though frankly, I will take whatever solution works. Thanks for your help on this!
m

#3

mariagwyn - February 2, 2009 - 18:47

Ran one more test:

I enabled comments without approval for all users. Then, I sent a reply from the only account I didn't before, the Admintemp account. The messages was retrieved, but again:
Received an e-mail without a valid user id from Maria ... <mgm.accts@...>: Re: ADPC: 15 (Amazon Dragons General Information)
the email IS registered, the name is mine again, not the username, but now anonymous users can post comments.

m

#4

mariagwyn - February 2, 2009 - 18:56

one more test: removed all default commands from mailbox (was type: page; status: 0). Created a new post, and sent it. same errors:
1. The webmaster account was retrieved, but received an error, invalid username.
2. The admin account got the same imap errors, bad header, and an email saying there was a problem.

sigh.

#5

mariagwyn - February 4, 2009 - 04:28
Status:postponed (maintainer needs more info)» active

Ian (or anybody?), any further thoughts on this? I am stuck at this point. It would be helpful to know if there are other things to test, or if there are other possible solutions.

thanks,
Maria

#6

Ian Ward - February 17, 2009 - 16:02

FYI I've posted on http://drupal.org/node/367742 to get to the bottom of that issue first.

thanks,
Ian

#7

Ian Ward - November 16, 2009 - 17:55
Project:Mail to Web» Mail Comment
Version:6.x-1.0-beta2» 6.x-1.0-beta4

Switch to mailcomment project. Mail2web is now known as "mailcomment" due to a trademark issue with the name mail2web.

 
 

Drupal is a registered trademark of Dries Buytaert.