when a client raises cases and cc's third-party vendors (who do not have access to our support portal) and when they attach attachments to the case or when we respond via comments with attachments attached to the case, the cc'd people and the case raiser do not get these attachments in the email which sends out our comments. The only workaround seems to be to move the conversation to emails but the older attachments need to be re-attached to the email.Is it possible "include" attachments that we attach to a case in the emails sent out when we add a case comment? Or is there any other workarounds that you can suggest?
Related
Sometimes I feel like I don't understand Salesforce at all.
My company uses Salesforce and Marketing Cloud. I'm the one who sends emails in MC, but I'm having trouble investigating the cause of some undelivered emails. We have a handful of Salesforce campaigns created specifically to hold contacts for a series of mass emails. I added the Salesforce campaigns to the audience list when sending the latest email. After accounting for duplicates and contacts without email addresses, there were approximately 40,000 that would receive the email. But only 32,000 actually sent.
Some of these email addresses were unsubscribed, but many were marked as Active or not in the All Subscribers list in Marketing Cloud. I've looked through the reports and can't seem to find one that looks like it would shed some light on this issue. And the Salesforce Help site is not helpful.
Why would active subscribers not receive emails? Can I even send emails to someone who is opted into email in Salesforce but who's not in the All Subscribers list in Marketing Cloud?
There are multiple reason why a subscriber is not receiving an email. Well, assuming that the code/email template itself is okay and is not causing any error state at the parsing moment, the first thing to check if as you mention, the unsubscribed or bounce/held state.
Othe simply reason could it be if the subscriber is unsubscribed now or claimed your email as spam.
Finally, also consider there should be certain IPs to be whitelisted to avoid a deliverabilty issues among others.
You can find more details on this logic here
My organization has begun adding obnoxious warnings to the subject and body of any email that arrives from an external address. My organization allows email forwarding, and I forward to gmail. I would like to have the extra text automatically removed before I see them in gmail. This would not violate the policies at my organization. Some ideas I had:
(1) One option would be to set up a gmail filter that edits the message. This feature does not seem to exist.
(2) Another option would be to customize the display so that this particular text is never shown on the screen. Again, there seems to be no way to do this.
(3) I wrote a script in Google Apps to grab to the content of each offending email and send an edited version to myself, but there is no way to make the "from" field show the original sender (perhaps with good reason). I can put that information in "reply to" but the gmail client doesn't show it nicely. This removes the annoying extra text at the cost of the ability to easily see who sent the email. The core of it is this call:
GmailApp.sendEmail("<my_email_address>",newSubject,newBody,{
attachments: message.getAttachments(),
bcc: message.getBcc(),
cc: message.getCc(),
htmlBody: newBody,
replyTo: message.getFrom(),
});
Any ideas? This is becoming a big problem as the "nanny state" approaches, so I'm sure others will appreciate your solution.
Issue
It unfortunately seems that at the day of this post, there is no way of edditing a forwarded email with the Gmail API. Check the documentation to see what you can actually do with the Gmail API in regards to forwarding email addresses.
Workaround
Despite it is not possible to edit a forwarding email address, in your case you are interested in:
Edit the body and subject of the email address.
Preserve the information of who the sender was.
Therefore what you could do is:
Get the email address you want to edit. Get the body, subject and information about who was sending it and store that.
Create a new message where you edit the message you just got and write on the subject the from field that was in the message you just got.
Send that created message to your desired recipient just like it was a forwarding email.
I hope this has helped you. Let me know if you need anything else or if you did not understood something. :)
Apps Script
You can insert messages into your inbox with their original "From" field but a modified body.
Note: Inserting is different from sending because the message is created on the inbox with less validation than sending.
To use this on Apps Script, take a look at the Advanced Gmail Service.
Custom Application
Another idea on how to do this is to use a custom application (in any language you'd prefer) that:
scans your company inbox with IMAP
manipulates the message body to remove the artifacts you don't want
insert manipulated message into your Gmail inbox with the Gmail API
I'm using sp_send_dbmail to send a "welcome" email to employees' newly provisioned mailboxes. The content looks good in both Outlook 2016 and in Office365.
There is a difference from the source email I'm replicating, however, in the how the attachments appear. The source email does not show a paperclip icon or attachments in either system. The email sent with sp_send_dbmail shows the paperclip in both and lists attachments in Office365 (but not in Outlook).
I copied the HTML from the source email in Outlook and had to change the src tags to get it to work:
<img ... src="cid:image009.png#01D42E2D.8043A5B0">
This wouldn't show the images until I removed the #01D42E2D.8043A5B0. I haven't been able to find any explanation of what that part of the tag does or how to use it properly.
Is there a way to make the message sent with sp_send_dbmail appear exactly as the original does?
Edit to add:
Further testing finds that TypeApp (an Android mail client) doesn't render the images from sp_send_dbmail, but it does display the source email correctly.
I realize that email clients won't behave consistently, but why can't I make the email I send behave like the other?
A possible workaround is to use SendGrid email. It might work differently with embedded images. Not sure.
In a previous project I hit a lot of various problems with our internal Exchange server, so I just went outside to SendGrid, which worked very well. They have a free tier.
My GAE app sends email, and I followed Jeff Atwood's excellent article to improve the likelihood of email delivery.
The first two steps are really easy, but setting up a Sender ID record is more challenging. The article provides a link to a "Wizard" to help do this, but I don't know the answer to many of the questions in the wizard.
I use Google Apps for email so I'm thinking the Sender ID record should be the same for many other people in my situation (Google Apps and GAE users).
Can anyone point me to a Sender ID record for this?
EDIT:
This page explains how to set the SPF and SenderID record for Amazon SES, and gives the following TXT record for SPF:
v=spf1 include:amazonses.com -all
and the following TXT record for SenderID:
spf2.0/pra include:amazonses.com -all
Leontx's answer appears to give an SPF record and not a SenderID record.
Also, when I look at the headers of the email I send with GAE, there are notes saying that SPF authentication passes even though I haven't added either of the above TXT records to my domain. There is no info in the headers about SenderID.
I'm still confused about this, but I will now be using Amazon SES to send email. It is really cheap and it seems that Amazon takes a lot more care than Google to help make sure that email gets delivered.
Here's the TXT record I had to create to get SenderID to pass:
Host: #
Text value: v=spf1 include:_spf.google.com ~all
But I had to get both SenderID and DKIM passing to get mail into Hotmail's inbox. To get DKIM to pass I had to create a custom domain for our GAE app that matched the domain of the email's From address. Then I had enable DKIM through that domain's Google Apps account. Then it finally worked.
GAE mail (I use Python) does not give any feedback when you send mail. To receive feedback you have to use another service /API. I use Amazon SES in my applications.
Setup:
When a user does email-to-case the created by field is an automated case user.
Questions:
How do I detect if it was by outlook?
I need to get the orignal sender. I am trying to get the header of the email but I cannot get it for Outlook... Any ideas on how to get the original sender's email or how to get the header?
Thanks-
El Noobre
With email to case you're pretty limited, and direct access to the header isn't possible. But you can get around this if you create your own inbound email handler, which has methods to access the headers. If you google around a bit you can find some good tutorials.