ics Alarms are not appearing in Google Calendar or Outlook - calendar

I'm a bit surprised I did not find a solution or answer to this question because there appears to be a lot devs out there experiencing it.
I'm generating an ics file with the help of DDay.ical but the VALARMS are not setting reminders in google calendar or outlook 2007.
Here a snippet from the ics file
Thank you very much in advance for your assistance sniffing out an explanation or fix.
BEGIN:VCALENDAR
VERSION:2.0
METHOD:REQUEST
PRODID:-//ddaysoftware.com//NONSGML DDay.iCal 1.0//EN
BEGIN:VEVENT
CREATED:20110911T134152Z
DESCRIPTION:\n\n-----------------------------------\nClient Name:No Client
was selected\n Email: \n Phone:\n Alt Phone:
DTEND:20110911T203000Z
DTSTAMP:20110911T183854
DTSTART:20110911T200000Z
LAST-MODIFIED:20110911T134152Z
LOCATION:Facebook Ad
ORGANIZER;CN=XXX XXXXXX;SENT-BY="MailTo:XXXXXXX#gmail.com"
:
SEQUENCE:0
SUMMARY:Marketing - Print Ad # Facebook Ad
UID:cd9a1618-aeb1-4ec2-8f6a-64989950ea9c
BEGIN:VALARM
ACTION:Display
DESCRIPTION:1:45
TRIGGER:PT15M
END:VALARM
END:VEVENT
END:VCALENDAR

I had this same problem in Outlook 2010. For some reason if you open the .ics file directly (and create a new calendar), it will strip all reminders. However, if you to the 'file -> import' ('file -> open -> import' in 2010) method, select the .ics file, and 'import' into your existing calendar, it will retain the reminders. I think this is totally messed up on Microsoft's part, but hopefully this works for you. I can't answer about the google calendar, but perhaps it's similar?
here's a link to how to import the calendar in outlook to get it to integrate into your current calendar: http://help.unc.edu/CCM3_022163

For the VALARM not working, double check that the end-of-line being used is \r\n, not just \n as is incorrectly shown in many examples on the web.
For more detail see my answer to a similar question here: https://stackoverflow.com/a/16540934/834431

Related

Logic Apps with Form Recogniser (Azure) - Error message: "ActionFailed. An action failed. No dependent actions succeeded."

I have created the logic app to read the invoice data using the form recogniser. When tested, I experienced an error. Any idea how this could be fixed?
Please see below my workflow and other details:
many thanks.
As of the official document from Microsoft, the Analyze form connector only supports PFD format and (JPEG or PNG) image formats. But, the attachment that has come from your email is an octet-stream file which is certainly not supported.
You need to ensure that you are supplying only the supported file formats.

Unable to publish LUIS App

We are unable to publish the LUIS application. Publish button was disabled. Please find the attached screenshot and suggest on this please.
I have this problem in the afternoons (UK) - wait a few hours and it's fine. I wonder if the system gets overloaded at times.
The reason was session time out. I looked at console and found 400 error which says token is missing. So i signed out and signed back in. It started working. I was able to publish code to any slot specified.
It looks like a bug and microsoft should address this session timeout with auto redirect or a proper message.
Try Browsing/Publishing in Incognito mode / Private Browsing.
There are Caching related issue in luis portal
Every day at about 18:30 GMT we get lots of timeouts and 503 and publishing problems. We decided not to publish during that time.
Today we got more delays than usual
https://azure.microsoft.com/en-us/status/ show no errors in westus (the endpoint we are reaching)
It'd very nice to get a LUIS Status page (and not the global Cognitive Status)
This bug has been around for a while now. Advice from Microsoft support was to:
delete all cookies for luis.ai
sign out of the session
then sign back
in
When you sign in again the publish to production button should be enabled again

Google calendar does not recognize iCalendar cancel request

I am testing a feature which involves creating and cancelling an invite.
Google calendar understand and can create a invite. However it cannot interpret my cancel request.
I tested the same request with Yahoo Mail and it works fine. I made sure than UID is same for create and cancel. Appreciate any help to understand what is wrong.
Create request:
BEGIN:VCALENDAR
BEGIN:VEVENT
UID:9da63b0c-0de9-4d48-a956-162587a71d15
DTSTAMP:20140104T163803
ORGANIZER;CN="jaikit savla":mailto:jkts...#gmail.com
DTSTART:20140113T020000
DTEND:20140113T030000
SUMMARY:party
METHOD:REQUEST
END:VEVENT
END:VCALENDAR
Cancel request:
BEGIN:VCALENDAR
BEGIN:VEVENT
UID:9da63b0c-0de9-4d48-a956-162587a71d15
DTSTAMP:20140104T164034
ORGANIZER;CN="jaikit savla":mailto:jkts...#gmail.com
SUMMARY:party cancelled
METHOD:CANCEL
STATUS:CANCELLED
END:VEVENT
END:VCALENDAR
METHOD is a property of VCALENDAR, not VEVENT. You're also missing a ton of required properties. Try an iCalendar validator, this looks like it was written by hand rather than a library.
I used somewhat same code for calender invitation.
But it was not storing calender invitation directly to calender.
I had to make it ad Add to calender.
Did you face this/such problem?

Malware on D7 website - Blacklisted by Google

