0 votes

I started to use the latest version of MAIL.DLL but mails aren't been received. I tested to send to my hotmail account and there the mail is marked as spam.
Can you possible give me direction what i'm doing wrong? Or can do better?

thanks in advance! Wk

below the outlook contents of the message: (All names has been changed to (an_account) ) (i had to delete some text because of the max. 8000 chars)

mail provider is: mail.bivas.nl
To : (anaccount) at hotmail.com
From : (an
account) at bivas.nl
Reply: (an_account) at alfapro.com

Received: from CO1NAM05HT027.eop-nam05.prod.protection.outlook.com
(2603:10a6:203:68::17) by AM5PR0901MB0866.eurprd09.prod.outlook.com with
HTTPS via AM5PR0601CA0031.EURPRD06.PROD.OUTLOOK.COM; Wed, 30 May 2018
07:52:10 +0000
Received: from CO1NAM05FT031.eop-nam05.prod.protection.outlook.com
(10.152.96.55) by CO1NAM05HT027.eop-nam05.prod.protection.outlook.com
(10.152.96.217) with Microsoft SMTP Server (version=TLS12,
cipher=TLS
ECDHERSAWITHAES256CBCSHA384P384) id 15.20.820.5; Wed, 30
May 2018 07:52:09 +0000
Authentication-Results: spf=none (sender IP is 80.73.130.129)
smtp.mailfrom=bivas.nl; hotmail.com; dkim=none (message not signed)
header.d=none;hotmail.com; dmarc=none action=none header.from=bivas.nl;
Received-SPF: None (protection.outlook.com: bivas.nl does not designate
permitted sender hosts)
Received: from mail21.networkoperations.nl (80.73.130.129) by
CO1NAM05FT031.mail.protection.outlook.com (10.152.96.143) with Microsoft SMTP
Server id 15.20.841.6 via Frontend Transport; Wed, 30 May 2018 07:52:08 +0000
X-IncomingTopHeaderMarker: OriginalChecksum:1118191971F8F0FED7D9A6EB5FD94592C02D39FDE1F332C643D0F207E7A0007E;UpperCasedChecksum:FF154F3AE7DE082EE04DBD1991C8949CEF63ACB7036FFBC7FB5AF99CA40575EC;SizeAsReceived:664;Count:12
Received: from [213.126.50.90] (account uyyxxxt@bivas.nl HELO [192.168.20.64])
by mail21.networkoperations.nl (CommuniGate Pro SMTP 6.0.9)
with ESMTPA id 34228479 for xxxx
on@hotmail.com; Wed, 30 May 2018 09:52:08 +0200
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
Date: Wed, 30 May 2018 09:52:01 +0200
Message-ID: dcfb1666-8333-4dd3-9218-472ba691d134@alfapro.aex
Subject: Uw bestelling 3
From: trhyrt <(anaccount)@bivas.nl>
To: <(an
account)@hotmail.com>
Reply-To: <(anaccount)@alfapro.com>, trhyrt <(anaccount)@alfapro.com>, <(anaccount)@alfapro.com>,
trhyrt <(an
account)@alfapro.com>
X-IncomingHeaderCount: 12
Return-Path: (anaccount)@bivas.nl
X-MS-Exchange-Organization-ExpirationStartTime: 30 May 2018 07:52:09.5187
(UTC)
X-MS-Exchange-Organization-ExpirationStartTimeReason: Original Submit
X-MS-Exchange-Organization-ExpirationInterval: 2:00:00:00.0000000
X-MS-Exchange-Organization-ExpirationIntervalReason: Original Submit
X-MS-Exchange-Organization-Network-Message-Id: eaecfbee-fa03-4d91-c0a9-08d5c6023f30
X-EOPAttributedMessage: 0
X-EOPTenantAttributedMessage: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa:0
X-MS-Exchange-Organization-MessageDirectionality: Incoming
X-Microsoft-Exchange-Diagnostics: 1;CO1NAM05FT031;1:i1FE1gVSGLs9e7bxEPZDf6btO5Vi0U17RzbOhr7zeduKi/4rrbqnsDW2dVHGkySBzAod2IAOMFAqFCQei+fili5nhStkav5zaq2bwc01v1Mk31r+R/KI6RC0aM2uTGGO
X-Forefront-Antispam-Report: EFV:NLI;
X-MS-Exchange-Organization-AuthSource: CO1NAM05FT031.eop-nam05.prod.protection.outlook.com
X-MS-Exchange-Organization-AuthAs: Anonymous
X-MS-PublicTrafficType: Email
X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:(5000109)(4605076)(610169)(8291501071);SRVR:CO1NAM05HT027;
X-Microsoft-Exchange-Diagnostics: 1;CO1NAM05HT027;3:
...
X-MS-TrafficTypeDiagnostic: CO1NAM05HT027:
X-MS-Exchange-EOPDirect: true
X-Sender-IP: 80.73.130.129
X-SID-PRA: (an
account)@BIVAS.NL
X-SID-Result: NONE
X-MS-Exchange-Organization-PCL: 2
X-Exchange-Antispam-Report-Test: UriScan:;
X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(444111676)(52401190)(52601095)(52505095)(52406095)(82015058);SRVR:CO1NAM05HT027;BCL:0;PCL:0;RULEID:;SRVR:CO1NAM05HT027;
X-Microsoft-Exchange-Diagnostics: 1;CO1NAM05HT027;4: ....
X-Microsoft-Antispam-Message-Info: ...
X-Microsoft-Exchange-Diagnostics: 1;CO1NAM05HT027;7:ZGuadXqiDdrs3IF4ZzL89ROAJawnoKxlyZDNb5n6RXUlAD6PQn2j7udaX1r0WEiUpA0Y+Mb9Xo/2/1JhNQ40ehz7htDoAh9EjXp4KvHq7zBBySFRr34mwB/ETCFKOqXxrByXzCEstJwOSDcRYmZI+ipYvLbjN4HDfETq7OcKLgjUDI6OJ4lCVIekzaldAiJjSfezeseacY2ZO6A20JcO+afgT0/06U5DDom7LHDAFm7WOrWxI3+p6k3SaunEg60P
X-MS-Office365-Filtering-Correlation-Id: eaecfbee-fa03-4d91-c0a9-08d5c6023f30
X-OriginatorOrg: outlook.com
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 May 2018 07:52:08.9562
(UTC)
X-MS-Exchange-CrossTenant-Network-Message-Id: eaecfbee-fa03-4d91-c0a9-08d5c6023f30
X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa
X-MS-Exchange-CrossTenant-FromEntityHeader: Internet
X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: b6587b75-6f1a-4db7-b0b6-5cad10ef59a7
X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO1NAM05HT027
X-MS-Exchange-Transport-EndToEndLatency: 00:00:01.6515580
X-MS-Exchange-Processed-By-BccFoldering: 15.20.0820.003
X-Microsoft-Exchange-Diagnostics:
1;AM5PR0901MB0866;27:TqwRRzxvEV92vHC4/KrQX6LRx0U0PHG/iU3W8bbw8GI+aMr2pnimOLDrnbEB0wT4UsHk6bq9mNnpvbyGXuP2hoXkug7gBGC9pxjv9DeIcJAlV567jrqgOEHz9CSBLc0i
X-Microsoft-Antispam-Mailbox-Delivery:
abwl:0;wl:0;pcwl:0;kl:0;iwl:0;dwl:0;dkl:0;rwl:0;ex:0;psp:0;auth:0;dest:J;ENG:(5062000261)(5061607266)(5061608174)(4900095)(4920089)(6375004)(4950130)(4990090)(9140004);RF:JunkEmail;OFR:SpamFilterAuthJ;
X-Message-Info:
qoGN4b5S4yrZ4rnrMovkSh3L23612XwvxcfQncly90Co43gIDBQS0JWmBk8Exg2S+isHJRlWFOBTB3ciyASUwwwpR0nzVIG8XiYpNNy5ja4SMEW3GQMciioqdmGMtvlIfHpGhTk0tIh8rpcGK+VhBt4VX58wOLkRq0wTPqFXjqbNEQaugk3u1p/qyzzJ6fyOA9MNMX6r2ZIpIU3Fmd12Lw==
X-Message-Delivery: Vj0xLjE7dXM9MDtsPTA7YT0wO0Q9MjtHRD0yO1NDTD02
X-Microsoft-Antispam-Message-Info:
D4VYlNH+aTGGhxb9Xi1ZJHF3g3d5vlVqmrEkON8ZWjdN3qry+IVwGGUFGriO45BZG7/Yjz1aKBPUU0ZlZOybhosGrhLOrw+OItVNAdJ7IctCl55LXqjlujR5aNOjmYeNElEnewDG/UFVGj3MIu9SZ35p1Y4F5fYYJQERcQ57IsNUol/HljC2Jqa4POq2IBsapvjrcXdnV/QYXvepljEy8jUhtaqgWW1LZRlGAdFHHixAX2x0vRNwPcHl5vpPO/SotjRUan1p1PyOEQiKqIHoir4P5B8JvHXEIRAygdkqC0Hw9eoF4lcRX49HzMQlXKFQdGPSgkw/6pNiXtrCDmmvTw==
MIME-Version: 1.0

