<EDIT> Skip to SOLVED post later on page 1...
I was holding off until seeing new features in v8.1, but other than the much needed "Don't delete email from server", I'm still not sure how to handle several issues.
Return-Path for many users/many tenants is a big issue.
Email that are sent all appear to come from the server when viewed by the recipient, not an individual's name.
So, seeing that this is not improved in 8.1, whats the currently recommended email app to integrate with?
thx
[SOLVED] Tenant Email Solution. stuck on SMTP Header fields
[SOLVED] Tenant Email Solution. stuck on SMTP Header fields
Last edited by Jaymer on Wed Mar 07, 2018 9:33 pm, edited 3 times in total.
Click Here to see a collection of my tips & hacks on this forum. Or search for "JaymerTip" in the search bar at the top.
Jaymer
Aware Programming & Consulting - Tampa FL
Jaymer
Aware Programming & Consulting - Tampa FL
-
- Posts: 7525
- Joined: Sun Apr 24, 2005 12:36 am
- Contact:
Re: Multi-Tenant Email Solution. Is v8.1 solving this issue
Code: Select all
Return-Path for many users/many tenants is a big issue.
Code: Select all
Email that are sent all appear to come from the server when viewed by the recipient, not an individual's name.
Aware IM Support Team
Re: Multi-Tenant Email Solution. Is v8.1 solving this issue
In Notification: OutboundEmail, I have the following:aware_support wrote:Again what are you talking about? There is FromAddress field in a notification that you can controlCode: Select all
Jaymer Wrote: Email that are sent all appear to come from the server when viewed by the recipient, not an individual's name.
Attribute: FromAddress Value: '[email protected]'
Attribute: EHeaders Value: Return-Path: [email protected]
#From: eHeader#
From_Email: [email protected]
I have a Lead BO, intelligent EMAIL. Radio Button says to use SystemSettings
I am not using Outbound server info in SystemSettings - all fields are empty.
I created a OutgoingEmailAccount BO by right-clicking on my BS. I have entered the following in a single instance in that BO: This sends the email: Email appears in Yahoo mail client looking like this: Email header is in the next post: (CONTINUED)
Last edited by Jaymer on Sat Nov 24, 2018 7:17 pm, edited 1 time in total.
Click Here to see a collection of my tips & hacks on this forum. Or search for "JaymerTip" in the search bar at the top.
Jaymer
Aware Programming & Consulting - Tampa FL
Jaymer
Aware Programming & Consulting - Tampa FL
Re: Multi-Tenant Email Solution. Is v8.1 solving this issue
Email header as viewed from yahoo:
You can see 3 Return-Paths
If my EHeader return path REPLACED the prior ones, this would work.
You can also see how my "From" from EHeader did not make it into the header correctly.
Somehow it got changed to "X-Google-Orig-From:" so it doesn't display correctly.
Also, for the many people who are not aware of EHeaders, then they would use the FromAddress field in the notification. And you can see that it won't work either. It also got mapped to: X-Google-Orig-From:
So there are basically 2 problems:
1) a received email looks like it comes from a "system" account - not an individual (from)
2) a reply cannot be set to go to an individual in an organization (return-path)
You can see 3 Return-Paths
If my EHeader return path REPLACED the prior ones, this would work.
You can also see how my "From" from EHeader did not make it into the header correctly.
Somehow it got changed to "X-Google-Orig-From:" so it doesn't display correctly.
Also, for the many people who are not aware of EHeaders, then they would use the FromAddress field in the notification. And you can see that it won't work either. It also got mapped to: X-Google-Orig-From:
So there are basically 2 problems:
1) a received email looks like it comes from a "system" account - not an individual (from)
2) a reply cannot be set to go to an individual in an organization (return-path)
Click Here to see a collection of my tips & hacks on this forum. Or search for "JaymerTip" in the search bar at the top.
Jaymer
Aware Programming & Consulting - Tampa FL
Jaymer
Aware Programming & Consulting - Tampa FL
Re: Multi-Tenant Email Solution. Is v8.1 solving this issue
(bump for the reply to support)
Click Here to see a collection of my tips & hacks on this forum. Or search for "JaymerTip" in the search bar at the top.
Jaymer
Aware Programming & Consulting - Tampa FL
Jaymer
Aware Programming & Consulting - Tampa FL
Re: Multi-Tenant Email Solution. stuck on SMTP Header field
Question, why are you setting this in eHeader? What's the purpose? (not being rude, I'm curious)
Value: Return-Path: [email protected]#From: eHeader#From_Email: [email protected]
Why not just set the From Address as <<LoggedInRegularUser.EmailAddress>> ?
FYI - we set eHeaders to track opens and clicks in SendGrid, putting in a few extra fields:
Value: Return-Path: [email protected]#From: eHeader#From_Email: [email protected]
Why not just set the From Address as <<LoggedInRegularUser.EmailAddress>> ?
FYI - we set eHeaders to track opens and clicks in SendGrid, putting in a few extra fields:
Code: Select all
X-SMTPAPI:{<<SystemSettings.Apos>>unique_args<<SystemSettings.Apos>>:{<<SystemSettings.Apos>>FZMID<<SystemSettings.Apos>>:<<SystemSettings.Apos>><<CommHistory.ID>><<SystemSettings.Apos>>,<<SystemSettings.Apos>>BSVName<<SystemSettings.Apos>>:<<SystemSettings.Apos>><<SystemSettings.BusName>><<SystemSettings.Apos>>}}
Rod. Aware 8.6 (latest build), Developer Edition, on OS Linux (Ubuntu) using GUI hosted on AWS EC2, MYSQL on AWS RDS
Re: Multi-Tenant Email Solution. stuck on SMTP Header field
thanks so much for the reply.RLJB wrote:Question, why are you setting this in eHeader? What's the purpose? (not being rude, I'm curious)
Because I can't get From (the SMTP header field) or From-Address to work.
There are 4 "From-Address" fields in AIM (that I can see):
1) System Settings - I'm not using this one
2) Email Settings in the Intelligent BO, Communications property - not using either
3) OutgoingEmailNotification - init'd to "[email protected]"
4) OutgoingEmailAccount BO - init'd to "[email protected]"
The only one it inserted is marked below in RED. TRY#1
So I did another test and removed #3 above, so it had to use the FROM ADDRESS in #4 above. Which it did. Its also marked below also in TRY#2.
PROBLEM IS, it still doesn't appear in the email client to be "COMING FROM" the from address. As shown here: And as to the eHeaders, because I want a reply to go to the AIM user, not to the "system" email account.
2 Email headers:
TRY # 1
Original-Recipient: rfc822;[email protected]
X-Received: by 10.129.200.9 with SMTP id n9mr14980054ywi.474.1520440384521; Wed, 07 Mar 2018 08:33:04 -0800 (PST)
Return-Path: <[email protected]>
Return-Path: <[email protected]>
Return-Path: <[email protected]>
Authentication-Results: pv33p00im-spfmilter006.aa.com; spf=pass (pv33p00im-spfmilter006.aa.com: domain of [email protected] designates 209.85.161.174 as permitted sender) smtp.mailfrom=[email protected]
Authentication-Results: pv33p00im-dkimmilter013.aa.com; dkim=pass (2048-bit key) header.d=gmail.com [email protected] header.b=CVybcjwl
Message-Id: <1005276442.1211.1520440383029.JavaMail.JHolcombe@OrderLookUp>
X-Google-Original-From: [email protected]
Received-Spf: pass (pv33p00im-spfmilter006.aa.com: domain of [email protected] designates 209.85.161.174 as permitted sender) receiver=pv33p00im-spfmilter006.aa.com; client-ip=209.85.161.174; helo=mail-yw0-f174.google.com; envelope-from=[email protected]
Received: from pv33p00im-smtpin035.aa.com ([17.142.180.61]) by ms01521.mac.com (Oracle Communications Messaging Server 8.0.1.3.20170906 64bit (built Sep 6 2017)) with ESMTP id <[email protected]> for [email protected]; Wed, 07 Mar 2018 16:33:06 +0000 (GMT)
Received: from mail-yw0-f174.google.com (mail-yw0-f174.google.com [209.85.161.174]) by pv33p00im-smtpin035.aa.com (Oracle Communications Messaging Server 8.0.1.2.20170607 64bit (built Jun 7 2017)) with ESMTPS id <[email protected]> for [email protected] (ORCPT [email protected]); Wed, 07 Mar 2018 16:33:06 +0000 (GMT)
Received: by mail-yw0-f174.google.com with SMTP id l200so926655ywb.0 for <[email protected]>; Wed, 07 Mar 2018 08:33:05 -0800 (PST)
Received: from OrderLookUp.aa.com ([52.70.204.127]) by smtp.gmail.com with ESMTPSA id k130sm7058241ywc.68.2018.03.07.08.33.03 for <[email protected]>
TRY # 2
Original-Recipient: rfc822;[email protected]
X-Received: by 2002:a25:8609:: with SMTP id y9-v6mr14233858ybk.298.1520441248013; Wed, 07 Mar 2018 08:47:28 -0800 (PST)
Return-Path: <[email protected]>
Return-Path: <[email protected]>
Return-Path: <[email protected]>
Authentication-Results: mr21p00im-spfmilter005.aa.com; spf=pass (mr21p00im-spfmilter005.aa.com: domain of [email protected] designates 209.85.213.182 as permitted sender) smtp.mailfrom=[email protected]
Message-Id: <334182549.1217.1520441246770.JavaMail.JHolcombe@OrderLookUp>
X-Google-Original-From: [email protected]
Received-Spf: pass (mr21p00im-spfmilter005.aa.com: domain of [email protected] designates 209.85.213.182 as permitted sender) receiver=mr21p00im-spfmilter005.aa.com; client-ip=209.85.213.182; helo=mail-yb0-f182.google.com; envelope-from=[email protected]
Received: from mr11p00im-smtpin002.mac.com ([17.110.69.146]) by ms01521.mac.com (Oracle Communications Messaging Server 8.0.1.3.20170906 64bit (built Sep 6 2017)) with ESMTP id <[email protected]> for [email protected]; Wed, 07 Mar 2018 16:47:29 +0000 (GMT)
Received: from mail-yb0-f182.google.com (mail-yb0-f182.google.com [209.85.213.182]) by mr11p00im-smtpin002.aa.com (Oracle Communications Messaging Server 8.0.1.2.20170607 64bit (built Jun 7 2017)) with ESMTPS id <[email protected]> for [email protected] (ORCPT [email protected]); Wed, 07 Mar 2018 16:47:29 +0000 (GMT)
Received: by mail-yb0-f182.google.com with SMTP id j62-v6so953824ybc.12 for <[email protected]>; Wed, 07 Mar 2018 08:47:28 -0800 (PST)
Received: from OrderLookUp.aa.com ([52.70.204.127]) by smtp.gmail.com with ESMTPSA id c124sm3464042ywb.54.2018.03.07.08.47.27 for <[email protected]> (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 07 Mar 2018 08:47:27 -0800 (PST)
Click Here to see a collection of my tips & hacks on this forum. Or search for "JaymerTip" in the search bar at the top.
Jaymer
Aware Programming & Consulting - Tampa FL
Jaymer
Aware Programming & Consulting - Tampa FL
Re: [SOLVED] Tenant Email Solution. stuck on SMTP Header fi
Until last week, there was only 1 post on the entire forum about EHeaders. A new field you can manually add into the OutboundEmail Notification.
No real documentation with valid headers were to be found.
I started exploring this trying to get an email to appear in the mail client in a "friendly" way and not just this: Now, I have it looking like this: Since I had to search the web for EHeaders ideas, I basically used incorrect info.
I was using header fields FROM & FROM-ADDRESS, as well as RETURN-PATH - all incorrect.
I really needed to do 2 things:
In the OutgoingEmailAccount BO record, I used this value for FROM ADDRESS:
BullsAI CRM <[email protected]>
In the EHeaders field, I used this: OF COURSE, this should be dynamic, its hardcoded for testing. You'd probably stuff your LIRU username & email address into this field before sending the email.
No real documentation with valid headers were to be found.
I started exploring this trying to get an email to appear in the mail client in a "friendly" way and not just this: Now, I have it looking like this: Since I had to search the web for EHeaders ideas, I basically used incorrect info.
I was using header fields FROM & FROM-ADDRESS, as well as RETURN-PATH - all incorrect.
I really needed to do 2 things:
In the OutgoingEmailAccount BO record, I used this value for FROM ADDRESS:
BullsAI CRM <[email protected]>
In the EHeaders field, I used this: OF COURSE, this should be dynamic, its hardcoded for testing. You'd probably stuff your LIRU username & email address into this field before sending the email.
Click Here to see a collection of my tips & hacks on this forum. Or search for "JaymerTip" in the search bar at the top.
Jaymer
Aware Programming & Consulting - Tampa FL
Jaymer
Aware Programming & Consulting - Tampa FL
Re: [SOLVED] Tenant Email Solution. stuck on SMTP Header fi
Like to say Thanks Jaymer for spending time and sharing with us.
From,
Himanshu Jain
AwareIM Consultant (since version 4.0)
OS: Windows 10.0, Mac
DB: MYSQL, MSSQL
Himanshu Jain
AwareIM Consultant (since version 4.0)
OS: Windows 10.0, Mac
DB: MYSQL, MSSQL