outlook2000 modprof - how to create multiple internet mail services

R

Roger

I've got a prf (internet mail) that modprof will append to a existing
profile
works great

if I create a second prf (see attached) for a second internet mail
account, modprof will delete the whole profile - is there a way to
prevent this ?
ps... I can't go buy another profiler... I have to do it with modprof

note, the only difference between the two prf's, the word 'scanner21'
becomes 'scanner23'

; ************************************************************************
; Section 1 - Profile defaults.
; ************************************************************************
[General]
Custom=1
ProfileName=rogerl
DefaultProfile=No
OverwriteProfile=Append
;ModifyDefaultProfileIfPresent=Yes
UniqueService=No

; ************************************************************************
; Section 2 - Services in profile.
; ************************************************************************
; The list of MAPI services that will be added to the profile.
[Service List]
Service1=Internet E-mail
; If you add an Internet E-mail service, you also have to add an
Account in
; section 3.

; ************************************************************************
; Section 3 - List of internet accounts.
;*******************************************************************
; The list of accounts that will be created.

[Internet Account List]
Account1=I_Mail

; ************************************************************************
; Section 4 - Default values for each service.
; ************************************************************************

[Service1]
AccountName=Scanner21
' The AccountName has to match the Account name in Section 5.
LongAccountName=Internet E-mail - Scanner21
; The LongAccountName always has to be "Internet E-mail -" + <space> +
AccountName

; ************************************************************************
; Section 5 - Values for each internet account.
; *******************************************************************
; The settings for each account that will be created. The available
; account settings are listed in Section 3, below.

[Account1]
; This is an example of a POP3 account
AccountName=Scanner21
SMTPDisplayName=lesperancer
POP3Server=199.185.239.97
SMTPServer=199.185.239.97
POP3LogonName=lesperancer@npe
POP3Password=x
[email protected]
;POP3UseSPA=0
SMTPName=lesperancer
[email protected]
;SMTPUseAuth=0
;SMTPAuthMethod=0
;ConnectionType=0
;LeaveOnServer=0x0
;POP3Port=110
;POP3UseSSL=0
;ServerTimeOut=60
;SMTPPort=25
;SMTPUseSSL=0
SMTPOrgName=NPE

; ************************************************************************
; Section 6 - Mapping for profile properties. DO NOT MODIFY.
; ************************************************************************
[Internet E-Mail]
; If you configure an Internet E-mail service, then you also need to
add
; information in section 5.

ServiceName=IMAIL
; When creating an Internet E-Mail service, both AccountName and
; LongAccountName MUST BE specified!

AccountName=PT_STRING8,0x661f
; This should be exactly the same as the I_Mail AccountName
; property.

LongAccountName=PT_STRING8,0x3001
; This should be the "Internet E-mail - " + the AccountName
; property. For example, if AccountName="foo", then this
; should be "Internet E-mail - foo".
UniqueService=No

; ************************************************************************
; Section 7 - Mapping for internet account properties. DO NOT MODIFY.
; ************************************************************************

; Internet E-Mail service Settings/Definitions
; In a Corporate or Workgroup configuration, the only type of account
that
; can be created is an I_MAIL (POP3) account. You can use settings
from
; the [I_Mail] section below.
;

[I_Mail]
; *****************************
; *** Mail Account Settings ***
; *****************************
; Configurable settings for POP3 (Corporate and Intenet Only configs)
; and IMAP (Internet Only config only) mail accounts

AccountName=PT_STRING8,0x1235
; The name of the account that appears in the Account List.

ConnectionType=PT_DWORD,0x1239
; Values:
; 0 = Connect using local area network (LAN).
; 1 = Connect using Internet Explorer's or a 3rd party dialer.
; 2 = Connect using modem and the Dial-up Networking connection
; specified in the Connectoid property.

Connectoid=PT_STRING8,0x123A
; Specify the existing Dial-up Networking connection to use.

POP3Server=PT_STRING8,0x13C4
; Specifies the name of the POP3 server used for incoming messages.

