.NET Assembly - Can't Create Mailbox

Discussion for developers using MailEnable.
Post Reply
Shane
Posts: 4
Joined: Fri Sep 19, 2003 4:01 am

.NET Assembly - Can't Create Mailbox

Post by Shane »

Hi,

For some reason, I can't create a mailbox at all. The addressmap and login both create fine.

Here is my mailbox code:

Code: Select all

box.Postoffice = domain_name;
				box.Mailbox = username;
							
				box.Limit = -1;
				box.RedirectAddress = "";
			    box.RedirectStatus = 0;
				box.Status = 1;
				
				
				int result;
				result = box.AddMailbox();
result returns 0.

The variables username and domain name are typed correctly and contain values as I have written most of the values to a log file.

KevinRHurst
Posts: 14
Joined: Thu Oct 07, 2004 5:13 pm
Location: Albuquerque, NM, USA
Contact:

Post by KevinRHurst »

Did you ever get this worked out? I am having the same problem.
Kevin R Hurst

Frunder Studios
Albuquerque, NM
87120-1023

www.frunder.com
____________________

kinda like thunder...

Guest

Post by Guest »

i could get it to work successfully in C#, so i think it should ok on VB.net

You may need to check the permission on Postoffice and Configure folders, make sure they have aspnet modify permission

Post Reply