ColdFusion Mail: Automatic generated email? - coldfusion

I'm working on building a automatic system where our staff can fill out a form for CPR certifications. I need a way to generate a email automatically and send a reminder to the staff person in charge that Xyz person's certifications expire on X date, ideally something like 2 months before, 1 month before then 2 weeks before.
Anyway to build such an automated email system in cold fusion? Sorry if this is dumb question, I just started in ColdFusion TWO weeks ago.

Yes, the ColdFusion administrator has a built in task scheduler that you can use to run a nightly process that will send the emails you'd like.
http://help.adobe.com/en_US/ColdFusion/9.0/Admin/WSc3ff6d0ea77859461172e0811cbf3638e6-7fe0.html#WSc3ff6d0ea77859461172e0811cbf3638e6-7fd8

What you can do is have a nightly scheduled task that checks against a signup date to generate these events.
Even easier might be to use something like MailChimp as it already has it built in. Integrating to their API is a breeze if needed.

Related

How to add notifications in django admin backend with audio

I found this blog that addresses the task I want to accomplish which is; being able to get real time notifications in django admin (backend alerts) every time a new order in placed on an ecommerce website. However the blog is dated 2014 and the swamp django repository referenced hasn't been maintained atleast for 4 years ago.
Would you recommend I go ahead and deploy using this library because I believe alot has changed since then and I don't want to get into loops of fixing errors which have no updated and maintained documentation. Or do you know of any other library that I could use instead to do such a task. The ultimate objective here would be to even have an audio sound/notification play everytime a new order is placed or cart has been emptied.
Thanks.

How do I change a donation amount down the road?

I'm building a website to allow people to donate to a local charity quickly and easily. The charity allows direct donations, but it's primary function is to do "per mile" style donations, but with pull ups. In that past, they have collected the pledges ("I'll pay $1 per pull up"), then manual contacted people for payment after the event. This isn't very slick and very time consuming.
What I'd like to be able to do is collect a pledge and payment information, then charge people automatically after the event. From what I've seen, I should put a hold/authorization on their account, then capture it with the appropriate amount after the event. But reauthorizing will only allow up to 115% of the original, and I can't very well just authorize a large amount and let it sit for two months before reauthorizing and capturing it.
I know this can be done, but I haven't messed with this side of things before, and the REST API from paypal doesn't have an obvious solution. Is there something I'm missing? Should I be going about this a different way?
You can use reference transactions. I would recommend sticking with the Classic API for now, though. REST isn't as mature yet and doesn't have all the same functionality quite yet.
So in the classic API you would use Express Checkout and/or Payments Pro. You can process an original authorization and then simply void it, or use the card verification process with Payments Pro.
You won't need to capture an original amount, so you won't need to worry about the 115% cap on the capture.
Instead, you'll use the DoReferenceTransaction API to process any amount you need to at any time from that user's account account.
With Express Checkout you have to be sure to include a billing agreement in the setup. This guide outlines that whole process.
With Payments Pro you just do the original card verification / auth and then pass that auth ID into the DoReferenceTransaction API.
In either case, if you're working with PHP this PayPal PHP SDK will make all of the API calls very quick and easy for you.

What is the cheapest way to send fast website update alerts to users as push notifications?

I'm trying to help an animal shelter deliver faster updates when a new pet is added to their website. This is likely to happen between 0-20 times a day.
The website is a simple data dump, animals are in tables with row delineation (easy to parse) and have unique IDs. When a new pet is added, ideally this would trigger a mobile notification to subscribed users (could also be an email message). The faster updates are sent, the better, but checking every 30 mins or so would be fine. Because this is for a charity, I want to spend as little as possible on resources (because I also want to be able to scale this up for other shelters that might want to use this).
For instance mobile notifications, Twitter seems to be a good candidate. It looks like my needs wont run into fees/restrictions.
The part that I'm stuck on is how best to ping the site for updates and publish those updates to twitter. The two options I've come up with are:
Build my own system. Use a web crawler like Scrapy to periodically crawl the site and check for new petIDs. Using AWS, I think I could get by with a nano instance (~$57 a year). Using dynamoDB to cache existing petIDs seems like a small additional cost. Use twitter API to post updates
Use an RSS feed generator like Feedity. These seem to be pretty expensive: Feedity is $180/year for hourly updates and $390 for 15 minute updates. Has API integrated with Twitter.
I'd like to know if there are any better/simpler/cheaper/more obvious options I may be overlooking. Thanks!

What is a good Django app for scheduled reminders send to users by email

Google, Github and Stackoverflow bring up django-schedule and django-mailer, but these are both old projects with not much development, if at all in the last ~ 2years.
My use case:
User sets him/herself reminders to be send by email. A reminder is simply a chunk of text, some fields to determine when to send the reminder.
Reminders can be repeating daily or weekly. Reminders can also be one-off reminders.
Is there a good, current app for this with Django 1.3/1.4? Perhaps the solution is to write the reminder models myself, and then send with some scheduler - django-celery or django-cronograph?
If you going to do it by yourself, try the Advanced Python Scheduler:
http://packages.python.org/APScheduler/
It's useful especially when you can not or will not use the cron.

ColdFusion & Lotus Notes Calendar integration

In an enterprise scenario where a ColdFusion application is used to register for a event, would it be possible to programmatically add an entry into the calendar of a person?
Google has given me some partial idea's like connecting via JDBC/ iCalendar, etc...
Any ideas & experiences are appreciated
Thanks!
Something I have seen in the past is that after the person has registered for the event, a link is given, something like:
Click here to add this event to your calendar
The link goes to an .ical file, which Lotus Notes (as well as Outlook, and various other calendaring clients) can use to add the event to the user's calendar. You can create an iCal file using CFiCalLib.
It's totally possible.
I've done a lot of direct Coldfusion - Notes integration in the past 12 years and the newer versions of Notes should have many integration points (scripts, agents, COM, etc) to create/edit calendar events.
Adam's angle might be good enough for you, I'd try that out. If you're looking for something to be a little more direct (between the coldfusion and notes server directly, like sharepoint), there's options as well.