Showing posts with label setup. Show all posts
Showing posts with label setup. Show all posts

04 June 2017

How to find the correct SMTP server settings so that you can Send Mail As from Office365 in Gmail

One of Gmail's (many) cool features is that it lets you check mail from other non-Gmail addresses and send mail from other addresses that you own. This allows you to manage all of your email from a single interface, and extends all of the benefits of Gmail to mail from your other non-Gmail accounts (labels, Google-powered search, etc.).


Set up Send Mail As

Here are Google's instructions for how to set up sending emails from a different address in Gmail:

Step 1: Add an address you own
  1. On your computer, open Gmail.
  2. In the top right, click Settings.
  3. Click the Accounts and Import or Accounts tab.
  4. In the "Send mail as" section, click Add another email address.
  5. Enter your name and the address you want to send from.
  6. Click Next Step.
  7. Enter the SMTP server (for example, smtp.domain.com) and the username and password on that account.
  8. Click Add Account.
Step 2: Confirm the address
  1. Sign in to the account you added.
  2. Open the confirmation message you got from Gmail.
  3. Click the link.
Step 3: Change the "From" address
  1. In the message, click the "From" line.
    (If you don't see this, click the space next to the recipient's email.)
  2. Select the address to send from.


Uh-oh, errors

When it works, it is a thing of beauty. The problem is that for some email addresses, these default steps do not cut it. This is particularly the case for Microsoft Exchange or the newer Office365 email addresses. Users with Microsoft work email addresses tend to run into trouble at step 1.7 when attempting to specify the SMTP server.

I have come across two errors. The first appears when using the default SMTP address without making any changes:
Couldn't reach server. Please double-check the server and port number.

Another error message came up when I used the recommended SMTP server for Office365 users (which is smtp.office365.com):
Authentication failed. Please check your username/password.
Server returned an error: "334 VXNlcm5hbWU6 334 UGFzc3dvcmQ6 535 5.7.3 Authentication unsuccessful [CY4PR16CA0035.namprd16.prod.outlook.com] code(535) "

Some people claim to have come across an error saying Server response: read error code(0), although I have not seen that error, myself.


So, what's the problem?

The problem is obviously that I was not specifying the correct SMTP server. You might think that the first step should be to contact IT support at work to obtain the correct SMTP address. IT Support do not understand what you are trying to do. They might tell you to use the recommended email client (most likely Outlook). You re unlikely to find a solution this way.

For me, this was very frustrating and led to a lot of searching and trawling through forums, trying to find a solution. The issue arises from the fact that the recommended SMTP server (smtp.office365.com) is not the final destination, but rather redirects to another SMTP server address based on your location (similar to how typing in Google.com will redirect you to Google.co.uk in England, but to Google.com.au in Australia).


How to find your Office365 SMTP server

In order to find your SMTP server, you must ping the smtp.office365.com address. And it is really easy to do.

On Mac, open Network Utility, click on the Ping tab, then enter the network address to ping, and click the Ping button. After a few seconds, a report will be generated, and at the top it will output something like this:
Ping has started…

PING outlook-au.office365.com

You could also open a Terminal window and type ping smtp.office365.com and then press Enter. After a few seconds it will start generating output. On the top line will be something like this:
PING outlook-au.office365.com

On Windows, open a Command Prompt window and type ping smtp.office365.com and then press Enter. It will start generating output, and the top line will look something like this:
Pinging outlook-au.office365.com

My particular SMTP server is outlook-au.office365.com. Entering this address as the SMTP server, my full Office365 email address as the username, and password worked when adding my Office365 address to Gmail.


30 October 2013

How to disable Protected View and Enable Editing button in Office 2010

A very annoying feature in Office 2010 is the requirement to click Enable Editing when documents are opened in Protected View from 'untrusted sources'. It raises so many false alarms that it is ignored by most users and therefore fails to achieve the very thing that it was designed to do, namely security. Here is how to turn it off:

Click File | Options | Trust Center | Trust Center Settings... | Protected View, which will bring you to this

click for larger view

Uncheck Enable Protected View for files originating from the Internet, and then click OK.

