DSSendMail working with some users only

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
gpbarsky
Participant
Posts: 160
Joined: Tue May 06, 2003 8:20 pm
Location: Argentina

DSSendMail working with some users only

Post by gpbarsky »

Hi forumers...

I have problems sending a mail from within DS. The mail is sent when all the processes could start without any problem.

This is a scheduled process in the Windows Scheduled Tasks screen (an *.bat is invoked).

When the user of the scheduled task is an administrator, the mail is sent.

When the user of the scheduled task is not an administrator, I got an error saying that an error occurred in the DSSendMail routine.

What kind of accesses does the user who will use the DSSendMail routine need ?

Any help will be appreciated.

Thanks in advance.
Guillermo P. Barsky
Buenos Aires - Argentina
roy
Participant
Posts: 2598
Joined: Wed Jul 30, 2003 2:05 am
Location: Israel

Post by roy »

Hi,
The reasons I can think of (right now):
1. users which are not administrator (hence called other users) have no access/privilages to invoke your mailing program.
2. other users have no account in the mail server and if it checks for valid accounts no mail will be sent (not sure if this produces errors).
3. other useres have no access/privilages to the directory in which the temporrary mail file is produced in hence failing to send the mail.

IHTH,
Roy R.
Time is money but when you don't have money time is all you can afford.

Search before posting:)

Join the DataStagers team effort at:
http://www.worldcommunitygrid.org
Image
Post Reply