I want to tell you about the malware attack to my Drupal website. Not just for your suggestions but also to create something helpful to anybody tha could suffer for the same problems. Well...
INITIAL SETUP
Drupal 7.9
Activated modules:
CORE: Block, Contextual links, Database logging, Field, Field SQL storage, Field UI, File, Filter, Image, List, Locale, Menu, Node, Number, Options, Overlay, Path, PHP Filter, RDF, System, Taxonomy, Text, Toolbar, User
CCK: Multiselectd
CHAOS TOOL SUITE: Chaos tools
DATA/ORA: Calendar, Date, Date API, Date Popup, Date views
FIELDS: Email, Field permission, Link
OTHER: Google Plus One +1, Pathauto, Token, Weight
SHARING: Share this, Share this block
TAXONOMY MENU: Taxonomy menu
VIEWS: Views, Views PDF Display, Views PHP, Views UI
OTHER MODULES THAT I REMOVED: CKEDITOR, VIEWS_SLIDESHOW, IMCE, DOMPDF, PRINT, WYSIWIG
MY SETUP ERRORS
In order to satisfy the custome, I modified some of the modules and I've never update them (AUCH!)
The customer was in posses of the login data, and maybe his computer wasn't safe (MMM...)
I didn't have a copy of the webiste, because I trusted on the provider weekly backup (DOH!)
ATTACK EXTERNAL SYMPTOMS
All the link of the homepage redirected to a malware website
Google blacklisted the website
Critical alert on the Google Webmaster Tools panel
FTP SYMPTOMS
Lots of "strange" files: mainma3.php (I found this one in every folder!), functoins.php, sum75.html, wlc.html, aol.zip, chase.zip, chaseverification.zip, 501830549263.php, wp-conf.php and a dozen of wtmXXXXn.php (dove X = numero) in the root folder. All these files was plenty of malicious functions (unescape, base64_decode, eval, etc.)
Install.php was modified with a long line of malicious code
To EVERY javascript files was appended this line of code:
;document.write('');
The weekly backup was also infeceted
Dozen of repeated "strange" request, found on the Drupal log panel (my domain is obscured with the string "-----"):
index.php?q=ckeditor/xss > Notice: Undefined offset: 5 in eval() (linea 29 di /web/htdocs/-----/home/modules/php/php.module(74) : eval()'d code(1) : eval()'d code).
-----/user?destination=node/add > Failed login by shadowke
calendar/week/2012-W19?year=2011&mini=2012-12 > page not found
misc/]};P.optgroup=P.option;P.tbody=P.tfoot=P.colgroup=P.caption=P.thead;P.th=P.td;if(!c.support.htmlSerialize)P._default=[1, > page not found
misc/)h.html(f?c( > page not found
mail.htm > page not found
RECOVER [Thank to this article: http://25yearsofprogramming.com/blog/20070705.htm]
I've put the website on Maintanance mode (error503.php + .htaccess). Traffic open just for my IP Address
[see this useful guide: http://25yearsofprogramming.com/blog/20070704.htm]
I've downloaded the whole website in local
I've searched and removed the strange files > I found forty of them
I've searched the files for these worlds [with the freeware AGENT RANSACK]: eval(base64_decode($POST["php"])), eval(, eval (, base64, document.write, iframe, unescape, var div_colors, var _0x, CoreLibrariesHandler, pingnow, serchbot, km0ae9gr6m, c3284d, upd.php, timthumb. > I've acted in one of the follow ways: a) I've replaced eval with php_eval() (the eval safe version of drupal); b) I've wrote down the suspected modules; c) I've compared the code with the fresh downloaded module; d) I've removed all the malicious code (see the javascript mentioned above)
I've searched for mohanges in the file system [with the freeware WINMERGE]
I've identifyed some suspected modules, thank to the list written at the point 4 above, and thank to some researches on Google (name_of_the_module security issue, name_of_the_module hacked, etc...) and on Secunia [http://secunia.com/community/advisories/search]
I've scan my computer (Avast, Search&Destroy, Malwarebytes Antimalware) > I didn't found any virus or spyware
I've changed all the logins (ftp, cpanel, drupal admin panel)
I've reloaded the whole website
I've removed all the suspected modules: CKEDITOR, VIEWS_SLIDEWHOW, PRINT, DOMPDF, IMCE, CAPTCHA, WYSIWIG, WEBFORM.
I've tell the whole story to the provider assistance
I request Google for a revision (they did it in 12 hours)
DRUPAL LOG NOW
dozen of these messages
- wtm4698n.php?showimg=1&cookies=1 > page not found
- fhd42i3d.html > page not found
- wp-conf.php?t2471n=1 > page not found
- -----/user?destination=node/add > Failed login by Elovogue
LESSONS LEARNED
Never touch the modules, so you can update them
Keep all the login in a safe computer / Use a safe computer to work on the FTP
Search for any security issue before installing a module
Keep a clean copy of the website somewhere
MY QUESTIONS:
What kind of attack I've received?
There are other unsure module in my installation?
What can I do yet?
Thanks to everybody for your patience!
If you are using m$ windows, I think it is a trojan/virus that steals your ftp passwords and automatically editing files. I know many such stories.
Switch to WinSCP.net.

Send Email with Attachment (Default Mail Client)

Right now I've been sending email with Microsoft Outlook with attachment in C#. This works great. I just got a request to achieve the same result with any email client. Is it possible to do this with a WinForm application? If so, any places for me to research on this?
Have a look at below MSDN article, has nice examples on how to use the namespace/classes
MailMessage on MSDN
On the GUI part, it might be a bit more complex (depending on how good you want to design your GUI :)). You could try to copy MS Outlook or have simple GUI with RichTextArea and couple of TextBox's with big Send button.
Another article about NET.Mail namespace
You can send email with an attachment in winforms using the System.Net.Mail namespace. You'd need to write code to cache the mail if an internet connection can't be made.
OR
You can use MAPI, which apparently can have some compatibility issues with .net.
Here's a MAPI interop project that should send email (with attachment) using whatever the default mail client is installed:
http://www.codeproject.com/KB/IP/SendFileToNET.aspx

Resources