Hello ... Goodbey 5

by (2.0k points)
edited by

1 Answer

0 votes

There is no way we can say why this message was marked as spam - there are simply too many factors.

There are hundreds of spam filters, most of them are self tough, so even filters from the same vendor can behave differently depending on the emails that were received earlier.

You should implement SPF on your server, use DKIM, make sure you are using TLS when sending, and don't send spam obviously.

by (297k points)
I find it very strange now,
When i create a message using version 3.0.16280.1013 of mail.dll and send it won't be marked as spam.
But when i'm using version 3.0.18141.1056 then the mail is marked as spam.
There must be any difference somewhere.
What is the difference between those 2 generated messages?
none.
because i'm testing I use the same script
Because we're using FoxPro as database / and userUI we developed a wrapper around the Mail.DLL
so the only part i've to change is the registration and license info.
Script contains:
      from XXim@alfapro.com
      reply XXes@alfapro.com
      to: XXmk_on@hotmail.com
      subject: Uw bestelling 3
      body text: Hello ... Goodbey 5

SMTP server used: mail.bivas.nl

Creation in short C#:
IMail _email
MailBuilder _message
...
_email = _message.Create();
byte[] byteArr = _email.Render(AddressHeaderRenderMode.Full);

Below you see the byteArr, which is used