You will have to do this in Word, then again in Excel etc. to get it to work in each Office app.

07 May 2011

An ideal speech recording setup

Having moved to a new lab, I was faced with a few decisions re: setting up a new speech recording space. This article catalogues each piece of equipment and why it was chosen.

Equipment: Shure SM10A headset cardioid microphone, Roland UA-25EX USB audio interface, laptop computer, recording software (Windows: Cool Edit, OSX: SoundStudio).


I should point out that these decisions reflect my personal choice. My recommendations are based on the following assumptions. The average participant is a speech recording experiment:

  • has a poor understanding of what they are doing with their voice
  • does not know how sensitive a microphone is
  • tends to speak either too softly or too loud
  • starts doing strange things when you give them too many instructions
  • has to be tricked to produce speech in the way that the experimenter desires
  • will get tired as the sessions goes on
Having spelled out these assumptions, my aim in setting up a speech recording space is to get the participant in and out with as little fuss as possible, get recordings that are clean and unaltered, and minimise the chances of a recording going bad due to equipment or setup.

Why a headset mic?
A headset mic allows the talker the freedom to move their head without changing the distance between the microphone and their mouth. Depending on the model, the mic can be positioned as close as possible to the talker's mouth so that very subtle phenomena, such as prevoicing, maybe captured. The downside is that other noises will also be captured as well, such as spit bubbles, tongue smacks, the participant scratching their nose and so forth. This can be somewhat alleviated by selecting a headset mic with a cardioid pattern of sensitivity and a restricted receptive field. The Shure SM10A fits the bill nicely, making it an ideal mic for recording both in the soundbooth, as well as in the field. It is also relatively inexpensive at around $150.

Why an external audio interface?

In this case, the decision was easy: we needed a way to interface the microphone, which has an XLA connector with the computer, which does not. But, apart from this practical issue, there is another important reason to use an external audio interface or soundcard, and that is to improve quality and reduce interference.

The internal soundcard that is connected to the computer's motherboard is surrounded by many noisy and busy circuits that are working all the time. By using an external sound card, the analogue-to-digital conversion is performed outside of the computer, and what is fed into the computer is a series of 0s and 1s, meaning that the signal cannot degrade. In addition, external audio interfaces are designed for this sole purpose, their drivers are constantly being improved (so upgrade frequently), and this all results in getting the best-sounding recordings into your computer.


So, which audio interface to use then? Well, for speech recording, it does not really matter whether the interface has USB 1.1, USB 2.0, or Firewire connections. You will be fine with any of the above. What does matter is the quality of the driver (the software that tells the sound card what to do and when to do it). In my particular case, I chose the
Roland UA-25 EX which is one of the most popular (if not the most popular) USB audio interfaces of all time. The reason I chose it is because I have used it in the past extensively, and have been very pleased with the results. In addition, it is inexpensive (around $US200) and works faultlessly on both Windows and OSX. Note that this particular model has now been discontinued and replaced by the Roland Quad Capture. 

What software to use?

When it comes to recording software, I just want it to stay out of my way and create sound files that are as untouched as possible—as if the speech is going straight from the microphone onto the hard disk. No effects, no plugins, no nothing. If I choose to manipulate the recordings in any way, I will do so later, by making conscious choices about what is manipulated, and all manipulations will be documented in detail.

These are my criteria for speech recording software:

  • crystal clear audio recording
  • real-time monitoring of the input level
  • a clipping indicator (usually a red light of some sort)
  • can output to wav and aiff formats
  • can record for two hours without becoming sluggish or slow
  • allows me to copy and paste large chunks of audio into new files without a long delay
For simple voice recording that stays true to the original source, without using any effects or plugins, you cannot beat Cool Edit Pro. Now discontinued, Cool Edit Pro was the king of audio editors in the early 2000s. It's makers were bought out by Adobe, and Cool Edit evolved into Audition, which is both too expensive and requires far too many resources for our purposes, namely simple voice recordings. 

---------------------------------

