• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 847
  • Last Modified:

How to transfer email from one account to another within Exchange 2007?

Hello,

I've got a user that has two email account within exchange and not sure how this happened. Now this user has been getting email sent to one account she doesn't use and had no idea she had. What I need to do is transfer her email from one account to the other and also maybe change her existing email address as well. Can an Expert provide me the instructions on how to accomplish this?

Thanks,

Jaime Campos
0
Jaime Campos
Asked:
Jaime Campos
  • 6
  • 6
1 Solution
 
endital1097Commented:
run the following:
export-mailbox user2 -targetmailbox user1 -deletecontent



0
 
Jaime CamposAuthor Commented:
am I putting email address that I want to export on User2 and the target will be new email address (User1)? Will the -deletecontent delete all information in user 2 (unwanted email) mailbox? If I don't want to delete anything yet can I leave out that switch?
0
 
endital1097Commented:
you can use either the alias or email address
yes, the deletecontent will remove from the source mailbox and can be excluded
0
Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

 
Jaime CamposAuthor Commented:
This is what I typed into Exchange Management Shell

export-mailbox email@domain.com  -targetmailbox newemail@domain.com

this is what I got back.

cmdlet Export-Mailbox at command pipeline position 1
Supply values for the following parameters:
TargetFolder:

Any idea why?
0
 
endital1097Commented:
That is required with the targetmailbox
You should be able to use \
0
 
Jaime CamposAuthor Commented:
Got an error on status message.

TargetFolder: export-mailbox lcabrera2@rapadocs.com\-targetmailbox lcabrera@rapa
docs.com

Confirm
Are you sure you want to perform this action?
Exporting mailbox content from the mailbox 'Dr. Lisa Cabrera' into the mailbox
for 'Dr. Lisa Cabrera (lcabrera@rapadocs.com)' inside folder '\export-mailbox
lcabrera2@rapadocs.com\-targetmailbox lcabrera@rapadocs.com\Recovered Data -
Dr. Lisa Cabrera - 9/13/2010 8:39:50 AM'. This operation may take a long time
to complete.
[Y] Yes  [A] Yes to All  [N] No  [L] No to All  [S] Suspend  [?] Help
(default is "Y"):A
Export-Mailbox : Error was found for Dr. Lisa Cabrera (lcabrera2@rapadocs.com)
because: Error occurred in the step: Creating target folder in the target mailb
ox. An unknown error has occurred., error code: -2147221233
At line:1 char:15
+ export-mailbox <<<<  lcabrera2@rapadocs.com -targetmailbox lcabrera@rapadocs.
com
    + CategoryInfo          : InvalidOperation: (0:Int32) [Export-Mailbox], Re
   cipientTaskException
    + FullyQualifiedErrorId : 458277B7,Microsoft.Exchange.Management.Recipient
   Tasks.ExportMailbox



Identity                         : RAPA.local/South East/Physicians/Dr. Lisa Ca
                                   brera
DistinguishedName                : CN=Dr. Lisa Cabrera,OU=Physicians,OU=South E
                                   ast,DC=RAPA,DC=local
DisplayName                      : Dr. Lisa Cabrera
Alias                            : lcabrera
LegacyExchangeDN                 : /o=RAPA Email/ou=Exchange Administrative Gro
                                   up (FYDIBOHF23SPDLT)/cn=Recipients/cn=lcabre
                                   ra1
PrimarySmtpAddress               : lcabrera2@rapadocs.com
SourceServer                     : Exchange07.RAPA.local
SourceDatabase                   : EXCHANGE07\First Storage Group\Mailbox Datab
                                   ase
SourceGlobalCatalog              : FILESERVER
SourceDomainController           :
TargetGlobalCatalog              : FILESERVER
TargetDomainController           :
TargetMailbox                    : RAPA.local/Users/Lisa Cabrera
TargetServer                     : Exchange07.RAPA.local
TargetDatabase                   : EXCHANGE07\First Storage Group\Mailbox Datab
                                   ase
MailboxSize                      : 17215KB
IsResourceMailbox                : False
SIDUsedInMatch                   :
SMTPProxies                      :
SourceManager                    :
SourceDirectReports              :
SourcePublicDelegates            :
SourcePublicDelegatesBL          :
SourceAltRecipient               :
SourceAltRecipientBL             :
SourceDeliverAndRedirect         :
MatchedTargetNTAccountDN         :
IsMatchedNTAccountMailboxEnabled :
MatchedContactsDNList            :
TargetNTAccountDNToCreate        :
TargetManager                    :
TargetDirectReports              :
TargetPublicDelegates            :
TargetPublicDelegatesBL          :
TargetAltRecipient               :
TargetAltRecipientBL             :
TargetDeliverAndRedirect         :
Options                          : Default
SourceForestCredential           :
TargetForestCredential           :
TargetFolder                     : \export-mailbox lcabrera2@rapadocs.com\-targ
                                   etmailbox lcabrera@rapadocs.com\Recovered Da
                                   ta - Dr. Lisa Cabrera - 9/13/2010 8:39:50 AM
PSTFilePath                      :
RsgMailboxGuid                   :
RsgMailboxLegacyExchangeDN       :
RsgMailboxDisplayName            :
RsgDatabaseGuid                  :
StandardMessagesDeleted          : 0
AssociatedMessagesDeleted        : 0
DumpsterMessagesDeleted          : 0
MoveType                         : Export
MoveStage                        : Move
StartTime                        : 9/13/2010 8:40:21 AM
EndTime                          : 9/13/2010 8:40:21 AM
StatusCode                       : -2147221233
StatusMessage                    : Error occurred in the step: Creating target
                                   folder in the target mailbox. An unknown err
                                   or has occurred.
ReportFile                       : C:\Program Files\Microsoft\Exchange Server\L
                                   ogging\MigrationLogs\export-Mailbox20100913-
                                   083948-8558219.xml
0
 
endital1097Commented:
export-mailbox email@domain.com  -targetmailbox newemail@domain.com -targetfolder \
0
 
Jaime CamposAuthor Commented:
II'll try it.

I disabled the users old email account cause i wasn't able to sync her iPhone to new email account. It was partnered with old account. I removed partner relationship with old account and it still tried to setup old account. Now maybe I messed up, but I disabled old account and now I do not see old account within management console. I wanted to leave old account in place so i can forward all emails to new account. Now I'm stuck and not sure what to do. Now the iphone says connection to server failed. It's like it hasn't recognize the new email address on server and doesn't want to connect.  
0
 
endital1097Commented:
when you disabled the account did you disable thru ad users and computers or thur exchange mgmt console?
the mgmt console removes the mailbox and you'll need to go to disconnected mialbox under recipient configuration to reconnect the mailbox
0
 
Jaime CamposAuthor Commented:
Exchange mgmt console. I got it. Why doesnt the iphone connect to new email address, is there some sort of refreash setting I need to perform?
0
 
endital1097Commented:
once you remove the account from the phone you should be able to create a new mail account with the current smtp address for the user

get-mailbox user | fl primary*
0
 
Jaime CamposAuthor Commented:
I had to hard reset the device. It works now.Thanks so much for your help.
0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

  • 6
  • 6
Tackle projects and never again get stuck behind a technical roadblock.
Join Now