--------------------------------------
Content-Type: text/plain;
 charset="utf-8"
Content-Transfer-Encoding: 7bit
MIME-Version: 1.0
Date: Wed, 30 May 2018 12:54:49 +0200
Message-ID: <9087a8cb-9583-46f4-8c0a-ede2ec4b78fa@alfapro.aex>
Subject: Uw bestelling 3
From: "trhyrt" <ektmart@bivas.nl>
To: "" <wimk_on@hotmail.com>
Reply-To: "" <cees@alfapro.com>,
 "trhyrt" <wim@alfapro.com>
Priority: normal

Hello ... Goodbey 5
My question was rather about the messages itself. Do you have both emls - is there any difference?
-or- do you maybe have logs from both SMTP sessions?
i' ll try to get the message contents our internal spam folder from our system manager  so i can compare the differrences
It would be good to have the message content _before_ it is send to SMTP server or have the SMTP logs:
https://www.limilabs.com/blog/logging-in-mail-dll

This way you's know what (if anything) changed in how the email is generated.

Also are you sure that in both cases you send using the same port?
It would be good to have the message content _before_ it is send to SMTP server or have the SMTP logs:
https://www.limilabs.com/blog/logging-in-mail-dll

I LL DO .. give me time

This way you's know what (if anything) changed in how the email is generated.

Also are you sure that in both cases you send using the same port?
YES

This cost me a bit time... i'll come back ..
...