I am getting an email into GMail, but it appears empty. Only when I select Show original to see the full content of an email, I can see the email contains a multipart message:
Code: Select all
Return-Path: <[email protected]>
Received: from domoticz (xxxxxx. [xxxx])
by smtp.gmail.com with ESMTPSA id kb5sm119091311xxx.20.2016.01.11.04.30.06
for <xxx>
(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
Mon, 11 Jan 2016 04:30:07 -0800 (PST)
Message-ID: <[email protected]>
Date: Mon, 11 Jan 2016 04:30:07 -0800 (PST)
X-Google-Original-Date: Mon, 11 Jan 2016 13:30:05 CET
Sender: xxx <xxx>
From: [email protected]
X-Google-Original-From: <xxx@xxx>
To: <xxx@xxx>
MIME-Version: 1.0
Content-Type: multipart/mixed;
boundary="bounds=_NextP_0056wi_0_8_ty789432_tp"
Subject: Choinka Status: Off
This is a MIME encapsulated message
--bounds=_NextP_0056wi_0_8_ty789432_tp
Content-Type: multipart/alternative;
boundary="inner_jfd_0078hj_0_8_part_tp"
--inner_jfd_0078hj_0_8_part_tp
Content-type: text/plain; charset=iso-8859-1
Content-transfer-encoding: 7BIT
--inner_jfd_0078hj_0_8_part_tp
Content-type: text/html; charset=UTF-8
Content-Transfer-Encoding: base64
PGh0bWw+ [truncated] +DQo8L2JvZHk+DQo8L2h0bWw+DQo=
--inner_jfd_0078hj_0_8_part_tp--
--bounds=_NextP_0056wi_0_8_ty789432_tp--
.
I have copied the whole base/64 part and decoded it and I was able to see the picture from the camera, but only using external tools.
For some reason, Domoticz is not sending the message the way, GMail would identify the attachment and show it correctly. Is it a bug?