DSSendMail
Moderators: chulett, rschirm, roy
DSSendMail
I want to use DSSendMail as a post job routine. I am unable to figure out how to give the parameters for the DSSendMail job. Is there a syntax? I am copying the DsDirector report for a run:
JenaTest..AfterJob (DSSendMail): Parameter 1 (''smtp.abcd.com','subrata.jena@abc.com','rana.sinharay@abc.com','testing','','source'') does not start with a keyword
What keyword is expected here?
JenaTest..AfterJob (DSSendMail): Parameter 1 (''smtp.abcd.com','subrata.jena@abc.com','rana.sinharay@abc.com','testing','','source'') does not start with a keyword
What keyword is expected here?
All of the actual parameter names are missing from your string. And you've got an odd mixture of quotes there. Open up the DSSendMail routine by double-clicking on it in the Administrator and check the Long Description for details on exactly how to call this routine.
-craig
"You can never have too many knives" -- Logan Nine Fingers
"You can never have too many knives" -- Logan Nine Fingers
okay
I got the out put.
one issue regarding this
I also wants to attach a file in the DSSendmail post job routine.
I have set the parameter as mentioned below.
From:jordery@abcd.com\nTo:pqr@abcd.com\nServer:smtp.ss.com\nAttach /usr/ctg/dbacess.txt
Here the attached file dbacess.txt is not being transferred in the mail only a blank mail is transferred.
Can you suggest me what is the problem?
I got the out put.
one issue regarding this
I also wants to attach a file in the DSSendmail post job routine.
I have set the parameter as mentioned below.
From:jordery@abcd.com\nTo:pqr@abcd.com\nServer:smtp.ss.com\nAttach /usr/ctg/dbacess.txt
Here the attached file dbacess.txt is not being transferred in the mail only a blank mail is transferred.
Can you suggest me what is the problem?
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
ok ray,
I gave the colon after attach still the attachment nt getting transferred.
The syntax is like this
From:jordery@abcd.com\nTo:pqr@abcd.com\nServer:smtp.ss.com\nAttach:/usr/ctg/dbacess.txt
any suggestions??
I gave the colon after attach still the attachment nt getting transferred.
The syntax is like this
From:jordery@abcd.com\nTo:pqr@abcd.com\nServer:smtp.ss.com\nAttach:/usr/ctg/dbacess.txt
any suggestions??
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Take a look at the demonstration routine DSSendMailTesterAttachment. Try it with your values. If it works, diagnose the differences. If it doesn't work, read the error messages (double click the Result cell in the test grid) carefully. Carefully.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact: