Passing perameter to DSSendMail fuction
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 3337
- Joined: Mon Jan 17, 2005 4:49 am
- Location: United Kingdom
Hi,
do you get the mail sent without the log report?
do you receive any mail as specified by the recipiat clause?
the most simple way to get this info will be to build a blank sequence job, add a notification activity + put some thing in the values neede and compile the job.
then simply look in the properties under the Job Control tab.
at first look your code seems to have no Log variable included in it?!.
by the way AFAIR (As Far As I Remember) no info is returned back.
depnding on the mail seteup in your company E-mails with a none valid email addesses or maybe company valid addresses in the sender's part might result in no mail being sent!
so try using company valid E-mail and recheck it.
IHTH,
do you get the mail sent without the log report?
do you receive any mail as specified by the recipiat clause?
the most simple way to get this info will be to build a blank sequence job, add a notification activity + put some thing in the values neede and compile the job.
then simply look in the properties under the Job Control tab.
at first look your code seems to have no Log variable included in it?!.
by the way AFAIR (As Far As I Remember) no info is returned back.
depnding on the mail seteup in your company E-mails with a none valid email addesses or maybe company valid addresses in the sender's part might result in no mail being sent!
so try using company valid E-mail and recheck it.
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
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
Hi Rajender,
I have the exact requirement and i am doing as follows:
Create the jobsequence with the jobs you want and for each job add a email notification stage ( if you want to send each job log as email) and check the jobstatus check box in email notification stage. Then compile this job and take out the code and paste it in a new job(server job not a sequence job).
Then Remove the dsmakejobreport function and add your dsgetlogsummary code. Then you are all set.
That's working absolutely fine and if you have questions let me know
sandeep
I have the exact requirement and i am doing as follows:
Create the jobsequence with the jobs you want and for each job add a email notification stage ( if you want to send each job log as email) and check the jobstatus check box in email notification stage. Then compile this job and take out the code and paste it in a new job(server job not a sequence job).
Then Remove the dsmakejobreport function and add your dsgetlogsummary code. Then you are all set.
That's working absolutely fine and if you have questions let me know
sandeep
Hi Rajender,
Even i am doing that in job control. [b]I just wanted to you to paste the code that generated in the sequence not the sequence [/b]and use the variable in that code in your mail syntax. Anyway you are using Dsendmail routine which is used by emailnotification stage.
Either way you can do every thing in job control. R u using any unix commands to send the mail? If not this should work.
I don't see any problem there. Let me know any questions
sandeep
Even i am doing that in job control. [b]I just wanted to you to paste the code that generated in the sequence not the sequence [/b]and use the variable in that code in your mail syntax. Anyway you are using Dsendmail routine which is used by emailnotification stage.
Either way you can do every thing in job control. R u using any unix commands to send the mail? If not this should work.
I don't see any problem there. Let me know any questions
sandeep
Hi,
getting my job report means I'm still running?!
you should get a report of jobs that have already finished running!
IHTH,
getting my job report means I'm still running?!
you should get a report of jobs that have already finished running!
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
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