Hi,

When I try to reply on a comment notification I recieve the following mail:

The email you sent to mailbox@domain.com was rejected because there was a
validation error.

In order for emails to be accepted by DrupalWebSite.com:
- 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.

I have tried almost everything and it still doesn't work. I'm sure that a user owns the replying mail and so on...

What do I do wrong?

Thank you.

Comments

asghar’s picture

Hi guys

Any luck ?

I am facing the same error....

asghar’s picture

Now working , problem was in my settings.

Thanks

greggles’s picture

Status: Active » Fixed

It's great to know you fixed it. Would be really cool to know what the problem was so others can learn from that.

S.Siva’s picture

Category: support » bug
Priority: Normal » Critical
Status: Fixed » Active

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.

i am getting the same error, somebody help please , how to fix this?

loze’s picture

Same error here.
What did you change in your settings?

asghar’s picture

Please check your settings and change your pop/smtp mail id , check it with gmail or yahoo id

hanno’s picture

I have the same issue. @asghar do you mean the settings in admin/content/mailhandler ?

linitrex’s picture

This is the solution:

The e-mails sent by my Atrium seem to have two Message-ID and Mail comment uses the wrong one

Subject: Comment for Case: add Message-ID: 1581bb5e4471d09d5cb2dbcde08953c3@pm.osinetwork.org X-Priority: 3 X-Mailer: PHPMailer 5.1 (phpmailer.sourceforge.net) Message-ID: 1.25.31.1302464384.ddc2737364bfdde9af009e66e1cefb1f@pm.osinetwork.org In-Reply-To: 3.25.0.1302389217.0f7f7015490e827a620f97c64a2a12b0@pm.osinetwork.org

To avoid this happening use the SMTP Authentication module and comment

// if($this->MessageID != '') {
// $result .= $this->HeaderLine('Message-ID',$this->MessageID);
// } else {
// $result .= sprintf("Message-ID: <%s@%s>%s", $uniq_id, $this->ServerHostname(), $this->LE);
// }

in the PHP Mailer class.phpmailer.php file called that has to be downloaded in order this module to work. This will prevent the inbuilt PHP Mailer to set additional MessageID);

hanno’s picture

@linitrex this is specific for phpmailer i suppose?

Got mine error to work changing my mailbox configuration 'Message authentication method' set to 'MailComment Default' (in admin/content/mailhandler/edit/1).

blueprint’s picture

Tried #9 to no avail. Am not using PHPmailer as in #8 so no go. commented on the 'yet another' ticket in the cue... Another solution was to simply use the old mail2web... disable mailcomment, enable mail2web and it just works as it did (have to renable the types). I'll try to examine what in the mail_alter or parsing functions is different and causes the fail this weekend/next week ... but this is a solution that works (if your clients are knocking on the door as ours were.)

izmeez’s picture

subscribing

bruvers’s picture

Status: Active » Needs work

I struggled for a long time with this until I finally found a solution that worked for me. At first I thought my settings were incorrect but it turned out that the validation failed because of the regex of _mailcomment_get_signature() in mailcomment.module. It seems that the last part \.([a-z0-9])([-a-z0-9_-])([a-z0-9])+ only matches at least 3 characters. The "Server string for Message Id" I entered in mailcomment settings (admin/messaging/mailcomment) was pikseldarbi.lv but only pikseldarbi was matched.

pikseldarbi.lv - fails validation
pikseldarbi - passes validation
example.com - passes validation

I hope this can help you getting it to work!

benjifisher’s picture

Status: Needs work » Closed (duplicate)

I am marking this as a duplicate of #758972: Yet another "Received an email with no parameters". I apologize if they are not actually the same problem. I am pretty sure that if you check your logs, you will find the same message there every time you get an e-mail as described in this issue.

The answer in #8 above may help some people, not me.

I am pretty sure that the regex mentioned in #13 is gone (in the latest version of mailcomment from git). Judging from the git log, I think it was removed on October 7, 2010. @Danis, were you working with a version older than that? See http://drupalcode.org/project/mailcomment.git/commit/432aca2 .

I may be able to help on #758972: Yet another "Received an email with no parameters".