?
Solved

Remove caps from an email address

Posted on 2014-11-25
5
Medium Priority
?
1,352 Views
Last Modified: 2014-11-25
I have SBS 2011 running Exchange 2010.  The email addresses have capital letters in their Christian names and surnames, e.g., JoeBloggs@mydomain.com.  How would I go about removing the caps so the address reads joebloggs@mydomain.com?
0
Comment
Question by:grsg
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 24

Expert Comment

by:VB ITS
ID: 40464239
After some searching online, I managed to find this script. All credit goes to Mike Crowley.
$MailboxList = Get-Mailbox  -ResultSize unlimited
 
$MailboxList | % {
 
$LoweredList = @()
$RenamedList = @()
 
foreach ($Address in $_.EmailAddresses){
if ($Address.prefixstring -eq "SMTP"){
$RenamedList += $Address.smtpaddress + "TempRename"
$LoweredList += $Address.smtpaddress.ToLower()
}
}
Set-mailbox $_ -emailaddresses $RenamedList -EmailAddressPolicyEnabled $false
Set-mailbox $_ -emailaddresses $LoweredList
 
#Without this line the "Reply To" Address could be lost on recipients with more than one proxy address:
Set-mailbox $_ -PrimarySmtpAddress $_.PrimarySmtpAddress
}

Open in new window

Source article: http://mikecrowley.wordpress.com/2012/05/14/converting-smtp-proxy-addresses-to-lowercase/
0
 

Author Comment

by:grsg
ID: 40464262
Thanks for the script, though I'm nervous about running code I don't fully understand.  I only have a handful of mailboxes, do you know how I could make the changes manually?
0
 
LVL 24

Accepted Solution

by:
VB ITS earned 2000 total points
ID: 40464279
I can understand that. I always like to use the -WhatIf switch to simulate the output of a command/script as a precaution.

To do it manually is a bit tedious but here goes:
Open the Exchange Management Console > expand Recipient ConfigurationMailbox
Right click on the mailbox that you need to update the email address for > Properties > E-Mail Addresses tab
Untick the Automatically update e-mail addresses based on e-mail address policy box > double click on the email address that you need to modify > add a random letter or number to the email address (e.g. Joe1@company.com) > click OK
Double click on the email address again > enter your desired email address with the lower case letters this time (e.g. joe@company.com) > OKOK when done.

The reason I add a number in the email address is because simply replacing the upper case letter with a lower case has no effect on the email address.
0
 

Author Comment

by:grsg
ID: 40464294
Excellent, does just what it says on the can.  Many thanks
0
 
LVL 24

Expert Comment

by:VB ITS
ID: 40464296
Glad I could help :)
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Lotus Notes – formerly IBM Notes – is an email client application, while IBM Domino (earlier Lotus Domino) is an email server. The client possesses a set of features that are even more advanced as compared to that of Outlook. Likewise, IBM Domino is…
This article explains how to install and use the NTBackup utility that comes with Windows Server.
In this video we show how to create an Accepted Domain in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Mail Flow >> Ac…
how to add IIS SMTP to handle application/Scanner relays into office 365.
Suggested Courses

800 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question