POP3UseSicily=PT_BOOLEAN,0x13C8
; Set to 1 if you want to use Secure Password Authentication to logon
; to the POP3 server.

POP3LogonName=PT_STRING8,0x13C5
; If POP3UseSicily is turned on, this sets the name used to logon
; to the POP3 server.

POP3Port=PT_DWORD,0x13C9
; Specfies the port number used to connect to the POP3 server.

POP3SSL=PT_BOOLEAN,0x13CA
; Set to 1 to use the SSL (Secure Sockets Layer) security protocal to
; connect to the POP3 server.

POP3TimeOut=PT_DWORD,0x13CB
; Specifies how long to wait for a response for the server before
; stopping to attempt to send or receive messages. Possible values:
; 30 = 30 seconds
; 60 = 1 minute
; 90 = 1 minute 30 seconds
; 120 = 2 minutes
; 150 = 2 minutes 30 seconds
; 180 = 3 minutes
; 210 = 3 minutes 30 seconds
; 240 = 4 minutes
; 270 = 4 minutes 30 seconds
; 300 = 5 minutes

POP3LeaveOnServer=PT_BOOLEAN,0x13CC
; Set to 1 to store a copy of all sent and received messages on the
; POP3 server.

POP3RemoveExpired=PT_BOOLEAN,0x13CE
; If POP3LeaveOnServer is turned on, set to 1 to delete messages on
; the server after a specific number of days (see also
; POP3ExpireDays).

POP3ExpireDays=PT_DWORD,0x13CF
; If POP3LeaveOnServer and POP3RemoveExpired are turned on, sets
; the number of days after which messages left on the server will
; be deleted.

POP3RemoveDeleted=PT_BOOLEAN,0x13CD
; This property is only supported on Outlook 98 (8.5)or higher! If
; you try to use it on Outlook 97 (8.0x) the account will not be
; created.
; If POP3LeaveOnServer is turned on, set to 1 to delete a message
; from the server when the message is deleted from the Deleted
; Items folder on the local machine.

SMTPServer=PT_STRING8,0x1428
; Specifies the name of the SMTP server used for outcoming messages.

SMTPUseSicily=PT_DWORD,0x142C
; Values:
; 0 = No server authentication required.
; 1 = Use Secure Password Authentication, or set SMTP server logon
; name using SMTPLogonName.

SMTPLogonName=PT_STRING8,0x1429
; If SMTPUseSicily is set to 1, this sets the name used to logon to
; the SMTP server.

SMTPPort=PT_DWORD,0x142D
; Specfies the port number used to connect to the SMTP server.

SMTPSSL=PT_BOOLEAN,0x142E
; Set to 1 to use the SSL (Secure Sockets Layer) security protocal to
; connect to the SMTP server.

SMTPTimeOut=PT_DWORD,0x142F
; Specifies how long to wait for a response for the server before
; stopping to attempt to send or receive mail messages. Values are
; the same as POP3TimeOut.

SMTPDisplayName=PT_STRING8,0x1430
; Specifies the "friendly" name associated with the email address.

SMTPOrgName=PT_STRING8,0x1431
; Specifies the group or organization.

SMTPEmailAddress=PT_STRING8,0x1432
; Specifies the email address. Must be in the format name@company

SMTPReplyAddress=PT_STRING8,0x1433
; Specifies that replies to outgoing email should be sent to this
; email address.

SMTPSplitMessages=PT_BOOLEAN,0x1434
; This property is only supported on Outlook 98 (8.5) or higher! If
; you try to use it on Outlook 97 (8.0x) the account will not be
; created.
; Set to 1 to break up outgoing messages, so that each message is
; smaller than the file size indicated by SMTPSplitSize.

SMTPSplitSize=PT_DWORD,0x1435
; The maximum size, in KB, of a piece of a split message.
 
R

Roger

now, today, even the first prf fails
with 'unable to get unique identifier for Internet e-mail'

