I am validating and creating new IMail users with IIS using ASP.  That is working 
fine.  At the end of the insert script I would like to send the new user a first email 
message.  Since Imail is using port 25 I changed the outgoing and incoming port to 255 
(I have also tried 2525).  I have set the security to "Allow Anonyms Access" and gave 
change permission for IUSR_MACHINENANE to all of the IIS Mail directories.  The code 
is pretty simple and works on other severs.

Dim myMail      'mail object
Dim bodystring  'message to user

bodystring = "message bla bla"

Set myMail = Server.CreateObject("CDONTS.NewMail")

myMail.To = strAddress
myMail.Subject = "Alumni Welcome"
myMail.Body = bodystring
myMail.Send

Set myMail=Nothing

The error I get is;
Microsoft VBScript runtime error '800a0046' 

Permission denied

This would think this is a directory permission error but I have checked all the 
directories.

Any help would be appreciated.

Shawn
Please visit http://www.ipswitch.com/support/mailing-lists.html 
to be removed from this list.

Reply via email to