Adding gmail quick actions to email (via phpmailer) - php

So, I am trying to add a go-to-action button/label for emails for gmail customers in their inbox (see https://developers.google.com/gmail/actions/reference/go-to-action).
The email is sent via phpMailer.
I have successfully tried the example implementation for the view action within scripts.google.com. Unfortunately the example code won´t work for any email I am trying to send via phpMailer.
So far, I have checked the email markup successfully at https://www.google.com/webmasters/markup-tester/ without any errors.
After viewing the original sent email files I only recognized that the email is sent as text/plain and as text/html. Does anyone have the same issues? Any suggestions what might be wrong? Thanks in advance!

Related

Emails with specific links in its body won't delivered

I have a wordpress website, I sent a newsletters email to 88 subscriber one time, all the 88 emails delivered well. After that immediately I was unable to send any email contains cgees.com link in the email body.
If I send any email with any links inside without mentioning cgees.com/...., all emails reach their destination, but when including cgees.com/... they just don't reach although it say " sent ".
I checked the spam folders and no emails there, tried to send to lot of domains ( yahoo, hotmail, gmail, and other domains ) and no email delivered at all, I also tried to send email directly from website, outlook and webmail and all of them say " sent " but no emails delivered.
I tried to send an email contains cgees.com from my personal hotmail email and the email delivered normally. its only happening when I try to send from my domain email addresses.
Can any body give me a hope solving this issue?
You can use a tool like MXTool.com to check about your domain to see if it has any issues. As for emails not reaching there is a paid service like ReturnPath that can let you know what went wrong where.
Hope that the help you needed.
Cheers

read forwarded emails header and body in php

In my mail box, I got bounced emails which are forwarded from other server.
When I check show source from mail application, it gives me all custom headers which I want.
So I want to read original source to get all headers.
I checked out imap_fetchheader, imap_body etc but it did'nt worked out for me.
Is there a way to get text of show original source of email using code?

How to know the recipients received mails and reading mails

In my project I have to send an email. So far it is working properly. But I need to know how many recipients have received email and how many of them have read it.
http://kb.mozillazine.org/Figuring_out_whether_the_recipient_read_your_message
Basic jist of it is send a very small image. If the user downloads it and the server logs it, you've just confirmed that they've at least opened the message

Swiftmailer sending just one email

I have a form which sends the forms contents to an email address, but I now also want to send a response to the email address filled in the form, I tried many different things but only one email gets sent either the response to the email address in the form or the form contents to me.
I'm using swiftmailer to send emails.
Any help is much appreciated.
Regards
I think your problem is sending multiple emails with switmailer.see this link http://swiftmailer.org/docs/sending.html#sending-emails-in-batch. It deals with sending batch mails.

Php Mail() email sent to Comcast.net Address POP3ed to Outlook not displaying HTML Format

This is sort of a complex issue, hopefully you can help.
I am using php mail() to send an HTML formatted email of blog content (an "email to a friend" option sends post content to a user supplied email address).
I am having an issue with Comcast.net email addresses.
The HTML formatted email comes through correctly when viewed on Comcast.com's internet mail, but when POP3ing it to outlook, the html format is stripped and the user gets only the html code.
So, when an HTML formatted email is sent to a comcast.net address and then pulled to outlook via POP3 the HTML format is stripped and only displays the html code.
One interesting thing to note it that when viewing the email on Comcast.com's mail viewer the from line is present, but after being pulled into Outlook the from line is blank.
I have tested this with other accounts, gmail, aol, yahoo, and these all POP3 to outlook correctly, it is specific to Comcast.
Anyone have any ideas why this would be happening?
[UPDATE]
I removed the "\r" from the header information (as suggested here) and it corrected the format issue
Can anyone shed light on this?
Thanks!
I removed the "\r" from the header information (as suggested here) and it corrected the format issue.
Hope this helps everyone.

Categories