[CLOSED] Nectar Content-Transfer-Encoding wrong?

General discussion about Plugins for Cacti

Moderators: Developers, Moderators

Post Reply
mikachiari
Posts: 2
Joined: Mon Sep 23, 2013 10:11 am

[CLOSED] Nectar Content-Transfer-Encoding wrong?

Post by mikachiari »

Hello 2 all

Not so long ago I had a problem with receiving nectar reports on Office365 - i had no reports! Gmail && other e-mail servers works fine. After some manipulation && reading of RFC's i found solution:
in mailer.php replace "8-bit" with "8bit". Without minus "-".

~/Experiments/nectar/nectar/0.8.7g ➜ diff mailer.php mailer_modif.php
271c271
< $this->Message["body"] .= "Content-Transfer-Encoding: 8-bit\n";
---
> $this->Message["body"] .= "Content-Transfer-Encoding: 8bit\n";
284c284
< $this->Message["body"] .= "Content-Transfer-Encoding: 8-bit\n";
---
> $this->Message["body"] .= "Content-Transfer-Encoding: 8bit\n";

Now i receive all reports in Office365.
It would be great if developers replaced "Content-Transfer-Encoding" with right value.

Thank you, All ;)

P.S. sorry for my english
Last edited by mikachiari on Tue Sep 24, 2013 5:49 am, edited 1 time in total.
mikachiari
Posts: 2
Joined: Mon Sep 23, 2013 10:11 am

Re: Nectar e-mail notification Content-Transfer-Encoding wro

Post by mikachiari »

This is RFC

http://tools.ietf.org/html/rfc2045#section-6.1

----------------->

6.1. Content-Transfer-Encoding Syntax


The Content-Transfer-Encoding field's value is a single token
specifying the type of encoding, as enumerated below. Formally:

encoding := "Content-Transfer-Encoding" ":" mechanism

mechanism := "7bit" / "8bit" / "binary" /
"quoted-printable" / "base64" /
ietf-token / x-token


------->

So i created bug http://bugs.cacti.net/view.php?id=2394
Can you please close this post?
User avatar
phalek
Developer
Posts: 2838
Joined: Thu Jan 31, 2008 6:39 am
Location: Kressbronn, Germany
Contact:

Re: Nectar e-mail notification Content-Transfer-Encoding wro

Post by phalek »

Just edit your original post and pre-pend "[CLOSED]" to the subject.
Greetings,
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti 1.x Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusReporting
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests