Search The ForumSearch   RegisterRegister  LoginLogin

MailBee.NET Queue

 AfterLogic Forum : MailBee.NET Queue
Subject Topic: HTML Emails Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
msinca
Newbie
Newbie


Joined: 21 August 2014
Location: United States
Online Status: Offline
Posts: 11
Posted: 16 June 2016 at 2:17pm | IP Logged Quote msinca

We are having an issue with the most recent build of the Mailbee.Net Queue (1.5.1). We are using an older version of Mailbee.SMTP in our Classic ASP site to write an HTML email to the Queue (see sample below).

When this emails hits the queue and is passed to the SMTP server, it looks like the Queue is adding the Text Version (Multi-part) to go along with the HTML version. However, something with adding the extra 'part' is screwing it up and Gmail is only showing the Text version (not the HTML) so none of the links work correctly.

Any suggestions on how to stop this from adding the Text multipart?



----------------------------------------
Source Email in Queue before sending (addresses have been redacted)
-----------------------------------------
x-sender: <xxyy@entertainmentcareers.net>
x-receiver: <abc123@gmail.com>
x-receiver: <admin@entertainmentcareers.net>
MIME-Version: 1.0
From: EntertainmentCareers.Net Support <xxyy@entertainmentcareers.net>
Reply-To: EntertainmentCareers.Net Support <support@entertainmentcareers.net>
To: abc123@gmail.com
Subject: Your EntertainmentCareers.Net listings for Ecn Test Company
Content-Type: text/html; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
X-Mailer: MailBee Objects (ActiveX) 8.1
Date: Thu, 16 Jun 2016 16:44:00 -0400
Message-ID: <8712-9714456001574411478@DED3333>

<html><body style=3D'background:#FFF;font-family:Arial, Helvetica, sans-ser=
if'><table width=3D'800' border=3D'0' align=3D'center' style=3D'border-coll=
apse:collapse;'><tr><td style=3D'background:#136BBE; border: 1px solid #165=
086;'><a href=3D'http://www.entertainmentcareers.net/2' ><img src=3D'http:/=
/img.entertainmentcareers.net/2/imgs/global/ec_logo_shadow.png' width=3D'20=
4' height=3D'79' alt=3D'EntertainmentCareers.Net' style=3D'margin: 7px 0 0 =
0; border:0' /></a></td></tr><tr><td style=3D'background:#FFF; border: 1px =
solid #aaa; padding:20px 10px 20px 10px;' ><span style=3D'color:#213655;fon=
t-family:Arial, Helvetica, sans-serif;font-size:28px; font-weight:bold; lin=
e-height:30px; '>Edit/Delete Your Listings</span><br /><span style=3D'font-=
family:Arial, Helvetica, sans-serif;color:#4C5A6F; font-weight:bold; font-s=
ize:16px; line-height:30px;'>abc123@gmail.com</span><br /><span style=
=3D'font-family:Arial, Helvetica, sans-serif;color:#213655; font-size:13px;=
font-weight:bold; line-height:13px;'>Your Postings as of 6/16/2016 4:44:00=
PM</span><table width=3D'780' border=3D'0' align=3D'center' style=3D'borde=
r-collapse:collapse; margin-top:10px;'><tr><td style=3D'width:80px;border-t=
op:1px solid #DDDDDD;font-family:Arial, Helvetica, sans-serif;font-size:16p=
x; color:#213655; margin:0 0 0 0; overflow:hidden; padding:24px 2px 4px 2px=
;' colspan=3D'2'><strong>PENDING (1 Jobs) - Awaiting Review<strong></td></t=
r><tr><td style=3D'width:80px;border-top:1px solid #DDDDDD;'><a href=3D'htt=
p://www.entertainmentcareers.net/d/=3Fd=3DED6729T702G71Y90' style=3D'font-f=
amily:Arial, Helvetica, sans-serif;font-size:13px; font-weight: bold; color=
: #226ab4;'>Edit/Delete</a><br /> </td><td style=3D'font-family:Arial,=
Helvetica, sans-serif;border-top:1px solid #DDDDDD; color:#777777; display=
:block; font-size:13px; margin:0 0 0 0; overflow:hidden; padding:11px 8px; =
position:relative; text-decoration:none'><a href=3D'http://www.entertainmen=
tcareers.net/employer/edit_posting.asp=3Fd=3DED6729T702G71Y90' style=3D'tex=
t-decoration:none; color:#777777;'><span style=3D'margin:0 4px;color:#55555=
5;font-weight:bold;margin-left:0'>Test Posting</span> at <span style=3D'col=
or:#444444;'>Ecn Test Company</span><br />Los Angeles, CA</span><span class=
=3D'date' style=3D'margin:0 0 0 15px; font-size:13px;'> Date: 3/30/2009</sp=
an></a></td></tr></table></td></tr></table><br /><br /><div style=3D'clear:=
both;width:100%'></div><br /><br /><br /><div style=3D'font-size:8px'>ref:e=
cnb1</div></body></html>



--------------------------------------------------
Source Email after it has been delivered to Gmail
--------------------------------------------------
Delivered-To: abc123@gmail.com
Received: by 10.202.173.145 with SMTP id w139csp623484oie;
        Thu, 16 Jun 2016 13:52:52 -0700 (PDT)
X-Received: by 10.55.172.73 with SMTP id v70mr6877881qke.98.1466110372738;
        Thu, 16 Jun 2016 13:52:52 -0700 (PDT)
Return-Path: <xxyy@entertainmentcareers.net>
Received: from mail.entertainmentcareers.net (mail.entertainmentcareers.net. [208.67.194.75])
        by mx.google.com with ESMTPS id 56si1759193qto.122.2016.06.16.13.52.52
        for <abc123@gmail.com>
        (version=TLS1 cipher=DES-CBC3-SHA bits=112/168);
        Thu, 16 Jun 2016 13:52:52 -0700 (PDT)
Received-SPF: pass (google.com: domain of xxyy@entertainmentcareers.net designates 208.67.194.75 as permitted sender) client-ip=208.67.194.75;
Authentication-Results: mx.google.com;
       dkim=pass header.i=@entertainmentcareers.net;
       spf=pass (google.com: domain of xxyy@entertainmentcareers.net designates 208.67.194.75 as permitted sender) smtp.mailfrom=xxyy@entertainmentcareers.net;
       dmarc=pass (p=NONE dis=NONE) header.from=entertainmentcareers.net
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=entertainmentcareers.net; s=hdm;
        h=content-type:message-id:date:x-mailer:subject:to:reply-to:from
          :mime-version;
        bh=TCMTbTaG/iRLsQSrYXCqwVUktEnH/2BkMmTNHTRvaIk=;
        b=qSZFfbtuARM5OJs2Kuqh1ftDsY6hR1F+BRFlLteHi0RouBrCnQ5C+O8g+XH2YWV7/
          Y9WHfF80UcsiFfa8UefSiIIQ08a73WKSFJEqHxWstOT1M/9K4GKzexsPRUqzA0m8L
          PgIX/udb5YExEhmsg0ato/OdAYh+EKcQKdfX5GS24=
Received: from [66.29.196.96] (maxweb01.entertainmentcareers.net [66.29.196.18]) by mail.entertainmentcareers.net with SMTP;
   Thu, 16 Jun 2016 15:51:31 -0500
MIME-Version: 1.0
From: EntertainmentCareers.Net Support <xxyy@entertainmentcareers.net>
Reply-To: EntertainmentCareers.Net Support <support@entertainmentcareers.net>
To: abc123@gmail.com
Subject: Your EntertainmentCareers.Net listings for Ecn Test Company
X-Mailer: MailBee Objects (ActiveX) 8.1
Date: Thu, 16 Jun 2016 16:44:00 -0400
Message-ID: <8712-9714456001574411478@DED3333>
Content-Type: multipart/alternative;
     boundary="----=_NextPart_000_99BF_B41437ED.C5FE5790"


------=_NextPart_000_99BF_B41437ED.C5FE5790
Content-Type: text/html; charset="utf-8"
Content-Transfer-Encoding: quoted-printable

<html><body style=3D'background:#FFF;font-family:Arial, Helvetica, sans-ser=
if'><table width=3D'800' border=3D'0' align=3D'center' style=3D'border-coll=
apse:collapse;'><tr><td style=3D'background:#136BBE; border: 1px solid #165=
086;'><a href=3D'http://www.entertainmentcareers.net/2' ><img src=3D'http:/=
/img.entertainmentcareers.net/2/imgs/global/ec_logo_shadow.png' width=3D'20=
4' height=3D'79' alt=3D'EntertainmentCareers.Net' style=3D'margin: 7px 0 0 =
0; border:0' /></a></td></tr><tr><td style=3D'background:#FFF; border: 1px =
solid #aaa; padding:20px 10px 20px 10px;' ><span style=3D'color:#213655;fon=
t-family:Arial, Helvetica, sans-serif;font-size:28px; font-weight:bold; lin=
e-height:30px; '>Edit/Delete Your Listings</span><br /><span style=3D'font-=
family:Arial, Helvetica, sans-serif;color:#4C5A6F; font-weight:bold; font-s=
ize:16px; line-height:30px;'>abc123@gmail.com</span><br /><span style=
=3D'font-family:Arial, Helvetica, sans-serif;color:#213655; font-size:13px;=
font-weight:bold; line-height:13px;'>Your Postings as of 6/16/2016 4:44:00=
PM</span><table width=3D'780' border=3D'0' align=3D'center' style=3D'borde=
r-collapse:collapse; margin-top:10px;'><tr><td style=3D'width:80px;border-t=
op:1px solid #DDDDDD;font-family:Arial, Helvetica, sans-serif;font-size:16p=
x; color:#213655; margin:0 0 0 0; overflow:hidden; padding:24px 2px 4px 2px=
;' colspan=3D'2'><strong>PENDING (1 Jobs) - Awaiting Review<strong></td></t=
r><tr><td style=3D'width:80px;border-top:1px solid #DDDDDD;'><a href=3D'htt=
p://www.entertainmentcareers.net/d/?d=3DED6729T702G71Y90' style=3D'font-fam=
ily:Arial, Helvetica, sans-serif;font-size:13px; font-weight: bold; color: =
#226ab4;'>Edit/Delete</a><br /> </td><td style=3D'font-family:Arial, H=
elvetica, sans-serif;border-top:1px solid #DDDDDD; color:#777777; display:b=
lock; font-size:13px; margin:0 0 0 0; overflow:hidden; padding:11px 8px; po=
sition:relative; text-decoration:none'><a href=3D'http://www.entertainmentc=
areers.net/employer/edit_posting.asp?d=3DED6729T702G71Y90' style=3D'text-de=
coration:none; color:#777777;'><span style=3D'margin:0 4px;color:#555555;fo=
nt-weight:bold;margin-left:0'>Test Posting</span> at <span style=3D'color:#=
444444;'>Ecn Test Company</span><br />Los Angeles, CA</span><span class=3D'=
date' style=3D'margin:0 0 0 15px; font-size:13px;'> Date: 3/30/2009</span><=
/a></td></tr></table></td></tr></table><br /><br /><div style=3D'clear:both=
;width:100%'></div><br /><br /><br /><div style=3D'font-size:8px'>ref:ecnb1=
</div></body></html>
------=_NextPart_000_99BF_B41437ED.C5FE5790
Content-Type: text/plain;
     charset="utf-8"
Content-Transfer-Encoding: quoted-printable

Edit/Delete Your Listings
abc123@gmail.com
Your Postings as of 6/16/2016 4:44:00 PM
PENDING (1 Jobs) - Awaiting Review
Edit/Delete
Test Posting at Ecn Test Company
Los Angeles, CA Date: 3/30/2009





ref:ecnb1
=

------=_NextPart_000_99BF_B41437ED.C5FE5790--
Back to Top View msinca's Profile Search for other posts by msinca
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 4851
Posted: 17 June 2016 at 3:19am | IP Logged Quote Igor

I have checked this with the developers, and they're positive it's not MailBee.NET Queue doing those modifications. MailBee.NET Objects, internally used by MailBee.NET Queue, is indeed capable of adding plaintext part automatically, but if that happened, plaintext part would be added before HTML part, not after it.

We've just tested this with slightly modified message you provided, and it arrived to Gmail box just fine. We were suspecting Gmail might be making modifications, but it doesn't seem to be the case.

Our guess is, SMTP server you use modifies the email message and creates plaintext part of it, it's not highly unusual for mailservers to do that if email has no plaintext body. Trying to use a different mail server for testing purposes is recommended.

Also, it could be some protective software (antispam, antivirus etc.) installed locally on the system your application runs on, we'd recommend disabling those temporarily and see if it changes anything.

--
Regards,
Igor, AfterLogic Support
Back to Top View Igor's Profile Search for other posts by Igor
 
msinca
Newbie
Newbie


Joined: 21 August 2014
Location: United States
Online Status: Offline
Posts: 11
Posted: 17 June 2016 at 12:47pm | IP Logged Quote msinca

Hi Igor,

Thanks for the reply. I may not have been clear in my original email but BOTH of the sample emails went to the same SMTP server. (In my page code, I literally have 2 objSMTP.SendToQueue lines after each other, one going to the older ActiveX queue folder and another to the newer .Net one so I can compare apples-to-apples). Both Queues use identical credentials to send to the same Smartermail SMTP server.

The only thing that is different is which Queue it came out of (ActiveX vs .Net v1.5.1).

Would you mind double checking with the developer? Is there a configuration option that will 'turn off' the adding of the plaintext automatically by the .Net Queue?

Thanks!!
Back to Top View msinca's Profile Search for other posts by msinca
 
Alex
AfterLogic Support
AfterLogic Support
Avatar

Joined: 19 November 2003
Online Status: Offline
Posts: 1989
Posted: 17 June 2016 at 1:56pm | IP Logged Quote Alex

Hi,

OK, will re-check this next week. The latest dev build of .NET Queue certainly doesn't add plain-text part but not sure if the latest published build acts the same way.

In the meantime, you can anyway open "My Documents\MailBeeNetQueue\Source\MailBee.NET Queue API\QueueRunner.cs", locate "private void InitMailer()", and add:

Code:

_mailer.Message.Builder.SetDateOnSend = _config.SetDateOnSend; // existing line
_mailer.Message.Builder.HtmlToPlainMode = HtmlToPlainAutoConvert.Never; // new line


Now you can rebuild everything and get the fixed version.

Regards,
Alex
Back to Top View Alex's Profile Search for other posts by Alex
 
msinca
Newbie
Newbie


Joined: 21 August 2014
Location: United States
Online Status: Offline
Posts: 11
Posted: 21 June 2016 at 10:41am | IP Logged Quote msinca

Hi Igor,

That did the trick. Works perfectly now.

Thanks for the help.
Back to Top View msinca's Profile Search for other posts by msinca
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump

Powered by Web Wiz Forums version 7.9
Copyright ©2001-2004 Web Wiz Guide