Begin rant
---------------------------------
Adobe Audition now occupies the space between audio editor and studio level sound production, making it a poor man's Pro Tools or a fat version of Cool Edit. I am not a fan. To address this issue of bloat, Adobe released a simpler program called SoundBooth, which I initially thought to be an updated version of Cool Edit, but after having tried the demo, all I can say is that it is a poor piece of software that fails to differentiate itself from Audition in any meaningful way, and I cannot imagine who would want to use it.
---------------------------------
End rant
---------------------------------

Having moved to a MacBook Pro, I sought to find an OSX app that had the function and feel of Cool Edit.
SoundStudio 4 fits the bill nicely. Priced at a reasonable $50, SoundStudio has a simple interface that is both intuitive and efficient. For OSX recording, I recommend it.

21 April 2009

The Healthy Laptop MMM presentation

Yesterday, I gave a talk about setting up a laptop for work. The talk covered turning off useless Windows services, security, and also contained a few recommendations for what programs I think should come with every MARCS laptop. Frequent visitors of this blog will probably already know most of the things outlined in the slides, as some information comes from posts that are two years old. However, the info is as true today as it was the day I originally wrote the posts. In any case, I have made the slides from yesterday's talk available for download here. I designed the presentation according to Seth Godin's excellent presentation style and advice re: slide design in Powerpoint. There are two slides that I am not entirely happy with, but overall, it's a good presentation.

02 October 2007

Organise files on your hard disk

Keeping your files organised is very important... but hard. Some people argue that in our age of desktop search we don't need to worry about folder structures. I disagree.

Many times, when I ask people for a copy of a file, they cannot find it. They realise that they aren't organised. They swear that they will go through and organise their files asap. Of course, when I ask them for another file a few months later, they cannot find it. Keeping you files organised is hard.

So, here is my guide to file organisation.

Keep your desktop clean

The desktop should only contain a few shortcuts to often used programs and the recycled bin. No files should be permanently stored on your desktop. None. Think of the desktop as your workspace. You cannot work efficiently if it is cluttered. As your workspace, the desktop should temporarily house files that you are currently working on. When you are done with the files, they should be archived - moved off the desktop to another folder for permanent storage.

To My Documents or not to My Documents, that is the question
Some people do not like the My Documents folder, usually located here: C:\Documents and settings\YourUsername\My Documents\
There are a few problems with the default path. The spaces in the pathname can be problematic for scripts. It is a silly design choice by Microsoft. If you are going to use the default path, put double quotation marks around the pathname to ensure that your scripts will work. Another problem with the default My Documents location is that (by definition) it is a well known storage area and is often targeted by malicious programs, such as viruses and trojans.

You may change the location of the My Documents folder by right-clicking on it, selecting Properties, and changing the Target Folder Location. My advice is to create a folder called Docs (C:\docs\), and to use this as your My Documents folder.

One Folder to Rule them All
Placing all important documents and files in one folder:
1. makes backing up files easy - just sync one folder and you're done
2. makes files easy to find
3. makes archiving easy

I name my top level folder according to the year, eg., 2006, 2007 etc. All documents to do with work go into this folder (not audio or video files). My 2007 folder currently contains the subfolders DMDX, ERC, Experiment, Greece Trip, MMM, NCN, PDF library, Praat scripts, Reading group, Thesis, UWS Ethics. Of course, your subfolders will differ depending on your purpose. Every day before I go home, I sync the 2007 folder on my laptop with the 2007 folder on my USB flash drive. When I get home, I sync the 2007 folder on my USB flash drive with the 2007 folder on my home PC.

A Year folder allows you to archive files that are no longer being used - for e.g., when 2008 begins, create a new, empty 2008 folder and start organising yourself again. From this point on, sync the 2008 folder every day. There will be some files from 2007 that you will need to keep working on, such as thesis.doc. Simply, use file versioning and create a new file (e.g. thesis02.doc) in your new 2008\Thesis\ folder. Leave your 2007 files where they are.

Using a Year folder has the added bonus of archiving your important documents in an intuitive, chronological order. This folder structure allows you to see which experiments were conducted, pdf files read, documents written, MMMs given, presentations prepared, ethics amendments approved, and so on, during which year.

