Monday, 23 December 2013

Outlook Attachment &Subject Reminder Macro

Outlook Attachment  Reminder Macro

 How to set it up:

1. Open Outlook.
2. Press Alt+F11 : This will open the Visual Basic editor.
3. Expand the project until you find “ThisOutlookSession” and select it.
4. Copy the code below into the Visual Basic code window.

Private Sub Application_ItemSend(ByVal Item As Object, Cancel As Boolean)
Dim lngres As Long
If InStr(1, Item.Body, "attach") Or InStr(1, Item.Subject, "attach") <> 0 Then
If Item.Attachments.Count = 0 Then
lngres = MsgBox("word 'Attach' found, but no attachment - send anyway?", _
vbYesNo + vbDefaultButton2 + vbQuestion + vbSystemModal, "You asked me to warn you...")
If lngres = vbNo Then Cancel = True
End If
End If

If InStr(1, Item.Body, "include") Or InStr(1, Item.Subject, "include") <> 0 Then
If Item.Attachments.Count = 0 Then
lngres = MsgBox("word 'include' found, but no attachment - send anyway?", _
vbYesNo + vbDefaultButton2 + vbQuestion + vbSystemModal, "You asked me to warn you...")
If lngres = vbNo Then Cancel = True
End If
End If

If InStr(1, Item.Body, "enclose") Or InStr(1, Item.Subject, "enclose") <> 0 Then
If Item.Attachments.Count = 0 Then
lngres = MsgBox("word 'Enclose' found, but no file enclosed - send anyway?", _
vbYesNo + vbDefaultButton2 + vbQuestion + vbSystemModal, "You asked me to warn you...")
If lngres = vbNo Then Cancel = True
End If
End If
End Sub

 
5. Save.

Now to test:

6. Close & Reopen Outlook for good measure.
7. Write an email containing the word attach.
8. Click send. *This is when you should get the pop-up.

How to set it up:

1. Open Outlook.
2. Press Alt+F11 : This will open the Visual Basic editor.
3. Expand the project until you find “ThisOutlookSession” and select it.
4. Copy the code below into the Visual Basic code window.
5. Save.
Now to test:
6. Close & Reopen Outlook for good measure.
7. Write an email containing the word attach.
8. Click send. *This is when you should get the pop-up.
- See more at: http://www.businesshut.com/outlook-macros/outlook-attachment-reminder-macro/#sthash.F0RRLyFo.dpuf

How to set it up:

1. Open Outlook.
2. Press Alt+F11 : This will open the Visual Basic editor.
3. Expand the project until you find “ThisOutlookSession” and select it.
4. Copy the code below into the Visual Basic code window.
5. Save.
Now to test:
6. Close & Reopen Outlook for good measure.
7. Write an email containing the word attach.
8. Click send. *This is when you should get the pop-up.
- See more at: http://www.businesshut.com/outlook-macros/outlook-attachment-reminder-macro/#sthash.F0RRLyFo.dpuf

Outlook Attachment Reminder Macro

Outlook Attachment Reminder Macro

Outlook Attachment Reminder Macro

Outlook Attachment Reminder Macro

Wednesday, 31 July 2013

Upgrade SVN in Ubuntu 12.04

Follow below steps to Upgrade svn from 1.6 to 1.7

# echo "deb http://opensource.wandisco.com/ubuntu lucid svn17" | sudo tee /etc/apt/sources.list.d/svn.list
# sudo wget -q http://opensource.wandisco.com/wandisco-debian.gpg -O- | sudo apt-key add -
# sudo apt-get update
# sudo apt-get install subversion

That should do the trick!!!

Thanks to : http://kovshenin.com/2013/subversion-1-7-on-ubuntu-12-04/

Wednesday, 27 February 2013

Append shell commands to history immediately

 When working with multiple terminals you can always face ssh timeout which will result in loss of command history of the particular session.

To prevent this, Add below line in "/etc/bash.bashrc" file

export PROMPT_COMMAND='history -a'

After logoff login, every time a shell command runs it will be immediately stored in history file.

That should do the trick!!!

Enable Timestamp in bash history for all users

Time Stamp in Linux history can save you from many tight corners.

To enable this, please add below line to "/etc/bash.bashrc" file

HISTTIMEFORMAT="%d-%h-%Y %T "

Logoff login will enable time stamp in history like below example

57  03-Jan-2013 07:15:22 history

