-
ChatterFeed
-
0Best Answers
-
0Likes Received
-
0Likes Given
-
4Questions
-
0Replies
Gmail app and SF email server duplicate records & emails not received issues
1. I've develped an Apex class that is parsing and extracting data from emails from different sources, such as Trulia, Zillow, HotPads, Yelp, DirectLine, etc., forwarded via Gmail app to SF email server. For new/unique lead emails the class creates Lead records . The problem is each email received results in creating from 1 to 8 duplicate records and the relevant debug logs. When I send my test email directly to the SF alias there is only one debug log created. I've created a duplicate matching rule and even installed a trigger to prevent duplicates. This helped for emails from 2 sources, but not for others. I understand that a workaround may be deleting the duplicates periodically on schedule, but can anybody suggest a real-time solution?
Is it a system problem? My guess is SF email server is not a match to Gmail server and cannot reply with email received in time, so Gmail keeps re-sending emails and SF eventually process the whole batch of the same emails accumulated in the queue without blocking the duplicates.
2. Another issue is only for DirectLine emails that are not received by SF emal server at all, both via Gmail app and directly (no debug logs created). The DirectLine domain is in the allowed list.
Has anybody encountered the above issues?
Thank you!
Thank you!
- Eugene Korsunsky
- May 28, 2016
- Like
- 0
- Continue reading or reply
Extracting data from email having @text tags
I'm trying to capture name and phone number from Trulia lead email that has recently started using encoding I don't understand.
In Trulia email the data looks as follows:
An Dxxxxg |
a.dxxxxg@me.com* |
(XXX) XXX-XXXX |
When I click forward in outlook it looks:
An Dxxxxg |
@texta.dxxxxg@me.com* |
@text(xxx) xxx-xxxx |
When I use email.plainTextBody the printout shows the following keywords with blank space after them:
From:
Email:
Phone:
Can anybody please help with the code to capture the data?
Thank you!
- Eugene Korsunsky
- May 28, 2016
- Like
- 0
- Continue reading or reply
Parsing emails to extrat data for new leads
Thank you!
_______________________________
From Trulia
Hi rentals@int ,
A new renter is interested in your listing at 4XX Norwood Cir. Check out the details below.
From: Anxxd xxxg
Email: anxxx@hotmail.com*
Phone: (408) 416-9XX9
Message: I am interested in this rental and would like to schedule a viewing. Please let me know when this would be possible.
From HOTPADS
Mhlle contacted you about Delightful Cambrian 3 Bed 2 Bath Home.
From: Mhlle Kxx<mlsxxx88@gmail.com>
Phone: 40839824XX
I'm interested in XXX Frxxnela Drive, San Jose, CA 95124. Please contact me with more information!
from Zillow
vxxx gyyy says:
" 27XX Massachusetts Ave, Redwood City, CA 94061 HI. we are moving from NY to Menlo Park in July. Is this place available to start from July - we are looking for a 1 yr lease. You can reach me at: (212) 5XX-0000 Contacted via Zillow.com"
Respond within 10 minutes for best results.
vaXXr@hotmail.com
212.52XX 0000
this contact on Zillow.
- Eugene Korsunsky
- April 15, 2016
- Like
- 0
- Continue reading or reply
Several home pages as custom tabs in one app
- Eugene Korsunsky
- March 16, 2016
- Like
- 0
- Continue reading or reply