E-mail -- IiCal event

Is there any way I can create an event from an e-mailed invite (other than manually entering it.)
Many thanks
Kevin

Hi Kevin,
Try this Applescript written in 10.4 (your profile doesn't say what you are using). You will need to change the name of the calendar in the line that starts set myCal to. If you are happy with it you can save it as an application.
Best wishes
John M
copy everything below this line into Script Editor & press Run
-- Mail message to iCal event
-- John Maisey -- 29 October 2005 -- 0.1
set myCal to "test" --<< Change this to the calendar you want the event in.
tell application "Mail"
     try
          set someMessages to the selection
          set myMessage to item 1 of someMessages
     on error
          display dialog "Please select one email and re-run this script" buttons {"OK"} default button 1
          return
     end try
     set {myTitle, myContent} to {subject of myMessage, content of myMessage}
end tell
tell application "iCal"
     activate
     set myEvent to make new event at the end of events of calendar myCal with properties {summary:myTitle, description:myContent}
     show myEvent
end tell

Similar Messages

  • Can we trigger a workflow from e-mail create event?

    Hi Experts,
    My scenario is very simple-Whenever a mail is send for approval to the approver,two workitems-Approve or Reject should be created in the Appover's inbox.On clicking on any one workitem, corresponding mail for approval/reject should be sent.
    My only doubt is how to trigger an event which will start the workflow. Also it should be triggered only when the mail is sent to a particular person-say admin and not to every individual.
    Can you please guide me on this since I am new to workflows?
    What I am looking for here is:-
    a) The definition of E-mail creation event, which can trigger my workflow.
    b) This definition has to be specific. I mean workflow should trigger only when a mail is send to admin.It should not trigger everytime a new mail is created in the system.
    c) I thought that the business object for E-mail is activity-BUS2000110.But again activity can be anything-E-mail,task,telephonic conversation.Which business object should be used here?
    Please give me some pointers on this.
    Thanks and Regards,
    Rohit

    Hi Aditya,
    Atlast somebody replied to my thread. Since yesterday I have created 3-4 threads and didn't got any single reponse.
    Anyways, my query is:-
    how to trigger the workflow? I know we need some event to trigger a workflow. Now how to generate this event, when the user is simply sending an e-mail to the admin for some approval request? How can an e-mail trigger an approval workflow in the background?
    Any pointers/suggestions?
    Thanks and Regards,
    Rohit

  • Two bugs when trying to mail events

    Bug #1: When I right click on an event and choose "Mail Event", the mailed event attachment (.ics file) has no time information in it, which means that it is completely useless to anyone. This happens for any events I create in iCal.
    If I open the .ics file in a text editor, this is all it contains:
    BEGIN:VCALENDAR
    *X-WR-CALNAME:ASMGCS My Meeting*
    *PRODID:-//Apple Inc.//iCal 3.0//EN*
    CALSCALE:GREGORIAN
    VERSION:2.0
    METHOD:PUBLISH
    END:VCALENDAR
    Bug #2: Also when mailing an event, the email body message reads: "(null) informs you of the event: My Meeting, scheduled for 21 April 2008 at 08:00. To add it to your calendar, click the link below".
    Why does it start with "(null)" instead of my name (or at least something appropriate) and why is there no line break before the attachment. The attachment icon immediately follows the message, without even a space, which looks really ugly.
    Are these actually bugs, or have I got some settings wrong somewhere (in which case, I'll get ready to eat some humble pie)?

    Bernard Harte wrote:
    #1 May be a bug as mine works as expected.
    #2 The null may be because you don't have your card selected in Address Book: select it and choose Make this My Card from the Card menu. The attachment icon is where you describe it to be. If you don't like it, the only option would be to send feedback to Apple. Actually, this is not quite true: there is likely a way of altering the AppleScript that iCal is using to control Mail, but this would get overwritten each time iCal was updated and is probably not worth messing around with.
    See if my suggestion to #2 works. If it does, but the .ics still doesn't contain full data there are some further steps that I can suggest.
    Wow. As soon as I read your reply, I knew it was going to fix bug (or rather, issue) #2, but in fact it solved the whole thing! I just switched to a new iMac recently and had never spotted that I hadn't set a "My Card" in Addressbook.
    Thanks!

  • ICal not seeing Exchange Calendar events

    My iCal started behaving strangely in that it was importing exchange events into my personal calendar instead of my Exchange calendar. After trying several things I deleted "my card" in address book, and tried to recreate it in my exchange address book, thinking this would redirect all of my calendar events to exchange (since that was where my address card would be). When I realized that creating a "my address card" on the exchange side of the address book wasn't possible, I recreated the "my card" in the local address book on my mac.
    The next thing I tried was to delete my personal calendar with the hope that this would force all calendar events coming into iMail to use my exchange calendar (seems logical, right?). I figured it wasn't a big deal since I wasn't using my personal calendar anyway (I use my exchange calendar for everything). The end result is that none of mail calendar events will now import into iCal..... at all.
    Any suggestions?

    /bump
    Anyone?

  • So syncing new events on iCal is not automatic?

    I have 2 computers and an iPhone and it is very important that I keep my calendars and event alarms in sync but this has been a problem since "upgrading" to the new Calendar beta. Now, when I add an event on, say, my home iMac (running Snow Leopard) and either immediately close iCal or if I add it through Mail, the event does not show up on my MacBook, iPhone, or Mobileme unless I go back to the iMac and actually open iCal. Also, let's say I make a change to an event on my iPhone, the change is not reflected in iCal on either computer until I open iCal (imagine the consequences if I happen to not have my phone with me).
    I have searched the forum to see if there's a solution to this problem besides keeping iCal at home open all the time, but I haven't found an answer.
    Adding a work an event on my home computer's calendar only to have it stay there isn't much use. This is one of the main reasons I'm paying for MobileMe!
    I'd really appreciate any suggestions because this problem is just about to drive me nuts. Thanks.

    I have been having the same problem; when adding events from mail, they will show up in my iCal Events widget, but will not sync to the phone until I launch iCal. This has only started happening fairly recently, but I can't pinpoint exactly when. I have tried having the calendar set to sync via push and every minute, neither of which has any effect.
    This is very aggravating, especially when I have added a new event with specific details that, like Dr. Jones Sr., I have written down so I wouldn't have to remember, and then am out with only my phone which does not have the info.
    Please help!
    Thanks.

  • ServerSide Event-Handler for Flag-Event possible?

    Hi!
    Is it possible to hook up some managed code into Exchange 2013 which is triggered when an E-Mail is flagged via Outlook or OWA?
    I've been fiddling around with transport-agents, but they seem to get triggered only on Mail-Transport events, which is not enough, because the E-Mail won't get through the transport-pipeline when being flagged by some user.
    Thanks for any help!
    Sascha

    No the only InProcess code you can run on the Server side are Transport Agents. You can achieve what you want to do using EWS Notification in a client Application see
    https://msdn.microsoft.com/en-us/library/office/dn458791%28v=exchg.150%29.aspx
    Cheers
    Glen

  • Getting job name to notification e-mail when monitoring runtime limits

    Hello,
    In CPS version M33.49-55614 the requirement is to notify users via e-mail when a certain job exceedes the defined maximum runtime limit.
    We have defined the limit in "Runtime Limits" tab of Job definition and have defined an event to be raised in the same tab.
    The event is used as an Wait event for a Job chain consisting of 1 step only with System_Mail_Send. The mail Subject text is using an expression '=waitEvents.<event_name>.raiserComment'.
    After this we are receiving notification e-mails with Subject: Maximum Runtime Limit breached. Raising an event for job 1460806.
    But the Job name is not passed through the '=waitEvents.<event_name>.raiserComment' expression.
    We use the same scenario for notification e-mails for Error or Killed jobs, and in these cases the same expression '=waitEvents.<event_name>.raiserComment' results to notification e-mail subject: Event raised by Job:1460826 (JOBNAME) going to status Killed.
    The question is how to get the JOBNAME also to e-mail notification for exceeded maximum runtime?
    2 attempts did not help:
    - Add the $ substitution variable to Event Raise comment
    - use =waitEvents.<event_name>.raiserJobName in notification mail Subject
    Thanks and Regards,
    Ernest Liczki

    Hi Biswarup,
    From the official documentation http://help.sap.com/saphelp_nw04s/helpdata/en/e8/a9a76828b8dc469969ff450ec81ced/content.htm this definitely should work out of the box.
    Anyhow, what kind of subscription do you have chosen, immediate subscription or regular (daily, weekly, ...)?! If you are talking about an immediate subscription, try to alter this to a regular subscription. <i>Maybe</i> the change event which triggeres immediate subscriptions isn't thrown correctly by the TBP.
    But even in this case, please open an OSS message, as this should be considered as a bug (or at least as a lack of documentation on help.sap.com).
    Hope it helps
    Detlev

  • Workflow Notification Mailer in 11i

    Hi,
    I configured workflow notification mailer in 11i,
    (a) only outbound Mail Configuration, I enabeld that
    (b) started workflow Mailer Service Concurrent Manager
    (c) started workflow agent listener service concurrent manager
    Once I did the above, I am getting mails from Oracle Alerts..its nice..
    But I want to know, the following configuration in workflow mailer wizard
    ---> Inbound Mailer Configuaration ( IMAP), Can I give same SMTP mail server name in this...
    can anybody describe this, what for this configuration ( Inbound Mailer Service)....

    Notification mailers can also process e-mail responses from users, using the Internet Message Access Protocol (IMAP). A notification mailer uses a Java-based e-mail parser to interpret the text of each message and create an XML representation of it.
    A notification mailer uses three folders in your response mail account for response processing: one to receive incoming messages, one to store processed messages, and one to store discarded messages.
    A notification mailer does the following to process response messages:
    Logs into its IMAP e-mail account.
    Checks the inbox folder for messages. If a message exists, the notification mailer reads the message, checking for the notification ID (NID) and node identifier in the NID line.
    If the message is not a notification response, meaning it does not contain an NID line, the notification mailer moves the message to the discard folder and treats it as an unsolicited message. For the first unsolicited message from a particular e-mail address, the notification mailer also sends a warning message back to the sender of the message.
    However, to avoid sending unnecessary warnings due to bounced or auto-reply messages, each mailer node stores a list of e-mail addresses from which it has received unsolicited mail, and does not send any further warning messages to those addresses. Instead, if the node receives a second unsolicited message from a particular address, the notification mailer discards the message and raises the oracle.apps.wf.mailer.unsolicited event. You can optionally define a subscription to this event if you want to perform some other action in response to the second unsolicited message. For all subsequent unsolicited messages, the notification mailer simply discards the message.
    For more Info Please refer Oracle Workflow Administrator's Guide
    Hope it helps!
    Chetan

  • Polling reply mail box

    For Polling reply mail box:      
    If a conversation id is found, and     it matches an ongoing conversation:                
    MUST archive a copy of the mail      and          
    MUST invoke the callback registered for receiving mail received events      
    Could you tell me how to code for this .Am using JavaMail API

    Am also using JAMES

  • Outlook 2013 new mail notification sounds can't be changed

    I've got a weird issue with Outlook 2013 on Windows 8..  I've read several other posts that are kind of similar but they don't really apply.
    So, Outlook 2013 uses the "Desktop Mail Notification" sound event..  unless I change the .wav file assigned to that event.  Then it instead uses the "New Mail Notification" event.  Then when I change the .wav file assigned
    to THAT one, it changes again to instead use the "Notification" event.  Then when I change the .wav file assigned to "Notification," Outlook just won't play anything at all when receiving new mail.  It just flat refuses to use
    anything but the default .wav files.
    Has anyone run into this before?

    Hi,
    To change the new mail notification sound, please try the following:
    1. Right click the sound icon at the right bottom to open the sound settings.
    2. Under the
    Windows section, change both the Desktop Mail Notification and New Mail Notification
    events to have the same .wav file for the sound you want played for them.
    3. Then click OK to test the result.
    Thanks,
    Vincent Wang
    TechNet Community Support

  • Claws mail calendar popup

    This script uses libnotify to pop up events from claws-mail "vCalendar" plugin:
    #!/bin/bash
    # diary
    # shows any claws-mail calendar events for today & tomorrow (& historical)
    # if called with one or more parameters, also shows other future events
    TODAY=`date +"%Y%m%d"`
    TOMORROW=`date +"%Y%m%d" --date=tomorrow`
    MSG=""
    OVERDUES="\r"
    TODAYS="\t\t"
    TOMORROWS="\t"
    OTHERS=""
    grep -e SUMMARY -e DTSTART ~/.claws-mail/vcalendar/internal.ics -A1 | grep "\:" |grep -v 1970 | sed -n -e ":a" -e "$ s/Z\n/ /gp;N;b a"| sort >/tmp/zz
    if [[ `pidof notification-daemon` == "" ]]
    then
    /usr/lib/notification-daemon-1.0/notification-daemon > /dev/null &
    sleep 10
    fi
    while read LINE
    do
    REVERSEDATE=`echo $LINE | cut -f2 -d":" | cut -b1-8`
    EVENT=`echo $LINE | cut -d":" -f3`
    if [[ $REVERSEDATE < $TODAY ]]
    then
    PRETTYDATE=`date +"%a %d %b" --date=$REVERSEDATE`
    OVERDUES=$OVERDUES$PRETTYDATE"\t"$EVENT"\r"
    elif [[ $REVERSEDATE == $TODAY ]]
    then
    TODAYS=$TODAYS$EVENT"\r\t\t\t"
    elif [[ $REVERSEDATE == $TOMORROW ]]
    then
    TOMORROWS=$TOMORROWS$EVENT"\r\t\t\t"
    elif [[ ${#1} > 0 ]]
    then
    PRETTYDATE=`date +"%a %d %b" --date=$REVERSEDATE`
    OTHERS=$OTHERS$PRETTYDATE"\t"$EVENT"\r"
    fi
    done < /tmp/zz
    if (( ${#OVERDUES} > 4 ))
    then
    MSG="HISTORY"$OVERDUES
    fi
    if (( ${#TODAYS} > 4 ))
    then
    MSG=$MSG"\rToday"$TODAYS
    fi
    if (( ${#TOMORROWS} > 4 ))
    then
    MSG=$MSG"\rTomorrow"$TOMORROWS
    fi
    if (( ${#OTHERS} > 4 ))
    then
    MSG=$MSG"\r"$OTHERS
    fi
    if (( ${#MSG} < 1 ))
    then
    MSG="all quiet"
    fi
    notify-send --expire-time=0 "What's happening ..." "$MSG"
    When I log in I like a notification of anything happening today or tomorrow (plus any historical events I've missed).
    $ cat .config/autostart/diary.desktop
    [Desktop Entry]
    Exec=/home/paul/diary
    Name=diary
    Type=Application
    Version=1.0
    When I click on the clock on lxpanel, I get all events from  vCalendar.
    So, digital clock settings, action when clicked:
    /home/paul/diary 1

    Hi
    I am guessing you are using a OS running with a non English language setting.
    Then I know what is the problem. Set your system language to English. Throw out Server.app. After some seconds the server will realize it is not a server anymor. Calm... all your mail folders and web sites are secure.
    Reinstall your system from recovery partition restart+alt choose recovery HD.
    When done... download and lauch Server.app again (Don't change your systems languages settings, it must be set to English, German, French or Japanese otherwise everything is a f-n ****.
    No... things should be better. Then, if you end up like me, the system will have made somwhat a mess of the settings files for the mail service.
    The main.cf file controling your mail settings exists in two places, apparently ?!?! both are used but open them in a editor and change all hash: and paths to point to
    /Library/Server/Mail/Config/postfix/....
    instead of
    /etc/postfix/...
    It should get you on the way. My Wiki still can't read its setting file but I haven't given it any attention yet.

  • Time/Date issues with iCal/Mail

    For some reason, the time in Mail is always 9:00 a.m. (if it's the a.m) or 9:00 p.m (if it's the p.m) ever since I bought the mac. So if I receive an email at 11:54 a.m., it will say 9:00 a.m..
    For iCal, all events are placed in the same fashion (9AM or 9PM), but in the details in the New Event window, it will say TH:00 a.m. (when the day is Thursday) for the time instead of 11:54 a.m. for example.
    Has anyone ever seen this craziness before? (once again, it has been like this since I bought the mac)
    MacBook1,1   Mac OS X (10.4.8)  

    I have almost the same problem. The dates are correct, but the time is 9:29 am for all mail, ical events, and for all file times in the finder. There are some other problems as well, like in ical, week view, there are not times displayed on the left, but rather "Sat" before "AM" or "PM," and "Noon" is correct.

  • Send e-mail invitations?

    How can I send invitations by e-mail to events using iCal?

    Enter them as an 'attendee' in the iCal event and it will send them an invitation.

  • Random mail arrival failure. SMTP log reports arrival, user never gets it

    Our 10.5.4 Mail server has become progressively less and less reliable over a period of months. I can reproduce repeatable (but inconsistent) instances of mails sent to us and failing to arrive. The weirdness even extends to emails sent from outside to multiple recipients on our server *in the same email*, and where some of the recipients get it and the others don't (while the non-recipients are randomly receiving other mails OK). Or, an external sender sending an email while I'm on the phone with him, it failing to arrive (and never does), and then a resend half an hour later arrives immediately.
    Needless to say, confidence in our mail server is plummeting.
    The OS-X Server mail log *actually records a mail arrival event* even when the user never gets the email, thus:
    Aug 6 13:15:42 dreadnought postfix/smtpd[14462]: connect from sonar.wycliffe.nsw.edu.au[192.168.9.100]
    Aug 6 13:15:42 dreadnought postfix/smtpd[14462]: 39D248C515F: client=sonar.wycliffe.nsw.edu.au[192.168.9.100]
    Aug 6 13:15:42 dreadnought postfix/cleanup[14464]: 39D248C515F: message-id=<[email protected].l ocal>
    Aug 6 13:15:42 dreadnought postfix/qmgr[100]: 39D248C515F: from=<[email protected]>, size=29520, nrcpt=1 (queue active)
    Aug 6 13:15:42 dreadnought postfix/smtpd[14462]: disconnect from sonar.wycliffe.nsw.edu.au[192.168.9.100]
    Aug 6 13:15:43 dreadnought postfix/smtpd[14471]: connect from localhost[127.0.0.1]
    Aug 6 13:15:43 dreadnought postfix/smtpd[14471]: 0BBFE8C5170: client=localhost[127.0.0.1]
    Aug 6 13:15:43 dreadnought postfix/cleanup[14465]: 0BBFE8C5170: message-id=<[email protected].l ocal>
    Aug 6 13:15:43 dreadnought postfix/qmgr[100]: 0BBFE8C5170: from=<[email protected]>, size=29969, nrcpt=1 (queue active)
    Aug 6 13:15:43 dreadnought postfix/smtpd[14471]: disconnect from localhost[127.0.0.1]
    Aug 6 13:15:43 dreadnought postfix/smtp[14466]: 39D248C515F: to=<[email protected]>, relay=127.0.0.1[127.0.0.1]:10024, delay=0.85, delays=0.01/0/0.01/0.83, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as 0BBFE8C5170)
    Aug 6 13:15:43 dreadnought postfix/qmgr[100]: 39D248C515F: removed
    Aug 6 13:15:43 dreadnought postfix/pipe[14473]: 0BBFE8C5170: to=<[email protected]>, relay=cyrus, delay=0.23, delays=0.01/0/0/0.21, dsn=2.0.0, status=sent (delivered via cyrus service)
    Aug 6 13:15:43 dreadnought postfix/qmgr[100]: 0BBFE8C5170: removed
    ...and the upstream mail filter (sonar in this case, our virus and spam filter) corroborates that an email arrived as well. But, as I said, the user (me) +never got this email+. Numerous other users report the same experience. Some mails arriving at our mail server simply never get put into inboxes and disappear. Poof.
    The only lead I have is multiple instances of the following message in the console at (roughly) the same time as the mail arrival failure:
    *6/08/08 1:15:00 PM com.apple.launchd[1] (0x11a220.cron[14553]) Could not setup Mach task special port 9: (os/kern) no access.*
    I have taken to rebooting the server twice daily to reduce the frequency of these occurrences. The machine is a G5 XServe hosting 700 accounts in a School.

    In the log example quoted above, ignore all the http:// references. Apple's discussions software is assuming the square brackets in the log mean "insert URL"

  • Pop account apparently storing multiple passwords in Mail

    On my G5 desktop, when I check my email, I successfully receive all messages, but the mailserv indicates a failed password.(I am in direct voice contact with my mailserv administrator during the test procedures) The same issue does not occur with the same account on my Powerbook. I deleted and reinstalled the account on the G5. I also have a second account with the same provider and it works fine. I deleted the keychain items associated but still have the problem. I noticed that when I did not put the password in the software, and simply responded to the popup askeing for the password, I still got messages, but the number of failed password flags on the mailserv increased each time I responded to the popup. It appears Mail enters some sort of loop to check the mail, sending the correct password and then an incorrect password, or vice versa, in one mail check event.

    Thanks for the help. My ISP helped resolve the issue.
    For some reason, perhaps a manual adjustment made in error during original setup, the Authentication was set to NTLM instead of MD5 Challenge-Response.
    The effect was to seek authentication as NTLM first, creating a "Failed password" error on the ISP operating log. The mailserv then cycles to to NTLM as an alternate, thereby allowing authentication and download of messages to the user.
    The time delay is negligible, hence the User has no indication of the first check being made with the wrong authentication. Only the ISP could see the error as it was logged.
    Life continues.

Maybe you are looking for