Attach files ics with cdosys and view in gmail - asp-classic

I'm having a problem with an attached .ics file to the email and when it is
I can do it properly but when I open the email I have an incorrect result.
If I attach the .ics file and send it via email when I open the message with gmail I will show the message preview gmail with all the information, but if I am attaching the file ics sending it to a server via object cdosys ASP me appears in an inscription in the email to go to google calendar but without having the preview
The file that I am attaching are equal, and inside of the email I can download it in the same way.
Going to see, however, the message code is known that the first (email preview) has code attached cripatato and another (email without preview) clear
![good preview][1]
![message text no preview][2]
good code
Delivered-To: pippoprovaz#gmail.com
Received: by 10.70.26.228 with SMTP id o4csp279669pdg;
Fri, 20 Feb 2015 14:13:08 -0800 (PST)
X-Received: by 10.194.48.74 with SMTP id j10mr23601760wjn.38.1424470387690;
Fri, 20 Feb 2015 14:13:07 -0800 (PST)
Return-Path: <Pippo.deProva#email.it>
Received: from emout01.email.it (emout01.email.it. [212.97.34.23])
by mx.google.com with ESMTP id eu4si4967228wib.107.2015.02.20.14.13.06
for <pippoprovaz#gmail.com>;
Fri, 20 Feb 2015 14:13:07 -0800 (PST)
Received-SPF: pass (google.com: domain of Pippo.deProva#email.it designates 212.97.34.23 as permitted sender) client-ip=212.97.34.23;
Authentication-Results: mx.google.com;
spf=pass (google.com: domain of Pippo.deProva#email.it designates 212.97.34.23 as permitted sender) smtp.mail=Pippo.deProva#email.it
Received: from emout01.email.it (localhost [127.0.0.1])
by emout01.email.it (Postfix) with ESMTP id 939E8961E5
for <pippoprovaz#gmail.com>; Fri, 20 Feb 2015 23:13:05 +0100 (CET)
Received: from 78.213.240.171 (50.34.97.212.host.static.ip.kpnqwest.it [212.97.34.50])
by emout01.email.it (Postfix) with ESMTP id 462DB961E1
for <pippoprovaz#gmail.com>; Fri, 20 Feb 2015 23:13:05 +0100 (CET)
Received: from Email-mailer ([78.213.240.171])
by 78.213.240.171 with HTTP (Wmail);
Fri, 20 Feb 2015 23:13:27 +0100
Date: Fri, 20 Feb 2015 23:13:27 +0100
To: pippoprovaz#gmail.com
From: Pippo De Prova <Pippo.deProva#email.it>
Reply-to: Pippo De Prova <Pippo.deProva#email.it>
Subject:
Message-ID: <595ec85d8657342b8e1ae7c8275139cc#78.213.240.171>
X-Priority:
X-Mailer: Webmail-Email.it [Mailer version 1.70]
X-SenderIP: 78.213.240.171
MIME-Version: 1.0
Content-Type: multipart/mixed;
boundary="b1_595ec85d8657342b8e1ae7c8275139cc"
--b1_595ec85d8657342b8e1ae7c8275139cc
Content-Type: multipart/alternative;
boundary="b2_595ec85d8657342b8e1ae7c8275139cc"
--b2_595ec85d8657342b8e1ae7c8275139cc
Content-Type: text/plain; charset = "iso-8859-1"
Content-Transfer-Encoding: 8bit
--b2_595ec85d8657342b8e1ae7c8275139cc--
--b1_595ec85d8657342b8e1ae7c8275139cc
Content-Type: text/calendar; name="nonVis.ics"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="nonVis.ics"
QkVHSU46VkNBTEVOREFSClBST0RJRDpNTGVhcm5pbmcKVkVSU0lPTjoyLjAKQ0FMU0NBTEU6R1JF
R09SSUFOCk1FVEhPRDpSRVFVRVNUClgtV1ItQ0FMTkFNRTpVcGNvbWluZyBIUkVHIGFuZCBIRlNU
IGNvdXJzZXMgaW4gTUxlYXJuaW5nClgtV1ItVElNRVpPTkU6RXVyb3BlL1BhcmlzCkJFR0lOOlZU
SU1FWk9ORQpUWklEOkV1cm9wZS9QYXJpcwpYLUxJQy1MT0NBVElPTjpFdXJvcGUvUGFyaXMKQkVH
SU46REFZTElHSFQKVFpPRkZTRVRGUk9NOiswMTAwClRaT0ZGU0VUVE86KzAxMDAKVFpOQU1FOkVE
VApEVFNUQVJUOjE5NzAwMzA4VDAyMDAwMApSUlVMRTpGUkVRPVlFQVJMWTtCWU1PTlRIPTM7QllE
QVk9MlNVCkVORDpEQVlMSUdIVApCRUdJTjpTVEFOREFSRApUWk9GRlNFVEZST006KzAxMDAKVFpP
RkZTRVRUTzorMDEwMApUWk5BTUU6RVNUCkRUU1RBUlQ6MTk3MDExMDFUMDIwMDAwClJSVUxFOkZS
RVE9WUVBUkxZO0JZTU9OVEg9MTE7QllEQVk9MVNVCkVORDpTVEFOREFSRApFTkQ6VlRJTUVaT05F
ClRaTkFNRTpFU1QKVFpOQU1FOkVTVApCRUdJTjpWRVZFTlQKRFRTVEFSVDtUWklEPUV1cm9wZS9Q
YXJpczoyMDE1MDIyN1QxMDAwMDAKRFRFTkQ7VFpJRD1FdXJvcGUvUGFyaXM6MjAxNTAyMjdUMTEz
MDAwCkRUU1RBTVA6MjAxMDA1MjFUMTYyMzQxWgpVSUQ6MzQ0MDA0NTY0NDQ1NjQ1NgpDUkVBVEVE
OjIwMTAwNTIzVDE3NTY0MloKREVTQ1JJUFRJT046MzQ0MDAtNDU2NDQ0NTY0NTYgZGVzY3Jpemlv
bmUgcHJvdmEgdGVjbmljYSBodHRwOi8vd3d3LnNlcnZleGlhLml0P2lkPSAxMjEyMzEKTEFTVC1N
T0RJRklFRDoyMDEwMDQzMFQxNTM3NDVaCkxPQ0FUSU9OOiA5NSBwbGFjZSBkZSBsJ2VwaWNlYVws
IDM0NDAwTHVuZWwKU1VNTUFSWTpTZXJ2ZVhpYSBSRFYgQmFieVNpdHRlclxuClRSQU5TUDpPUEFR
VUUKU0VRVUVOQ0U6MApTVEFUVVM6Q09ORklSTUVEClVSTDpodHRwOi8vd3d3LnNlcnZleGlhLml0
P2lkPTEyMTIzMQpFTkQ6VkVWRU5UCkVORDpWQ0FMRU5EQVIK
--b1_595ec85d8657342b8e1ae7c8275139cc--
no good code
Delivered-To: deProvaPippo#gmail.com
Received: by 10.70.26.228 with SMTP id o4csp268051pdg;
Fri, 20 Feb 2015 13:47:38 -0800 (PST)
X-Received: by 10.50.111.168 with SMTP id ij8mr147639igb.43.1424468858565;
Fri, 20 Feb 2015 13:47:38 -0800 (PST)
Return-Path: <bounces+1528665-e85c-deProvaPippo=gmail.com#ssss.me>
Received: from o1.f.az.sss.net (o1.f.az.sss.net. [])
by mx.google.com with ESMTPS id t17si24017808icl.78.2015.02.20.13.47.38
for <deProvaPippo#gmail.com>
(version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
Fri, 20 Feb 2015 13:47:38 -0800 (PST)
Received-SPF: pass (google.com: domain of bounces+1528665-e85c- deProvaPippo=gmail.com#sssss.me designates 208.117.55.132 as permitted sender) client-ip=ssss;
Authentication-Results: mx.google.com;
spf=pass (google.com: domain of bounces+1528665-e85c- deProvaPippo=gmail.com#ssss.me designates 208.117.55.132 as permitted sender) smtp.mail=bounces+1528665-e85c-deProvaPippo=gmail.com#sss.me;
dkim=pass header.i=#ssss.me
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=ssss.me;
h=from:to:subject:mime-version:content-type:content-transfer-encoding:list- unsubscribe:x-feedback-id;
s=smtpapi; bh=undMBD+qKNE1GwBLr58rPPf3HtE=; b=brSOhe4gM9ytjdpvz3
dxPTS+XUpFZIWR+Pm/gDP549JlszKm3nQOi+EJco6tfrrezqJ6IRmWec1C3hWGDW
nkHWxpU5mO4lbUJFvgb3GpfgnVEG1Lyj0ypFrZB35pYafeuI1VCMSZb2IYfDc8Z5
gAgr64ksLsp/DmawENZAW2AwI=
Received: by filter0210p1mdw1.ssss.net with SMTP id filter0210p1mdw1.16398.54E7AB74C
2015-02-20 21:47:34.764937675 +0000 UTC
Received: from RD000D3A206CCE (unknown [10.68.181.194])
by ismtpd-001 (SG) with ESMTP id 14ba8f5c6f0.1d81.486682
for <deProvaPippo#gmail.com>; Fri, 20 Feb 2015 21:47:34 +0000 (UTC)
thread-index: AdBNVtVC+8xyMDrUQMeO/WOGpGp00A==
Thread-Topic: Service RDV BabySitter
From: <info#gmail.com>
To: <deProvaPippo#gmail.com>
Subject: ServeXia RDV BabySitter
Date: Fri, 20 Feb 2015 21:47:33 -0000
Message-ID: <7CA8363974F84ACEAB51BABEB33A2143#RD000D3A206CCE>
MIME-Version: 1.0
Content-Type: application/octet-stream;
name="invite.ics"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
filename="invite.ics"
X-Mailer: Microsoft CDO for Windows 2000
Content-Class: urn:content-classes:message
Importance: normal
Priority: normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.2.9200.16384
X-SG-EID: asLfHF183T/r3z5aDu8bv6Sekqs8eKacpuWFbt+jsTEG1Cersj6+qI8+skODIcz9/cUazbLbTk/ZCN
ZelAz/20J69ifj4AAYaUlV2LsoOIcYP05+pTPBlL5SGYvTGBGFre8RJLgksQ02LvLlQDP/qk4KDKwQ
Op6+7YM8mF/889f6Cyrs8xlT5tM2Rk2hNp3a
X-Feedback-ID: 1528665:9UZQSDSRl/NPaUcYTCjD6QDsisD+i+sNMgmjc0Vjua0=:9UZQSDSRl/NPaUcYTCjD6QDsisD +i+sNMgmjc0Vjua0=:SG
List-Unsubscribe: <https://u1528665.ct.ssss.net/wf/unsubscribe? upn=UbjGPFuTTwKzcR8eB-2FuGsc0qQAY3Hft5f-2BlmZfUg- 2FJw8vhmMxAV6OxUdoN2WJkTdVTfwKMkfCLAmTQUCan6W4oSXrF1gt0cNb2- 2BSzCxrZ1KpTWQjG9NZY3MuLB5p39StmawZs4RzAnbqX46g76iqleMHqOrRIY5SLuBVsXJ2qn7ZQS5g2 04CuRhjOwb0uqcJMdGYLro0Z4FqSi8AUTzfmh4TlbaoZA9Qs34uOW2aBYY-3D>, <mailto:unsubscribe#sss.me? subject=https://u1528665.ct.ssss.net/wf/unsubscribe*q*upn=UbjGPFuTTwKzcR8eB- 2FuGsc0qQAY3Hft5f-2BlmZfUg- 2FJw8vhmMxAV6OxUdoN2WJkTdVTfwKMkfCLAmTQUCan6W4oSXrF1gt0cNb2- 2BSzCxrZ1KpTWQjG9NZY3MuLB5p39StmawZs4RzAnbqX46g76iqleMHqOrRIY5SLuBVsXJ2qn7ZQS5g2 04CuRhjOwb0uqcJMdGYLro0Z4FqSi8AUTzfmh4TlbaoZA9Qs34uOW2aBYY-3D>
BEGIN:VCALENDAR
PRODID:-//Google Inc//Google Calendar 70.9054//EN
VERSION:2.0
CALSCALE:GREGORIAN
METHOD:CANCEL
BEGIN:VEVENT
DTSTART:20150304T133000Z
DTEND:20150304T143000Z
DTSTAMP:20150216T212734Z
ORGANIZER;CN=Servexia:mailto:72fiic4ab8q2q3tm0c83snepso#group.calendar.google.com
UID:4802a399-8631-45f7-966c-9c02f73be185
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS- ACTION;CN=Lu igi Lenguito;X-NUM-GUESTS=0:mailto:nicola#gmail.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS- ACTION;CN=fa bio#gmail.com;X-NUM-GUESTS=0:mailto:fabio#gmail.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS- ACTION;CN=A drea De Prova;X-NUM-GUESTS=0:mailto:Pippo#gmail.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS- ACTION;CN=fabio#gmail.com;X-NUM-GUESTS=0:mailto:fabio#gmail.com
CREATED:20150211T150114Z
DESCRIPTION:
LAST-MODIFIED:20150216T212734Z
LOCATION:Cap Omega
SEQUENCE:1
STATUS:CANCELLED
SUMMARY:RDV - Cap Omega - Romain Lotou
TRANSP:OPAQUE
END:VEVENT
END:VCALENDAR
code asp for send the
Dim iMsg
Dim iConf
Dim Flds
Dim strHTML
Const cdoSendUsingPickup = 1
set iMsg = CreateObject("CDO.Message")
set iConf = CreateObject("CDO.Configuration")
Set Flds = iConf.Fields
dim sch : sch = "http://schemas.microsoft.com/cdo/configuration/"
With Flds
.Item(sch & "sendusing") = 2
.Item(sch & "smtpserver") = "smtp.sendgrid.net"
.Item(sch & "smtpserverport") =465
.Item(sch & "smtpconnectiontimeout") = 10
.item(sch & "smtpauthenticate") = 1 'basic auth
.item(sch & "smtpusessl") = True
.item(sch & "sendusername") = "ssssssssssssss#azure.com"
.item(sch & "sendpassword") = "sssssssssss"
.Update
End With
' Build HTML for message body.
dest="prova#gmail.com"
testo=cstr(code &"-" & instcode & " " & tidyxml(gdescription) & " http://www.numero-telefono.it/?id="& instid)
mailhtml=MailTemplate(testo)
Dim iBP
With iMsg
Set .Configuration = iConf
.To = dest
if bcc <> "" then
.bcc =bcc
end if
if cc <> "" then
.cc =cc
end if
.From = "info#prova.com"
if repley <> "" then
.ReplyTo = repley
end if
.Subject = title
.HTMLBody =mailhtml
.AddAttachment (server.mappath("icalDemo.ics"))
.Send
End With
' Clean up variables.
Set iBP = Nothing
Set iMsg = Nothing
Set iConf = Nothing
Set Flds = Nothing

Related

Email header with multiple received fields: How can this happen and can this be used to fight SPAM

I often receive fishing /SPAM emails with multiple received fields.
First, I'd like to understand how one email header can have more than one received field.
Second, I'd like to know if I can use this to fight SPAM.
Here is an example:
Return-Path:
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on myhosting.com
X-Spam-Level:
X-Spam-Status: No, score=0.0 required=3.5 tests=HTML_MESSAGE autolearn=ham
version=3.3.2
X-Spam-ASN:
X-Original-To: my#email.rs
Delivered-To: my#email.rs
Received: from posta.abak.si (posta.abak.si [84.255.212.92])
by myhosting.com (Postfix) with ESMTPS id 522CA80DC8
for ; Wed, 8 May 2019 14:31:59 +0200 (CEST)
Authentication-Results: myhosting.com;
dmarc=none (p=NONE sp=NONE) smtp.from=mk.kema-on.net header.from=mk.kema-on.net;
spf=none (sender IP is 84.255.212.92) smtp.mailfrom=dime.mitreski#mk.kema-on.net smtp.helo=posta.abak.si
Received-SPF: none (myhosting.com: no valid SPF record)
Received: from localhost (localhost [127.0.0.1])
by posta.abak.si (Postfix) with ESMTP id 2C09E1E6A7D7
for ; Wed, 8 May 2019 14:35:06 +0200 (CEST)
Received: from posta.abak.si ([127.0.0.1])
by localhost (posta.abak.si [127.0.0.1]) (amavisd-new, port 10032)
with ESMTP id dw1MvahvfmXL for ;
Wed, 8 May 2019 14:35:05 +0200 (CEST)
Received: from localhost (localhost [127.0.0.1])
by posta.abak.si (Postfix) with ESMTP id EB2B21E6A3C6
for ; Wed, 8 May 2019 14:30:12 +0200 (CEST)
X-Virus-Scanned: amavisd-new at posta.abak.si
Received: from posta.abak.si ([127.0.0.1])
by localhost (posta.abak.si [127.0.0.1]) (amavisd-new, port 10026)
with ESMTP id luUYSdWOdHLE for ;
Wed, 8 May 2019 14:30:12 +0200 (CEST)
Received: from IP-129-13.dataclub.eu (unknown [84.38.129.13])
by posta.abak.si (Postfix) with ESMTPA id B18CD1E6A7A6
for ; Wed, 8 May 2019 14:25:39 +0200 (CEST)
Content-Type: multipart/alternative; boundary="===============0253676305=="
MIME-Version: 1.0
Subject: Warning: you have (3) Undelivered messesges
To: my#email.rs
From: "Webmaster"
Date: Wed, 08 May 2019 15:25:37 +0300
Message-Id:
Message Body
Every mail server that processes an email adds its own Received field to the header. It is normal for emails to pass through several email servers when traveling across the internet from the sender's computer to the final destination.
https://www.rfc-editor.org/rfc/rfc5321#section-4.4
When an SMTP server receives a message for delivery or further
processing, it MUST insert trace ("time stamp" or "Received")
information at the beginning of the message content,
Looking at the first Received field,
Received: from IP-129-13.dataclub.eu (unknown [84.38.129.13])
by posta.abak.si (Postfix) with ESMTPA id B18CD1E6A7A6
for ; Wed, 8 May 2019 14:25:39 +0200 (CEST)
you will notice that it says which server it received the mail from (the "FROM" clause), and which server received it (the "BY" clause").
As you read through the list of Received fields in the header you posted, you will notice that they are all linked in this fashion.

Wordpress emails going to spam

I have been having a lot of issues with emails from our servers going to SPAM. I cant find out why, I am not on any blacklist and we have the SPF/DKIM records validated.
Below is a transcripts of our emails...
Received: from host.ilovenz.me (host.ilovenz.me [96.30.1.56])
by relay-6.us-west-2.relay-prod (Postfix) with ESMTPS id 34DBA460BBA
for <20g0dnL7Le4vW8#dkimvalidator.com>; Sun, 26 Feb 2017 03:31:39 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=ilovenz.me;
s=default; h=MIME-Version:Content-Transfer-Encoding:Content-Type:Date:
Subject:To:Sender:From:Reply-To:Message-ID:Cc:Content-ID:Content-Description:
Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:
In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:List-Subscribe:
List-Post:List-Owner:List-Archive;
bh=dKce1b0OIqr1iFXsTI1PsQWwBft9eaJeSIwAbZhxRp0=; b=VOkfOW7ftU5bxGSL0Q9D+2tvB2
nGx9pmAcaRGzrFlwOLg8IrYYmU0h8PWqPTQ/4mD26BJCAEUdAYjXaKYl9ovhGWJMW9qAfK4Hy7JXk
aQDJOw6jBKHM5aRbgm9aIuXrPEe4+AngMao85vH9PKRTBQxegl2nJYX+JApr4MHf1S14uCyEYAcD7
nJwlrZJ32VAxn2gz1rDeevkTSptaSqpgX4EURzZDR/2osv53Np2//F+5qCTFabvwr9qe5RyiKsV5g
56TP/Ym1R4a25QzOg4yLiqr0ZlBh4zTB6lIGpfF7NWRtOPW49c02rEO8raOV3lgfXWWi+kD4NO1fy
Xw8Tljtw==;
Received: from host.ilovenz.me ([96.30.1.56]:48972 helo=localhost)
by host.ilovenz.me with esmtpa (Exim 4.88)
(envelope-from <hello#ilovenz.me>)
id 1chpYg-0000eR-6I
for 20g0dnL7Le4vW8#dkimvalidator.com; Sun, 26 Feb 2017 16:31:38 +1300
X-Mailer: Postman SMTP 1.7.2 for WordPress (https://wordpress.org/plugins/postman-smtp/)
From: ilovenz <hello#ilovenz.me>
Sender: hello#ilovenz.me
To: 20g0dnL7Le4vW8#dkimvalidator.com
Subject: [I Love New Zealand] Activate your account
Date: Sun, 26 Feb 2017 03:31:38 +0000
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
MIME-Version: 1.0
X-AntiAbuse: This header was added to track abuse, please include it with any abuse report
X-AntiAbuse: Primary Hostname - host.ilovenz.me
X-AntiAbuse: Original Domain - dkimvalidator.com
X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12]
X-AntiAbuse: Sender Address Domain - ilovenz.me
X-Get-Message-Sender-Via: host.ilovenz.me: authenticated_id: hello#ilovenz.me
X-Authenticated-Sender: host.ilovenz.me: hello#ilovenz.me
X-Source:
X-Source-Args:
X-Source-Dir:
Thanks for registering!=0A=0ATo complete the activation of your account,=
go to the following link: https://ilovenz.me/activate/kWwH8aMmTTYQCeii6=
nHDAZ1T3Lxw0QSr/
Probably because you are using an unusual TLD and you have the word 'love' in it. I had a similair problem with a poker site.

When creating an iCal event on behalf of an organizer and email it to him, no "Add to calendar" or "RSVP" wrappers appear

I'm creating the iCal using ical4j and sending it using Java Mail API 1.4.7. When sending it both to google.mail and outlook.com the organizer receives the email textual part only. All other recipients receive the email wrapped with the "Add to calendar" or "RSVP" buttons (for attendees).
If remove the recipient email from the organizer property, then he receives the email with the wrappers, but then the meeting has no organizer...
My problem with this, is that the organizer I created the event on behalf of, does not get the event created on his calendar.
That's the email sent:
Delivered-To: test+JohnDoe1st#woo.io
Received: by 10.202.80.11 with SMTP id e11csp2599297oib;
Wed, 24 Feb 2016 11:28:44 -0800 (PST)
X-Received: by 10.182.165.67 with SMTP id yw3mr33375476obb.45.1456342124175;
Wed, 24 Feb 2016 11:28:44 -0800 (PST)
Return-Path: <bounces+1797494-17b1-test+JohnDoe1st=woo.io#mail.woo.io>
Received: from o1.email.highr.io (o1.email.highr.io. [50.31.35.179])
by mx.google.com with ESMTPS id n205si3660143oib.92.2016.02.24.11.28.43
for <test+JohnDoe1st#woo.io>
(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
Wed, 24 Feb 2016 11:28:44 -0800 (PST)
Received-SPF: pass (google.com: domain of bounces+1797494-17b1-test+JohnDoe1st=woo.io#mail.woo.io designates 50.31.35.179 as permitted sender) client-ip=50.31.35.179;
Authentication-Results: mx.google.com;
spf=pass (google.com: domain of bounces+1797494-17b1-test+JohnDoe1st=woo.io#mail.woo.io designates 50.31.35.179 as permitted sender) smtp.mailfrom=bounces+1797494-17b1-test+JohnDoe1st=woo.io#mail.woo.io;
dkim=pass header.i=#woo.io
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=woo.io;
h=from:reply-to:to:subject:mime-version:content-type; s=s1;
bh=wagu2M/f9bJi3poSZhvX4ST1TCs=; b=0coUojPVzsP3yH5mGPTzVsFS5c7h9
pd7uMlc3WLx+2dciB/2w0gG5BoEIYTzdk68c7GLQWj6XhskmS4CWed9y5dQt2CEy
ei3pmJWxoHNMl2hjGW+4nHPSwM5mcbH8BH0YCwXZBAJ1yzc0ymJSwD4+vQzfhOA0
Skj8s1OFPz2EqA=
Received: by filter0422p1mdw1.sendgrid.net with SMTP id filter0422p1mdw1.25440.56CE046718
2016-02-24 19:28:39.292147439 +0000 UTC
Received: from 10.0.0.3 (dynamic-213-57-67-77.hotnet.net.il [213.57.67.77])
by ismtpd0002p1lon1.sendgrid.net (SG) with ESMTP id UWS8Q1EHSTGlRwEBPWD0Jg
for <test+JohnDoe1st#woo.io>; Wed, 24 Feb 2016 19:28:39.206 +0000 (UTC)
Date: Wed, 24 Feb 2016 19:28:52 +0000 (GMT)
From: "(DevEnv) Woo.io" <test+scheduler#woo.io>
Reply-To: "(DevEnv) Woo.io" <test+scheduler#woo.io>
To: test+JohnDoe1st#woo.io
Message-ID: <1211793890.13.1456342132980.JavaMail.User1#JohnK-Laptop>
Subject: A phone call with John Doe has been scheduled
MIME-Version: 1.0
Content-Type: multipart/mixed;
boundary="----=_Part_12_325908549.1456342132978"
X-SG-EID: eKXc83Aurbu+DQRCT+WAXI9wVN9EN8h4r+iXFZL+oEoeV9DlDScoApg++iQXhvj0VXg9jyy3l1JsyF
PsfdNpdxcM5ze8grHttshgo/s5pOH3DSyhvMx0eioa5nVYxSYH0hO4FSAN+J2/beLbpNQqZNUIe1jo
GAcnhBNsAtYBnw9pDhxr5SW46As/nuflbBvdpkATzhR5NTXgjF0POaXGBJyxRUvOfs1noR0m4IF4D9
0=
X-SG-ID: E59GF+CtKDB+cFOQwHaDXPNahQbunt2rHtUM1rTwltQKUGjmerW2HyowTumyVQQhTgF/leflKriflw
bWodCKpaW63gxumD3qe89wS7l9a+KOifOwoLXTLVFZnXN8+QzO
------=_Part_12_325908549.1456342132978
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: 7bit
Hey John,<br/>
<br/>
Your phone call with John Doe for the Software Engineer position is scheduled for Thu, Feb 25, 2016 at 08:00 (GMT+2).<br/>
<br/>
We've let the candidate know that you will call them at this number 97211111112.<br/>
<br/>
Cheers,<br/>
The WOO Team<img src="http://maillink.highr.io/wf/open?upn=GdV8Hrdq-2BQbZs-2Fm93FPKckJV25NkkcUaolDJXkLlnpBg0Xbct0oKET0-2FnwIfl-2BW7eIwP1p0BhqiEyHB7UrRv7GqRg7jOp-2BAbQ2UPQH8bOgR-2FU-2FYLgxBsp0t-2BhtjHYTwIYSWbbiCB-2BX9fFdgJLwjjGviXI7Cv1G-2BojfLNKLqM716xBEEEOZt-2FmF05l9JwEHcX4yP1PTaZsbx8eeU2Su6yBDIr28ZQtbVkglHvfp-2BNkqyRWTvbCj8zIiCwlLgdBc069-2Bo7RRFPqYxrxciYHJknt2ealaYUMX52-2BceFyyau8EPxjnbU508-2FI2pd8breJeYGh7khtRHOJYDT5J0SQ9ztqBSFTeNARQ1CHhBpcP04zgk-3D" alt="" width="1" height="1" border="0" style="height:1px !important;width:1px !important;border-width:0 !important;margin-top:0 !important;margin-bottom:0 !important;margin-right:0 !important;margin-left:0 !important;padding-top:0 !important;padding-bottom:0 !important;padding-right:0 !important;padding-left:0 !important;"/>
------=_Part_12_325908549.1456342132978
Content-Type: text/calendar; charset=us-ascii
Content-Transfer-Encoding: 7bit
BEGIN:VCALENDAR
PRODID:-//Google Inc//Google Calendar 70.9054//EN
VERSION:2.0
CALSCALE:GREGORIAN
METHOD:REQUEST
BEGIN:VEVENT
DTSTAMP:20160224T192852Z
DTSTART:20160225T060000Z
DTEND:20160225T063000Z
SUMMARY:John Doe <> Highr.io - Interview
ORGANIZER;CN=Woo.io:MAILTO:test+scheduler#woo.io
ATTENDEE;CN=John Doe 1st;PARTSTAT=ACCEPTED;RSVP=TRUE:MAILTO:Johnk#hig
hr.io
ATTENDEE;CN=John Doe;PARTSTAT=NEEDS-ACTION;RSVP=TRUE;ROLE=REQ-PARTICI
PANT:MAILTO:Doe#hotmail.com
UID:20160224T192852Z-1#fe80:0:0:0:9c19:bf77:322f:47e5%eth1
END:VEVENT
END:VCALENDAR
------=_Part_12_325908549.1456342132978--
Any idea why it behaves like that and how to solve this?
The iTIP/iMIP protocol does not cover the scenario of "inviting the organizer" via email (see also Change event description for organizer using VCalendar). So it is really up the the IMIP client to choose to offer or not the ability to "import" that event.
Now it is a common practice to include the ORGANIZER also as an ATTENDEE (typically with a PARTSTAT=ACCEPTED) but I suspect that in your case, it wont be enough.
It seems like what you consider the organizer is more of an ATTENDEE with a ROLE=CHAIR and the ORGANIZER is whatever application did put of the meeting together.
Of course, this means that now, REPLYs will go to your 'special/application' organizer and not to the chair of the meeting, which means that you will have to deal with handling those replies, and resend updated versions of your meeting to the various attendees.

Automated emails from Woocommerce marked as spam. Wrong Return path

All the automated emails sent from woocommerce from my website are marked as spam. Here is the header:
Delivered-To: fontanavideostudios#gmail.com
Received: by 10.64.118.34 with SMTP id kj2csp1351282ieb;
Thu, 2 Apr 2015 05:19:26 -0700 (PDT)
X-Received: by 10.194.176.4 with SMTP id ce4mr94751409wjc.75.1427977166190;
Thu, 02 Apr 2015 05:19:26 -0700 (PDT)
Return-Path: <racebook>
Received: from ns362512.ip-91-121-174.eu ([2001:41d0:1:ef28::1])
by mx.google.com with ESMTP id e5si8490541wjw.70.2015.04.02.05.19.25
for <fontanavideostudios#gmail.com>;
Thu, 02 Apr 2015 05:19:26 -0700 (PDT)
Received-SPF: temperror (google.com: error in processing during lookup of racebook: DNS timeout) client-ip=2001:41d0:1:ef28::1;
Authentication-Results: mx.google.com;
spf=temperror (google.com: error in processing during lookup of racebook: DNS timeout) smtp.mail=racebook;
dkim=temperror (no key for signature) header.i=#
Received: by ns362512.ip-91-121-174.eu (Postfix, from userid 504)
id EA9BA1608B; Thu, 2 Apr 2015 14:16:42 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=racebooking.net;
s=default; t=1427977002;
bh=8Bpk5qKGS/snauZWTEWdgTP8RA8IIyUciiaTtpnN268=;
h=To:Subject:Date:From;
b=uPVvgt52HbS6VIzCMagUSpBDCvF787qIleF13Yw/7E95kuXdVJSdCo5IjbUTmGuBm
TUSe7jiDf4RfGzq2BQJUnFd91RljAVJHxWscY9U/ZFqGU65MjeIIfN7jLa+/k6Aj0/
m2bULvyRjwdU1EInjtl9y3SC593kACANJPR+u8/Y=
To: fontanavideostudios#gmail.com
Subject: Puoi scaricare i files accedendo a questa pagina: https://www.racebooking.net/foto-franciacorta/mio-account/
X-PHP-Originating-Script: 504:class-phpmailer.php
Date: Thu, 2 Apr 2015 12:16:42 +0000
From: Foto Franciacorta <noreply#racebooking.net>
Message-ID: <ddc1208f249c3ad34b96dad0437c49d8#www.racebooking.net>
X-Priority: 3
X-Mailer: PHPMailer 5.2.7 (https://github.com/PHPMailer/PHPMailer/)
MIME-Version: 1.0
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 8bit
The cause is probably that the Return-Path is wrong. Instead of noreply#racebooking.net (correct) it is racebook, (incorrect). How can i fix it? I couldn't find any setting into Woocommerce options to fix the Return Path.
I fixed that by using this plugin which simply copies the "from" email into the Return Path

iCal not parsed in gmail in one of two accounts

I'm trying to generate an email containing an iCal event from my application, I'm testing the email in two google accounts: one from gmail and one from google apps.
When I'm getting the event in gmail ([email1]#gmail.com) the event is rendered like this with no problem:
But when I get it in my google apps account ([email2]#[domain].com) it's not rendered, I don't know if it is being interpreted but it just dont show me the event, it only shows a simple email with an attachment (invite.ics)
This is the email message that is being generated:
Delivered-To: [email2]#[domain].com Received: by 10.205.80.15 with
SMTP id zs15csp100752bkb;
Thu, 7 Mar 2013 17:12:25 -0800 (PST) X-Received: by 10.236.126.202 with SMTP id b50mr351212yhi.25.1362705145168;
Thu, 07 Mar 2013 17:12:25 -0800 (PST) Return-Path: Received: from mail-gh0-f181.google.com
(mail-gh0-f181.google.com [209.85.160.181])
by mx.google.com with ESMTPS id f43si3539773yhk.290.2013.03.07.17.12.24
(version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
Thu, 07 Mar 2013 17:12:25 -0800 (PST) Received-SPF: neutral (google.com: 209.85.160.181 is neither permitted nor denied by best
guess record for domain of app#[domain].com)
client-ip=209.85.160.181; Authentication-Results: mx.google.com;
spf=neutral (google.com: 209.85.160.181 is neither permitted nor denied by best guess record for domain of app#[domain].com)
smtp.mail=app#[domain].com Received: by mail-gh0-f181.google.com
with SMTP id y8so186664ghb.26
for <[email2]#[domain].com>; Thu, 07 Mar 2013 17:12:24 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=google.com; s=20120113;
h=x-received:message-id:mime-version:from:to:date:subject
:content-type:x-gm-message-state;
bh=WkTwznIOK5D42bFC8nOzJjgv3+K9EWlBJWKv1ejbN9w=;
b=n8BuYosOIOzxX28UkvX71UjVR9gFK00+9vixzoImOEvRKSvCimOPf1nvcpZR3AMShv
rl/0ahNmVoDJ0ypjTiqA/fRZazf2M65SWJih/MGJuYmhzpyTpf371Z8NI65sAAGMvB0w
KIaKl3kybyuS1TxysalZ/ZssN1vf2BT9T5Y5vVR+uAzBeAmtxZap733ZEn+Z+UvHQmOL
twu64kvR/6TSWLFZgrtkGdKC8Gcet4CGeXQd/qKg0ZjpFPNXmuDXeqIz6Ftouuu7fFhd
ms30c9l6zaexmpbFCCiZdtuwIfMKFjPuMnqtT6KcucDWmTTgu8LbBqNqdV5icFkrrCM2
LnTQ== X-Received: by 10.236.138.162 with SMTP id a22mr309438yhj.80.1362705144570;
Thu, 07 Mar 2013 17:12:24 -0800 (PST) Return-Path: Received: from escobar5-pc ([181.133.180.140])
by mx.google.com with ESMTPS id w2sm5267588yhh.7.2013.03.07.17.12.22
(version=TLSv1 cipher=RC4-SHA bits=128/128);
Thu, 07 Mar 2013 17:12:23 -0800 (PST) Message-ID: <51393af7.027cec0a.0f2d.ffffa713#mx.google.com> MIME-Version: 1.0
From: "app" To: "user"
<[email2]#[domain].com>, [email1]#gmail.com Date: Thu, 07 Mar
2013 17:12:23 -0800 (PST) Subject: Invitation: Test 9 Content-Type:
multipart/alternative;
boundary=--boundary_0_9e5fb21c-1a19-477c-a576-04176397fb67
X-Gm-Message-State:
ALoCoQmdferSoIzk/zUGmI9SEnioj6H76AOGmK/HVLGAaL29QjhGXVj8Z9VuAewe0N38zdOEVvTH
----boundary_0_9e5fb21c-1a19-477c-a576-04176397fb67 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: base64
TWVldGluZzogVGVzdCA5DQpPcmdhbml6ZXI6IGpzZXNjb2JhckBiaW9hbnl3aGVyZS5j
b20NClN0YXJ0IHRpbWU6IFRodXJzZGF5LCBBcHJpbCA0LCAyMDEzIDE6MDA6MDAgQU0N
CkVuZCB0aW1lOiBUaHVyc2RheSwgQXByaWwgNCwgMjAxMyAyOjAwOjAwIEFNDQoNCkF0
dGVuZGVlczogDQoJLWpzZXNjb2JhckBiaW9hbnl3aGVyZS5jb20NCgktanNlc2NvYmFy
NUBnbWFpbC5jb20NCg0KRGVzY3JpcHRpb246IHNkZmRzZmRzZnMNCkxvY2F0aW9uOiBC
aW9tZWV0aW5ncw0K
----boundary_0_9e5fb21c-1a19-477c-a576-04176397fb67 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: base64
PCFET0NUWVBFIGh0bWwgUFVCTElDICItLy9XM0MvL0RURCBYSFRNTCAxLjAgU3RyaWN0
Ly9FTiIgImh0dHA6Ly93d3cudzMub3JnL1RSL3hodG1sMS9EVEQveGh0bWwxLXN0cmlj
dC5kdGQiPg0KPGh0bWwgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGh0bWwi
Pg0KPGhlYWQ+DQo8bWV0YSBodHRwLWVxdWl2PSJDb250ZW50LVR5cGUiIGNvbnRlbnQ9
InRleHQvaHRtbDsgY2hhcnNldD11dGYtOCIgLz4NCjx0aXRsZT5JbnZpdGF0aW9uOiBU
ZXN0IDk8L3RpdGxlPg0KPC9oZWFkPg0KPGJvZHk+DQo8cD48c3Ryb25nPk1lZXRpbmc6
PC9zdHJvbmc+IFRlc3QgOTwvcD4NCjxwPjxzdHJvbmc+T3JnYW5pemVyOjwvc3Ryb25n
PiBqc2VzY29iYXJAYmlvYW55d2hlcmUuY29tPC9wPg0KPHA+PHN0cm9uZz5TdGFydCB0
aW1lOjwvc3Ryb25nPiBUaHVyc2RheSwgQXByaWwgNCwgMjAxMyAxOjAwOjAwIEFNPC9w
Pg0KPHA+PHN0cm9uZz5FbmQgdGltZTo8L3N0cm9uZz4gVGh1cnNkYXksIEFwcmlsIDQs
IDIwMTMgMjowMDowMCBBTTwvcD4NCjxici8+DQo8cD48c3Ryb25nPkF0dGVuZGVlczo8
L3N0cm9uZz4gPC9wPjx1bD4NCjxsaT5qc2VzY29iYXJAYmlvYW55d2hlcmUuY29tPC9s
aT4NCjxsaT5qc2VzY29iYXI1QGdtYWlsLmNvbTwvbGk+DQo8L3VsPjxici8+DQo8cD48
c3Ryb25nPkRlc2NyaXB0aW9uOjwvc3Ryb25nPiBzZGZkc2Zkc2ZzPC9wPg0KPHA+PHN0
cm9uZz5Mb2NhdGlvbjo8L3N0cm9uZz4gQmlvbWVldGluZ3M8L3A+DQo8L2JvZHk+DQo8
L2h0bWw+DQo=
----boundary_0_9e5fb21c-1a19-477c-a576-04176397fb67 Content-Type: text/calendar; method=REQUEST; charset=UTF-8
Content-Transfer-Encoding: 7bit
BEGIN:VCALENDAR PRODID:-//Google Inc//Google Calendar 70.9054//EN
VERSION:2.0 CALSCALE:GREGORIAN METHOD:REQUEST BEGIN:VEVENT
DTSTART:20130404T010000Z DTEND:20130404T020000Z
DTSTAMP:20130308T011216Z ORGANIZER;mailto:[Email2]#[domain].com
UID:event_36#[domain].com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=TRUE;X-NUM-GUESTS=0:mailto:[email2]#[domain].com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=TRUE;X-NUM-GUESTS=0:mailto:[email1]#gmail.com
CREATED:20130308T011154Z DESCRIPTION:sdfdsfdsfs
LAST-MODIFIED:20130308T011154Z LOCATION:Somewhere SEQUENCE:0
STATUS:CONFIRMED SUMMARY:Test 9 TRANSP:OPAQUE END:VEVENT END:VCALENDAR
----boundary_0_9e5fb21c-1a19-477c-a576-04176397fb67--
Well, do you get any invitation to display correctly in this second account (e.g. an invitation from the first account or from MSFT Outlook) ?
The above message looks just fine but may want to try the following MIME structure.
content-type:multipart/mixed
content-type:multipart/alternative
essentially the 3 mime parts that you already have above
content-type:text/calendar
Content-Disposition: attachment; filename="invite.ics"
the ics invitation (again)
I changed METHOD:REQUEST for METHOD:PUBLISH in the ical text and now it shows me the event in both accounts, it doesn't get automatically added to google calendar but at least it's showing in gmail message

Resources