ICS without confirmation email - icalendar

Some mail/calendar clients send automatic confirmation email after an ICS invitation has been accepted or rejected. Is it somehow possible to deactivate this? The event is mandatory and not optional.
In my case the ICS file is just a confirmation of an appointment booked before.
BEGIN:VEVENT
UID:internalID
ORGANIZER;CN="name":MAILTO:info#test.de
LOCATION:Location
SUMMARY:Some appointment
DESCRIPTION:Appointment booked
CLASS:PRIVATE
[..]
END:VEVENT
Obviously it would be possible to remove the mail field, but I would like to keep the mail information in the invitation.

Related

How to import event automatically from isc file to customers calendar

We're sending email through SendGrid. We first create these emails with SMTP in our Apache server with PHP. When we send this email with the .ics file attached we need to import the event into the customers' calendar automatically.
Right now we managed to add it only in Gmail accounts. In all other like Hotmail, MSexchage etc. we had no luck! The email goes, but in order to add the event to the calendar, you have to click on it and click on the CTA add to calendar. Is this a server issue? Is something we forget?
Kostas,
What happens with an ics attachment depends very much on each users setup and what they have said should happen with ics files. Mine open in a text editor for testing for example, not in my google calendar. Also it depends what email address it is sent to. Even google invitations don't work if we use one email address, even though it is linked to the google email.
I very much doubt that events would be added totally automatically just by receipt of an email with ics file attached. Imagine the spam abuse that might happen if that were the case.

Can emails senders deactivate gmail event creation?

I would like to know if there is a way from an email sender side to specifically ask Gmail not to take into account an email while trying to generate an event.
This is because one of our emails sends information about an abandon purchase and it is currently automatically generating an event on the user's calendar. This generates a problem for the user because he does not actually has a reservation.

Google calendar event response notifications to non-google email addresses no longer sent

Up until approximately 1 month ago, we were able to achieve full calendar sync using event response email notifications from google calendar:
our system generated an email with an ics attachment
the user responded via gmail or google calendar
the email address listed for the organizer in the ics file received an event response email notification with corresponding ics information
our system ingested the ics file to keep their response in sync
We have now noticed that event response email notifications are no longer sent to non-gmail organizer email addresses.
We were able to confirm the change in behavior using yahoo calendar/mail as well:
Notifications Sent:
create google calendar event, invite user via a gmail address, invitee responds via google calendar/gmail
create google calendar event, invite yahoo email address, invitee responds via yahoo calendar/yahoo mail
Notifications Not Sent:
create yahoo calendar event, invite gmail address, invitee responds via google calendar/gmail
Anybody have experience with this? Any workarounds?
Checkout these few resources:
google calendar invites are sometimes marked as spam
solution: add email filter to never mark emails from calendar-notification#google.com as spam.
google calendar help - invitation not received
solution 1: same thing, check spam folder.
solution 2: check calendar notification settings.
yahoo calenda help - not getting reminders
solution: check spam filters.
It may also help to add the address to your contacts so that it will be less likely that the notifications are marked as spam.

Fire event before sending email in Laravel

My webhost imposes a limit on how many emails can be sent from my email account. I'd like to create an event that logs how many emails have been sent that day every time a new email is sent. If the maximum number of emails is reached, I'll switch my app to a different email account to avoid conflicts.
Creating the event shouldn't be a problem. My question is how would I go about setting it up so it fires every time an email is sent? Would it be something like extending Mail::send so that it includes something like this?
$event = Event::fire('mail.send', array($data));

ICS file to create an entry on the recipients original calndar and NOT on a new subscribed calendar

I send automatically generated emails from events on my website and wanted to create an 'Add to Calendar' link in the email. I have created an .ics file with the details and stored it on my server, and then created a link to it (using a href) in the html code of the email. When you click on the link in the email it asks the recipient to subscribe to the calendar. How do i create the ics file/code so that it gets added to the recipients own calendar and not a new subscribed one? Am I missing something obvious?
Is this something that I can't do?
here is the content of my .ics file.
BEGIN:VCALENDAR
VERSION:2.0
PRODID:-//hacksw/handcal//NONSGML v1.0//EN
BEGIN:VEVENT
DTSTAMP:20130301T191700Z
DTSTART:20130412T190000Z
DTEND:20130412T230000Z
SUMMARY:Beer Festival
END:VEVENT
END:VCALENDAR
Can anyone help?
Thanks
This is highly dependent on the OS and calendar client on the recipient side. Not much that you can do at your end.
Is the link in the email prefixed with webcal:// or http:// ?
It is probably better idea to attach the .ics file to the email using iTIP/iMIP instead of hosting it on your server. That way you can specify the METHOD in the iCalendar object (PUBLISH or REQUEST) and the client will know that it's supposed to be imported into the recipients calendar.
To add an event to your user's calendar, you need to "invite" the user with a specially crafted email. You cannot do this with http. Your email will essentially contain the same Icalendar as the one you currently link to, but with an ATTENDEE element specifying the user whose calendar you're targetting. You will also need to specify METHOD:REQUEST, both in the VCALENDAR and in the header of the text/calendar email part.
Is this all worth it? You can only invite for one event at a time. If you do all this perfectly, your user will still need to accept the invitation, but the event may display as tentative in the calendar before it has been accepted. Modifications need to be pushed out via email for each changed event to each interested user. (A calendar subscription via http lets you publish a "feed" of events. You just keep your calendar file up-to-date, and everything propagates automatically).
If you're still interested, this question may help you construct the email.