I have to generate an ics file and upload to AWS S3 and use the S3 url(https://xyz.s3.aws.com/invite.ics) in the email as a hyperlink to download the ics file. The hyperlink in the generated email is not working in outlook mobile app(saying - 'Unable to launch event'), whereas the hyperlink is working in desktop app. In desktop if I click on the hyperlink, it open the browser and download the ics file from the S3.
ical file content
BEGIN:VCALENDAR
VERSION:2.0
PRODID:-//sebbo.net//ical-generator//EN
NAME:my first iCal
X-WR-CALNAME:my first iCal
BEGIN:VEVENT
UID:m8xj#gmail.com
SEQUENCE:0
DTSTAMP:20200528T070711Z
DTSTART:20200527T191500Z
DTEND:20200528T070711Z
SUMMARY:Appoinment
LOCATION:7 Hills
DESCRIPTION:Calendar event test. Refer email for more details
ORGANIZER;CN="Team MCE":mailto:noreply#message.com
END:VEVENT
END:VCALENDAR
Did you set the content-type to text/calendar as per https://www.rfc-editor.org/rfc/rfc5545#section-8.1 when uploading to S3 ?
Related
I'm using Drupal 9 along with Mime Mail, PHP Mailer and Webform to handle my forms. I'm trying to send an attachement file, instead of having it in a link.
In my handler, I've checked "Include files as attachment", and my file is well checked in Included email values/markup section.
How to make it work ?
I've tried to check the configuration and read a lot of documentation.
I would like to run a GIPHY in an outlook email, which automatically starts when the user opens the email in their inbox.
Currently this is not possible in outlook 2013 as Microsoft disabled the functionality (They now use word as a text editor which does not read HTML). Users can view the email through a web browser but I don't want to have to ask them that!
My question is, is there an alternative to a GIPHY which I can run in an outlook email so that I can get a moving image, without the user viewing through the web browser?
Microsoft Outlook isn't capable of displaying animated GIF files. It doesn't work with web video either.
My suggestion is to set up your animated image so the first frame conveys the message you're trying to send.
If the viewer clicks on the image and views it in a browser window, it will work.
You could add a message for Outlook viewers on how to load an animated gif image.
<!--[if (gte mso 9)|(IE)]>If you have Outlook, jump through hoops!<![endif]-->
Good luck.
I search a way to address a single page in a PDF which is in an email.
Is there an official URL/URI spec which handles this case?
AFAIK there are these steps to get to the page:
address the mail.
address the pdf attachment in the mail (there could be several attachments in the mail)
address page number N in the pdf.
It is not possible to add a link to a specific attachment in an email, however it is possible to link to a specific page in a PDF externally.
To target an HTML link to a specific page in a PDF file, add #page=[page number] to the end of the link's URL.
If you host the PDFs somewhere instead of sending them as attachments you can get something close to what you want.
On my Drupal 7 site, I create PDF's of articles with the Printer, email and PDF versions Module. So a PDF version of each article is available at
/printpdf/nid
The next thing is that Im sending this articles as Newsletters with the Simplenews Module. I want to attach the created PDF as attachment to the mail.
If there is a field for a file in the Contenttype, and for example another pdf is uploaded and I send this node, the pdf is attached to the mail.
But in my case i want to create a pdf of this article and attach the pdf to the mail which is sending with simplenews module.
I have solved the Problem by writing an own module.
This module uses hook_node_submit to create a PDF (with domPDF), save it to the server and then place it into a field of the contenttype when a node is saved or edited.
This way the PDF is sent as attachement in the Mail.
thanks in advance
i have application in which i download pdf as a attachment through email account like gmail.com and it will be saved in tableview as one static name like attachment all this is runnable
now i want that during downloading of pdf i have to save with some name which is display in gmail account so how how can i do this i want to save that name which is show with attachment name like compansionFishpdf- print
When you download the PDF file, save it with that name. I usually pass a parameter "filename" from the server to the app when it downloads a file, but I don't know what kind of server language you're using.