Blogged with Flock

21 September 2007

Backup your files in five places

Picture this: you are in the fourth year of your PhD. You have written six chapters of your thesis. You have finished your statistical analysis. You are putting the finishing touches on your Interspeech conference presentation. You are drafting the final chapters of your thesis. The finish line is in sight. A virus reformats your computer. Or a power surge kills your laptop. Or your hard drive dies. Or...

File versioning
Backing up is very, very, very important. But you have to be smart. When you are working on an important document, such as a thesis, you will inevitably make numerous revisions. Do not save over your original file. Why? Imagine that you are working on thesis.doc, and as you are saving the document Word crashes and the file is corrupted. If you sync your files between devices, this corrupted file will overwrite your older, non-corrupted file because it was edited last and is therefore newer or more up-to-date. Bad news: you no longer have a working version of your thesis. Don't reach for a gun; instead save incremental versions (use Save As, not Save). For example, thesis01.doc, thesis02.doc, thesis03.doc, and so on. If thesis03.doc becomes corrupted, at least you will have a working version of thesis02.doc to fall back on, and will only lose some (not all) of your work.

Backing up
Make backing up easy for yourself. Keep all of your important files in one folder. I have a folder called 2007, with all my 2007 work. Every day before I go home, I sync the 2007 folder on my laptop with the 2007 folder on my USB flash drive. When I get home, I sync 2007 folder on my USB flash drive with my home PC. This means that every day my files are saved to three places. Of course this is not enough. Every week I save my work using other storage devices.

Here are seven backup options that I came up with. Choose five of them, and you'll be safe:

