2
QueueMailBoxMigration not working?
Question asked by David Sovereen - 1/5/2020 at 3:06 PM
Unanswered
Trying to write a script to mass migrate email between a couple servers, and keep getting an 'Object reference not set to an instance of an object.' error. Tried doing a simple GET and POST from my browser and get the same result. The Request URL seems to be what it needs to per the API documentation -

https://mail.myserver.com/services/svcUserAdmin.asmx/QueueMailBoxMigration?AuthUserName=auth_username&AuthPassword=auth_pass&ACCOUNTTYPE=IMAP&DELETECURRENTMAILBOX=False&DESTINATION=test@domain.com&DOMAIN=domain.com&IMPORTITEMS=email&IMPORTTYPE=other&PASSWORD=source_mailbox_password&PORT=143&SERVERADDRESS=source_server_ip&USERNAME=test2@domain.com&USESSL=False

Obviously the above has some generic placeholder values just for demonstration purposes. The error makes it sound like a parameter(s) are missing. We are on SmarterMail Build 7242.

2 Replies

Reply to Thread
0
Employee Replied
Employee Post
Hi David,

What servers are you trying to migrate from (Gmail, O365...)?
0
David Sovereen Replied
IMAP (&ACCOUNTTYPE=IMAP)

Dave

Reply to Thread