it creates the service, but the data fields are blank
if the profile doesn't exist, it creates it properly

any idea why ?
how else can I automatically add a new service ?
why is this so hard ?

I've got a prf (internet mail) that modprof will append to a existing
profile
works great

if I create a second prf (see attached) for a second internet mail
account, modprof will delete the whole profile - is there a way to
prevent this ?
ps... I can't go buy another profiler... I have to do it with modprof

note, the only difference between the two prf's, the word 'scanner21'
becomes 'scanner23'

; ************************************************************************
; Section 1 - Profile defaults.
; ************************************************************************
[General]
Custom=1
ProfileName=rogerl
DefaultProfile=No
OverwriteProfile=Append
;ModifyDefaultProfileIfPresent=Yes
UniqueService=No

; ************************************************************************
; Section 2 - Services in profile.
; ************************************************************************
; The list of MAPI services that will be added to the profile.
[Service List]
Service1=Internet E-mail
; If you add an Internet E-mail service, you also have to add an
Account in
; section 3.

; ************************************************************************
; Section 3 - List of internet accounts.
;*******************************************************************
; The list of accounts that will be created.

[Internet Account List]
Account1=I_Mail

; ************************************************************************
; Section 4 - Default values for each service.
; ************************************************************************

[Service1]
AccountName=Scanner21
' The AccountName has to match the Account name in Section 5.
LongAccountName=Internet E-mail - Scanner21
; The LongAccountName always has to be "Internet E-mail -" + <space> +
AccountName

; ************************************************************************
; Section 5 - Values for each internet account.
; *******************************************************************
; The settings for each account that will be created. The available
; account settings are listed in Section 3, below.

[Account1]
; This is an example of a POP3 account
AccountName=Scanner21
SMTPDisplayName=lesperancer
POP3Server=199.185.239.97
SMTPServer=199.185.239.97
POP3LogonName=lesperancer@npe
POP3Password=x
[email protected]
;POP3UseSPA=0
SMTPName=lesperancer
[email protected]
;SMTPUseAuth=0
;SMTPAuthMethod=0
;ConnectionType=0
;LeaveOnServer=0x0
;POP3Port=110
;POP3UseSSL=0
;ServerTimeOut=60
;SMTPPort=25
;SMTPUseSSL=0
SMTPOrgName=NPE

; ************************************************************************
; Section 6 - Mapping for profile properties. DO NOT MODIFY.
; ************************************************************************
[Internet E-Mail]
; If you configure an Internet E-mail service, then you also need to
add
; information in section 5.

ServiceName=IMAIL
; When creating an Internet E-Mail service, both AccountName and
; LongAccountName MUST BE specified!

AccountName=PT_STRING8,0x661f
; This should be exactly the same as the I_Mail AccountName
; property.

LongAccountName=PT_STRING8,0x3001
; This should be the "Internet E-mail - " + the AccountName
; property. For example, if AccountName="foo", then this
; should be "Internet E-mail - foo".
UniqueService=No

; ************************************************************************
; Section 7 - Mapping for internet account properties. DO NOT MODIFY.
; ************************************************************************

; Internet E-Mail service Settings/Definitions
; In a Corporate or Workgroup configuration, the only type of account
that
; can be created is an I_MAIL (POP3) account. You can use settings
from
; the [I_Mail] section below.
;

[I_Mail]
; *****************************
; *** Mail Account Settings ***
; *****************************
; Configurable settings for POP3 (Corporate and Intenet Only configs)
; and IMAP (Internet Only config only) mail accounts

AccountName=PT_STRING8,0x1235
; The name of the account that appears in the Account List.

ConnectionType=PT_DWORD,0x1239
; Values:
; 0 = Connect using local area network (LAN).
; 1 = Connect using Internet Explorer's or a 3rd party dialer.
; 2 = Connect using modem and the Dial-up Networking connection
; specified in the Connectoid property.

Connectoid=PT_STRING8,0x123A
; Specify the existing Dial-up Networking connection to use.

