How To Set Internet Address

Hi All, I am creating a mail box through lotus script.

==============================

reg.RegistrationServer=servername

reg.CreateMailDb=True reg.CertifierIDFile=“c:\Lotus\Domino\Data\cert.id”

reg.Expiration=dt

reg.IDType=ID_HIERARCHICAL

reg.MinPasswordLength=5

reg.IsNorthAmerican=True

reg.OrgUnit=servername

reg.RegistrationLog=“log.nsf”

reg.UpdateAddressBook=True

reg.StoreIDInAddressBook=True

reg.MailQuotaSizeLimit=Clng(mailboxsize)

Call reg.RegisterNewUser(lname,“c:"+uname+”.id",servername,uname,mname,certpassword,“”,“”,“mail/”+uname+“.nsf”,“”,pwd,NOTES_DESKTOP_CLIENT,“”,“”)

==================================

It’s Working well and creating a mail box as well as the id file.

From Where I will set the INTERNET ADDRESS.

Is there special class.

Please guide me.

Subject: How To Set Internet Address

MailInternetAddress property

Read-write. The user’s Internet name for sending and receiving mail.

Note This property is new with Release 6.5.

Defined in

NotesRegistration

Data type

String

Syntax

To get: string$ = notesRegistration.MailInternetAddress

To set: notesRegistration.MailInternetAddress = string$

Usage

Optionally set this property before calling RegisterNewUser.

If this property remains an empty string, the registration process generates an Internet name.

Language cross-reference

MailInternetAddress property in Java Registration class