want to make schedular that generate email notification at tha day starts - c#-4.0

I want to create a scheduler for my admin panel that generates email notification at the day
starts or some specified interval.
any link or code that is useful to create scheduler.
any idea will be Appreciated.
thanks in advance
thanks for link but in that how can i generate a code that is sends email to customer
automatically.
any idea about it than suggest me.
thanks for suggestion Hoghweed.
ok i made one admin panel for a cell phone app that used as back end for android app.
in that admin panel sales persons are registered and perform sales.
and i want one facility that send an automatic mail to the customer on the day start or
some specified day or week.
that's it.
in simple another word i want one scheduler exe that runs automatically and sens email
notification to the customer.
any help Appreciated.
thanks in Advance.

Have a look at this blog post: An Event Based Cron (Scheduled) Job In C# This gives you an idea how to start implementing a scheduling application.
The article uses the ncrontab library for configuring the individual schedules. I have used ncrontab for several scheduling services, too, and found it very helpful.
For sending emails you find some code in this SO thread: How to send an email?

Related

SS2.0 Set/Update Script Deployment Schedule fields via SuiteScript

Hope someone can help me out here.
I've been working on updating/creating Script Deployment records via SuiteScript, and haven't been able to find a lot of information on it, so I've just been treating it like any other Record script.
(In Scheduled Script)
However, setting or updating the Schedule fields does not appear to work.
Regardless of any logic applied to those fields, no change is made and no system notes recorded.
Can someone help?
Many thanks!
Cheers, Giles
A quick look at the NetSuite Records Browser for the Script Deployment record shows that the schedule fields are not accessible via SuiteScript: https://www.netsuite.com/help/helpcenter/en_US/srbrowser/Browser2021_1/script/record/scriptdeployment.html.

Send reminder 2 days before start time of calendar event in SharePoint 2007

the background of this question is that our company is now using SharePoint 2007 and we can book a meeting room through the calendar,
we want to send email to remind people who have booked the meeting room 3 days before the starting time of the meeting.
We tried to use workflow to send the reminders automatically but we failed, the workflow setting has paused on "in progress" stage.
We would like to ask is there any alternative way instead of using workflow can fulfill our target?
There are restrictions for us.
1. We try to prevent using 3rd party tools.
2. We want to minimize the changes we made in the server.
You would need to write a TimerJob which could run on a daily basis and look at the meetings in the SharePoint List to send emails if it is needed.
I you already have NINTEX running in your Company this could also be an option. But default SP Workflows couldnt do this job.

using mail server to communicate with jira using api

im new to jira and its mail handlers.i want to use the jira's mail handlers to scan two folders in my mail box.and update two projects related to those folders. and i did that.
but now i want to extend that functionality.i want to keep the mails in those folders (stop mail handlers from deleting it after processing) and make it able to move issues/tasks across projects simply by moving the associated mail from the folder to the other folder. resulting in deletion of the original issue/task from that project and creating it in the other folder. please help in making this a possibility.
for those who didnt understand my problem: imagine im sending a cv for the post of php developer to a mail. when the reciepent checks it, he puts it in the php folder in his mailbox.so then a task is created in the project php developers. but next the reciepents thinks im more suitable in web developement rather than in php. so he just moves the mail from php folder to the web folder.so the existing task in php project gets deleted and a new task is created under web developement project. can i do this? if so how? please guide me..
Update
sigh..
i dont know how to work with corporate people. now the situation has changed. i hope you could help me with this one.sorry about the sudden change in the question..again...
now my boss wants sth like this.
i created a mail client using imap function to access mail services and retrieve those mails to a web function. theres no problem in that. but now my boss wants to handle jira through that same app aswell. means as like the my question when moving, putting a mail to a folder the app it self should comunicate with jira and make the necesary issue creation and deletion.. is this possible #Kuf?? if so please help. because my deadline is due Wednesday. and im almost there to panic..lol..please forgive me for changing questions like this. as it is not my will..
edit
I have seen that rest api does this. but how to use it? any answers?
The simplest way I found was to receive the emails in your main account and forward them to a second account, while saving a copy on the mail server. Than, tell Jira to pull the emails from the second email.
UPDATE
In the past, I've looked for a way to change Jira's email handler functionality, as you can see in this question here. It is impossible to achieve what you're asking using Jira's email handler because the way it works, it does not keep records of which emails were already read, Jira's service checks for new emails, ignores emails according the pre-defined filters (spam or user defined), handles the rest of the emails, and deletes them so it won't process them again.
The way I can think of to get the functionality you want is to re-write the email handler, you can get the source code, re-write it, and build it into your Jira app.
Another way, which i find easier, is to get all the emails into Jira, and from within Jira move the issues from one project to another. You can even create pre-defined buttons using Jira Scripting Suite to easily move issues between projects (create a post function and attach it to workflow transition).
If you need any help let me know. Good luck!
EDIT 2
Which Jira version do you use? which actions are you planning to do using the remote API? Jira REST API is the newest, but some of the old APIs have capabilities that are lacking in REST. To try and decide which API suits you, have a a look at JIRA Remote API Reference.
If you decide to use the REST API, I suggest that you read Jira's Getting Started with REST manual, which shows how to use the REST API. For the full documentation check out JIRA REST API documentation (make sure to use the right version according to your Jira version).

Holiday Approval /tracking

Has anyone implemented a holiday workflow approval / tracking list in MOSS Sharepoint 2007?
Can anyone suggests other solutions? The solution below works fine but I am specifically looking for a way to lookup manager of the user who created the holiday request list item in the workflow.
I have followed this link http://www.u2u.info/Blogs/Kevin/Lists/Posts/Post.aspx?ID=39
which shows you how to create a custom workflow approval. Below are the steps outlined by the link.
User add new holiday item to list
Workflow kicks off
Wf has the manager hardcoded (need a way to look this up, maybe from AD??) and creates a Task for them to review the request. If desired, this can include an email notification of the task
Manager reviews, adds comments and approves/denies request
User is notified of completed request
Many Thanks,
Naveen
We have used a custom developed InfoPath form and a simple Approval workflow to tackle this task.

Workflow initiated by difference in Modified and Current dates - SharePoint

Good Morning,
I'm using SharePoint Designer 2007 to create a workflow for a MOSS site I have created.
What I'm looking to do is have the workflow send out an email if a document in the library hasn't been modified for the past 30 days (and it's Status field is not set as "Closed"), but I'm stumped as to how I can do this.
Any help would be greatly appreciated!
Thanks!
You could try using the "Pause for duration" action (under "Core Actions" when you are adding an action to your SPD workflow).
However, I've worked on something that had a similar requirement and we decided that workflow was not the best option. We have a console application that is scheduled to run everyday and queries the list for "old" items. If it finds any old items, then it sends out an email to the user.

Resources