POP3Server=PT_STRING8,0x13C4
; Specifies the name of the POP3 server used for incoming messages.

POP3UseSicily=PT_BOOLEAN,0x13C8
; Set to 1 if you want to use Secure Password Authentication to logon
; to the POP3 server.

POP3LogonName=PT_STRING8,0x13C5
; If POP3UseSicily is turned on, this sets the name used to logon
; to the POP3 server.

POP3Port=PT_DWORD,0x13C9
; Specfies the port number used to connect to the POP3 server.

POP3SSL=PT_BOOLEAN,0x13CA
; Set to 1 to use the SSL (Secure Sockets Layer) security protocal to
; connect to the POP3 server.

POP3TimeOut=PT_DWORD,0x13CB
; Specifies how long to wait for a response for the server before
; stopping to attempt to send or receive messages. Possible values:
; 30 = 30 seconds
; 60 = 1 minute
; 90 = 1 minute 30 seconds
; 120 = 2 minutes
; 150 = 2 minutes 30 seconds
; 180 = 3 minutes
; 210 = 3 minutes 30 seconds
; 240 = 4 minutes
; 270 = 4 minutes 30 seconds
; 300 = 5 minutes

POP3LeaveOnServer=PT_BOOLEAN,0x13CC
; Set to 1 to store a copy of all sent and received messages on the
; POP3 server.

POP3RemoveExpired=PT_BOOLEAN,0x13CE
; If POP3LeaveOnServer is turned on, set to 1 to delete messages on
; the server after a specific number of days (see also
; POP3ExpireDays).

POP3ExpireDays=PT_DWORD,0x13CF
; If POP3LeaveOnServer and POP3RemoveExpired are turned on, sets
; the number of days after which messages left on the server will
; be deleted.

POP3RemoveDeleted=PT_BOOLEAN,0x13CD
; This property is only supported on Outlook 98 (8.5)or higher! If
; you try to use it on Outlook 97 (8.0x) the account will not be
; created.
; If POP3LeaveOnServer is turned on, set to 1 to delete a message
; from the server when the message is deleted from the Deleted
; Items folder on the local machine.

SMTPServer=PT_STRING8,0x1428
; Specifies the name of the SMTP server used for outcoming messages.

SMTPUseSicily=PT_DWORD,0x142C
; Values:
; 0 = No server authentication required.
; 1 = Use Secure Password Authentication, or set SMTP server logon
; name using SMTPLogonName.

SMTPLogonName=PT_STRING8,0x1429
; If SMTPUseSicily is set to 1, this sets the name used to logon to
; the SMTP server.

SMTPPort=PT_DWORD,0x142D
; Specfies the port number used to connect to the SMTP server.

SMTPSSL=PT_BOOLEAN,0x142E
; Set to 1 to use the SSL (Secure Sockets Layer) security protocal to
; connect to the SMTP server.

SMTPTimeOut=PT_DWORD,0x142F
; Specifies how long to wait for a response for the server before
; stopping to attempt to send or receive mail messages. Values are
; the same as POP3TimeOut.

SMTPDisplayName=PT_STRING8,0x1430
; Specifies the "friendly" name associated with the email address.

SMTPOrgName=PT_STRING8,0x1431
; Specifies the group or organization.

SMTPEmailAddress=PT_STRING8,0x1432
; Specifies the email address. Must be in the format name@company

SMTPReplyAddress=PT_STRING8,0x1433
; Specifies that replies to outgoing email should be sent to this
; email address.

SMTPSplitMessages=PT_BOOLEAN,0x1434
; This property is only supported on Outlook 98 (8.5) or higher! If
; you try to use it on Outlook 97 (8.0x) the account will not be
; created.
; Set to 1 to break up outgoing messages, so that each message is
; smaller than the file size indicated by SMTPSplitSize.

SMTPSplitSize=PT_DWORD,0x1435
; The maximum size, in KB, of a piece of a split message.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top