I am now able to send e-mail messages using the apex_mail.send package. Unfortunately, all e-mail messages, go to spam folder. The emails have subject and body text too.
Is there anything I should add in the security?
Related
I have a unique issue. Whenever i sent email to my office account they open fine in the email client. However any email sent to Gmail has multiple issues. The CSS styling gets striped and the PDF attachments get corrupted.
I am sending my mails from the NopCommerce system and dont see any known issue of the kind in the forum.
I have to create email tracking system, but the problem is that when the sender opens an email this is counted as an opening by the recipient.
When I send an email through Polymail (or some other tools for tracking emails), then in the 'sent' folder I have an email without a tracking pixel, but the recipients of this email have the pixel and at the same time everyone have different code inside (I think, to determine which of the recipients opened the email).
How is this possible? The sender and the recipients have different contents of the same email. Can this be implemented using smtp / imap / gmail-api?
For standard IMAP/SMTP setups (specifically: not GMail), the message is submitted twice, once to SMTP to be sent, and again to IMAP to be placed in the Sent mailbox.
There is no requirement that these be the same: in fact, in normal use, the BCC header, for example, is submitted to IMAP, but not SMTP.
GMail, and a few others, while trying to be helpful and save bandwidth, do the copy automatically, but make it impossible to supply different versions. (Unless you want to try to find the duplicates and delete them out of band).
Current Email protocols don't send any kind of ACK to the Sender when mail is opened. So you need to put some kind of analytic tool inside the mail contents to keep the track of it.
Some suggested methods and widely used tool is Bananatag.
Alternatively, you can use custom Google Analytics for the same. Refer here https://dyn.com/blog/tracking-email-opens-via-google-analytics/
I am using sendgrid to send out emails. My Django code for sending emails looks something like this
client_message = EmailMessage(
'Subject',
'Message Content',
'Name <support#domain.org>',
[client_email],
['support#domain.org],
)
client_message.content_subtype = "html"
client_message.attach('MyFile.pdf', file, 'application/pdf')
client_message.send(fail_silently=False)
I have the content_subtype as HTML so that I can do page breaks between paragraphs.
I am sending out 2 emails at a time and am sending a very low volume, < 100 / day. I just began sending emails. My emails are landing in Gmail spam inbox and not getting delivered at all into Yahoo / Comcast. I have already whitelisted my own domain's DNS using SendGrid.
What is best policy for my email content so get them delivered? I have heard
Removing all hyperlinks in my message
Putting a physical mailing address in the footer of the email
Putting the words "reply STOP to unsubscribe" in the email footer
Changing the content type of my email from HTML
It's important that I attach the files when sending the email. What else can I do to make sure my emails go through?
I had just verified my domain a few hours before sending the ultimately deferred emails. I believe the answer is that my domain verification was still being processed, and my emails landed in the the recipients inbox 2 days later. For future people having this problem, if possible see if the problem fixes itself after a few days.
Litmus.com is also a fantastic resource to check your content and security settings.
I have set up several email accounts on my vps hosting but I can't receive any emails that are send via php from another hosting. Everything works fine when I send emails from gmail for example, I receive them without a trouble. Does anyone know any reason why emails sent from php can't be received?
Try using phpmailer, it's a good mailing class which automatically sets well defined headers so that the mail is more likely to not land in the spam folder.
Sounds like a spam filter issue. Have you set up a proper Sender ID/SPF framework in your domain name service so that the host appears to be a valid MTA for this domain? Look here for a detailed explanation of Sender ID/SPF/DKIM, etc.
Check your spam folder.
GMail is able to differenciate if a mail has been sent from outlook for example or an automated application. (I dont know how, but they can). If i send an email from my work account to GMAil works, if its a web app or executable with the same email adress, it ends up on the spam folder.
I am using Thunderbird mail client for gmail accounts. Its works fine, enjoying functionality too. I have problem with this mail client. In client inbox it has a list of unread mails and once viewed it becomes read mail. That's not happening on the gmail servers. If I login to gmail I'm still finding unread mails which I read in Thunderbird.
Please help me how to solve this problem. Is there any option or settings or add-ons which change status of mail when I read it?
Sounds like you setup Thunderbird to use POP to get your email instead of using IMAP. If you go into Gmail and go Settings -> Forwarding and POP/IMAP there is instructions on how to setup an external mail client, like Thunderbird, to use IMAP to get your emails. Just enable IMAP access, and click the link for configuration instructions. There is a section explaining how to setup IMAP access in Thunderbird. In using IMAP, as you read email in Thunderbird, it will be marked as read in Gmail.
Most email services these days allow IMAP access through external clients. POP is good for just getting messages quickly, but IMAP allows the client to pass data back, as well (at least in the case of Gmail) as pull over folders, calendars and notes to your client.