That should do the trick!!!

How to Prevent Emails from Going to the Junk Email Folder



Marking Email and Senders as "Not Junk"


Open Microsoft Outlook
Go to the Inbox Screen
Select the "Junk E-mail" folder
A list of mail items will appear on the right preview pane.


Right click on each mail item that is not considered junk
Scroll to and select Junk E-mail
Scroll to and click on "Mark as Not Junk..."


Follow the prompts to confirm each sender you would like to continue to receive mail from.
All mail from that sender will now be directed to the inbox instead of Junk e-mail folder.


Adding a Sender to the Safe Sender List

Mail that is screened by Outlook is diverted to a Junk E-mail folder. Mail that is filtered and identified as SPAM by SPAM SOAP is identified by a message sent to your mailbox from SPAM SOAP.

If mail is going to the Junk E-mail folder open your Junk E-mail folder. If you have moved the mail to a new folder, open that folder.



Right click on the message and scroll to Add Sender to Safe Senders List.
If mail from a specific domain is going to the Junk E-mail folder select the option to Add Sender's Domain (@example.com) to Safe Senders List. It is recommended that you use this option sparingly and avoid adding sender domains that are known to be havens for SPAMMERS such as Hotmail, Yahoo, and Gmail.
Once added to the Safe Senders List your Outlook will need to be open and running for the rule to be active.  Known as a "client-side rule" these filters will not work though Outlook Web Access https://mail.business.uconn.edu unless the PC that is running the rule has Outlook Running.

Monday, 26 November 2012

Component MSCOMCTL.OCX or one of its dependencies not correctly registered

MSCOMCTL.OCX error screenshot:
Error MSCOMCTL.OCX Screenshot

How to Correct or fix this dependency error:
    1. First search your local drive for MSCOMCTL.OCX to see if it is missing. The path to the file is typically: C:\WINDOWS\system32 if you are running Windows XP
    2. If the file is missing you can download it HERE
    3. Once downloaded, click the MSCOMCTL.exe and extract the file to your C:\WINDOWS\system32 directory
Extracting the MSCOMCTL.OCX file

Note: Some users may need to perform this additional step to register the file:

  1. Click Start -> Run and type REGSVR32 MSCOMCTL.OCX

 

 

Wednesday, 14 November 2012

How to Manage Auto Archive in Outlook 2010

If you want to keep Outlook 2010 clean and run faster, one method is to set up the AutoArchive feature. Today we show you how to configure and manage the feature in Outlook 2010.
Using AutoArchive allows you to manage space in your mailbox or on the email server by moving older items to another location on your hard drive.
Enable and Configure Auto Archive
In Outlook 2010 Auto Archive is not enabled by default. To turn it on, click on the File tab to access Backstage View, then click on Options.
1autoarchive
The Outlook Options window opens then click on Advanced then the AutoArchive Settings button.
2autoarchive
The AutoArchive window opens and you’ll notice everything is grayed out. Check the box next to Run AutoArchive every…
Note: If you select the Permanently delete old items option, mails will not be archived.
3autoarchive
Now you can choose the settings for how you want to manage the AutoArchive feature. Select how often you want it to run, prompt before the feature runs, where to move items, and other actions you want to happen during the process. After you’ve made your selections click OK.
4autoarchive
Manually Configure Individual Folders
For more control over individual folders that are archived, right-click on the folder and click on Properties.
6autoarchive
Click on the AutoArchive tab and choose the settings you want to change for that folder. For instance you might not want to archive a certain folder or move archived data to a specific folder.
7autoarchive
If you want to manually archive and backup an item, click on the File tab, Cleanup Tools, then Archive.
8autoarchive
Click the radio button next to Archive this folder and all subfolders. Select the folder you want to archive. In this example we want to archive this folder to a specific location of its own.
9autoarchive
The .pst files are saved in your documents folder and if you need to access them at a later time you can.
10autoarchive
After you’ve setup AutoArchive you can find items in the archived files. In the Navigation Pane expand the Archives folder in the list. You can then view and access your messages.
11autoarchive
You can also access them by clicking the File tab \ Open then Open Outlook Data File.
12autoarchive
Then you can browse to the archived file you want to open.
10autoarchive
Archiving old emails is a good way to help keep a nice clean mailbox, help speed up your Outlook experience, and save space on the email server. The other nice thing is you can configure your email archives and specific folders to meet your email needs.