S
spcruise
I have an A07 database with an SQL backend that has email functionality
incorporated through the use of code found in this discussion group.
I have a sperate PC that monitors an sql table that holds email requests.
When a new email request record is found in the table the email database
applicaion retreives all the information needed to compose an email; TO,
FROM, SUBJECT, BODY and the path to any attachments.
This email application has worked flawlessly and with out user intervention
for almost a year. My company has begun to implement Group Policy for Notes
8 and has chosen to not allow a users Mail File Location to be set to "On
Server". This policy is pushed down approx every 6 hours (4 times a day).
As long as I check it peridodially and set it back to "On Server", it will
process emails. Otherwise, the emails sit in the queue until it is set back
to "On Server".
I have located the following code that retrieves the Mail Type. It returns
a value of 1 if the Mail File Location is set to "Local" and a vaule of 0 if
set to "On Server".
Dim mailtype As String
mailtype = notessession.getenvironmentstring("mailtype", True)
What I am looking for is the code to set the Mail File Location to "On
Server" once I have determined through code that the Mail Type is 1. Then my
existing code could contiune and process emails.
Any help is greatly appreciated.
incorporated through the use of code found in this discussion group.
I have a sperate PC that monitors an sql table that holds email requests.
When a new email request record is found in the table the email database
applicaion retreives all the information needed to compose an email; TO,
FROM, SUBJECT, BODY and the path to any attachments.
This email application has worked flawlessly and with out user intervention
for almost a year. My company has begun to implement Group Policy for Notes
8 and has chosen to not allow a users Mail File Location to be set to "On
Server". This policy is pushed down approx every 6 hours (4 times a day).
As long as I check it peridodially and set it back to "On Server", it will
process emails. Otherwise, the emails sit in the queue until it is set back
to "On Server".
I have located the following code that retrieves the Mail Type. It returns
a value of 1 if the Mail File Location is set to "Local" and a vaule of 0 if
set to "On Server".
Dim mailtype As String
mailtype = notessession.getenvironmentstring("mailtype", True)
What I am looking for is the code to set the Mail File Location to "On
Server" once I have determined through code that the Mail Type is 1. Then my
existing code could contiune and process emails.
Any help is greatly appreciated.