0. Your original files are on your hard drive (this doesn't count).

1. USB flash drive (also called USB key, pen drive, thumb drive, whatever) - Buy a good USB flash drive. Use it every day.

2. Communal external hard disk - Each postgraduate student room has an external hard disk. Use it.

3. Drive U: - You have 2GB of storage space. Keep an updated copy of your important documents there (not your sound or video files).

4. Home PC - Not everyone owns a home computer. Those who do should use it as a backup device.

5. Recordable media (CD or DVD) - MARCS laptops come with Nero. Burn a copy of your important files to CD or DVD. If you use a re-writable disk, you can use the same disk over and over again.

6. Online storage - There are many sites that allow you to store your files online. My favourite is Box.net because it's fast, but there are heaps of them. Find one that you like and use it.

7. Email attachments - Chances are that you email documents to your supervisor fairly regularly. Different versions of your files are probably sitting (as attachments) in your Sent Mail. This isn't really backing up, but it can save you in an emergency.

18 September 2007

IZArc: Open any archive format

Archive files are basically containers of a number of other files, which make transportation and/or storage easier. They may also be compressed, meaning that they take up less room.

You are probably familiar with .zip files. This is the most popular archive format. Winzip is a popular program, which can create and unpack .zip files. However, Winzip cannot open many of the other archive formats. The same can be said for Winrar and .rar files, or Winace and .ace files, and so on. What's more, these are all commercial programs that cost money.

There is good news: IZArc is an excellent, free
archive utility, supporting nearly 60 archive formats, such as: 7-ZIP, A, ACE, ARC, ARJ, B64, BH, BIN, BZ2, BZA, C2D, CAB, CDI, CPIO, DEB, ENC, GCA, GZ, GZA, HA, IMG, ISO, JAR, LHA, LIB, LZH, MDF, MBF, MIM, NRG, PAK, PDI, PK3, RAR, RPM, TAR, TAZ, TBZ, TGZ, TZ, UUE, WAR, XXE, YZ1, Z, ZIP, ZOO.

Why would anyone buy Winzip, Winrar, Winace etc.? I don't know. You can replace all of these programs with IZArc. Do it now.

Google Desktop: find files fast

Google Desktop is desktop search software, allowing the user to search his/her files, email, music, images and so on.

When you first install Google Desktop, it indexes the files on your computer. It indexes the names of the files and the text within the files as well. Once this is done, you can search your files right from your desktop.

This means, if you search for "bilinguals," it will return all of the documents, PDFs, images, etc. that contain the word "bilinguals" in the filename or in the actual body of text. This is a tremendous time saver.

Google Desktop actually searches as you type, meaning that after each key is pressed, the results change. For example, when I hit b, it displayed files containing b, then when I hit i, it only displayed files containing bi, and then bil and so on.

Lets say that I wanted to open this PDF file
C:\Documents and Settings\Default User\My Documents\Uni\2006\Confirmation of Candidature Proposal\COC final.pdf

From my desktop, all I have to do is press Control twice (to bring up the white search box), type in coc and then select the correct file from the list of results. It took me less than 2 seconds. This is much quicker than navigating through many folders and trying to remember where you have saved a file.

And remember, this is just like using Google search. You may specify a particular filetype (e.g. filetype:pdf), or remove search results containing a specific word by using a minus sign (e.g. -German), and you may combine operators to create powerful searches.

Google Desktop can also be used to launch applications. For example, if you type calc, you may launch the calculator program. Again, this is much quicker than clicking Start, then All Programs, then Accessories, and finally Calculator. If you type add, you may open the Add or Remove Programs window without using the Control Panel.

For those of you who are looking for a few more advanced Google Desktop uses, I refer you to the excellent Get more from Google Desktop.

Security, it's important

Please, oh please, keep your data safe from viruses and spyware.

Viruses
Viruses are computer programs that can copy themselves and may damage programs, delete files, cause crashes or even reformat a hard disk! The antivirus that comes with our laptops is ETrust Antivirus by Computer Associates. This may be the worst antivirus program in the world. Don't believe me? Here's a review. I don't know of anyone in MARCS who has detected a virus using ETrust - that is not good.

Here is some good news: there are several great, free antivirus programs - I recommend Antivir or Avast. I have used both, both are excellent, and neither put a large strain on your CPU, meaning that your computer won't slow down to a crawl *ahem* Norton *ahem*. Personally, I prefer Antivir, and generally speaking, it performs better in reviews - detecting a higher percentage of viruses than any of the other free (and many paid) antivirus packages. If you install Antivir, here is how to turn off the Antivir splash screen:
Control Panel - administrationtools - local security principles - additional rules + right click and choose new hashrules - browse for and add avnotify.exe (shows as a lot of letters and numbers) and set this rule to "dont allow" - OK

Spyware
Spyware slows down your computer, can make programs stop working, steal your data, log your keystrokes, and annoy you with popup advertisements. Spyware is a big problem. To maximise your chances of staying spyware free, I recommend using a combination of antispyware programs. I have all 4 of these installed, and have listed them in order of importance (if you only want one, install number 1; if you only want two, install numbers 1 & 2, etc.):

1. Spyware Doctor Starter Edition - This is a really nice program, useful for both prevention (from infection in the first place) and removal (of spyware once it's on your system). It automatically scans incoming files, auto-updates, and scans your computer for spyware. It is only available as part of Google Pack.

2. Spyware Blaster - You only run this program once, and it prevents spyware from getting on your computer in the first place. Make a habit of updating it once a month and enabling protection for all of the updated, and therefore unprotected, items.

3. Spybot - Needs to be started and updated manually. Will scan your hard disk for spyware. If it finds any, it will remove it. It does not automatically scan incoming files like Spyware Doctor does.

4. Adaware 2007 - What I said about Spybot applies equally well to Adaware. However, they detect different things - Adaware might find something that Spybot missed and vice versa.

All of the software mentioned in this article is free, and can be installed on one machine without causing conflicts or crashes.

15 September 2007

Set up your laptop for work: Make Word useable

Microsoft Word 2003 is a powerful word processor and can be a valuable tool. However, some of the default behaviours are less than ideal for research students (or anyone else). I don't know how many times I've heard people scream "I hate Word," and with good reason. There are a number of changes that I make and a number of features that I turn off when I first install Word that make it a much friendlier program.

Turn off Word annoyances
Don't you hate it when you try to select only one or two letters, but Word 'helps' you by selecting the whole word? How about auto-correcting words such as customise, summarise, colour? How about when a quotation mark 'helps' you by turning the wrong way? How about having to click on those two little arrows at the bottom of the menu so that you can 'unhide' the command that you want because Word 'helped' you by hiding infrequent commands? There is a long list of Word annoyances. Lets begin by turning off those annoying things that Word does automatically.

1. First things first - lets set the language to Australian English. From the Tools menu, select Language and then Set Language... and choose English (Australia). No more -ize endings.

2. Select Options... from the Tools menu. Click on the Edit tab. Untick When selecting, automatically select entire word. Now you can select only one character of a word.

3. From the Tools menu, select Autocorrect Options... and click on the Autocorrect tab. Untick Capitalize first letter of sentences and Capitalize first letter of table cells.

4. While in Autocorrect Options... click on the AutoFormat as you type tab and untick Straight quotes with smart quotes.

5. From the Tools menu, select Customize... and click on the Options tab. Select Always show full menus and Show shortcut keys in ScreenTips.

Customise your toolbars
The default Word 2003 toolbar layout isn't terrible, however, it can use a little research-student-tweaking. Luckily, you can add, remove, or edit toolbar buttons.

To customise a toolbar, select Customize... from the Tools menu and click on the Commands tab. From here you may add any command to any of your toolbars by simply dragging it into the desired position on your toolbar. To remove a command from your existing toolbars, simply drag it off the toolbar and drop it onto the Customize... dialog box.

Here is what the default Word 2003 toolbars look like (click toolbar to enlarge):
Ok, lets get started. I always remove these buttons:
Print - we will replace this with a more useful print button.
Email - who emails from Word?
Research - what is this?
Tables and borders - if you need to insert or modify a table, just use the Table menu.
Insert Table - as above.
Insert Excel Worksheet - if you need to insert or modify an Excel worksheet, just use the Insert menu.
Drawing - you will never use this.
Help - there's a search box in the top right corner.
Read - you will never use this.
Outside border - accessible via right click if you ever need it.

Now that we've gotten rid of the useless buttons, lets add some buttons that will make our lives easier and save us time in the future. Remember that toolbar buttons are added by selecting Customize... from the Tools menu and clicking on the Commands tab.
Save As - (from the File category) allows the user to save the document under a new name. This is very useful for saving different versions of your important documents.
Print... - (from the File category) when clicked, it will bring up the Print dialog box, allowing you to specify the number of copies, zoom, staple, double sided printing, two pages on each etc.
Paste Special - (from the Edit menu) allows you to remove formatting from text that has been copied to the clipboard.
Find - (from the Edit menu) allows you to search for (and replace) text in your document.
Header and Footer - (from the View menu) place text at the top or bottom of a page.
Symbol - (from the Insert menu) insert special, foreign, phonetics characters.
Superscript - (from the Format menu) useful for transcription e.g. the superscript h that indicates long lag VOT.

Of course, you might have some buttons that are useful to you that I haven't listed here. You should add them to your toolbar. Let us know which button you added in the Comments at the end of this post.

In the Customize... dialog box click on the Toolbars tab. Check the box next to Word Count. This will make the word count toolbar appear. This toolbar displays the number of words right in your toolbar.

After the above modifications, here's what my toolbars look like:

10 September 2007

Set up your laptop for work: Turn off the crap

When it comes to setting up your work laptop, I suggest that you should only care about speed and efficiency. This means that your computer should be (a) booting up quickly, and (b) running smoothly (without crashes).

The key to a quick startup is minimising the number of programs that run automatically when you bootup Windows. Click the Start button, then Run, and type msconfig. Click on the Startup tab and deselect all of the programs that you do not want to run automatically. For more detailed advice, I refer you to the excellent Make XP Boot Faster from Wikihow.

In order to keep your computer running smoothly you should turn off all of the useless services that run by default in Windows XP. I recommend that you read
A Guide To Turning Off Useless XP Services by JasonN and make the necessary changes. If in the future MARCS students begin using Windows Vista *shudder* then I recommend you find a similar guide for turning off all of the useless crap in Vista.