 |
SoftTree Technologies
Technical Support Forums
|
|
Author |
Message |
Roger257
Joined: 11 Oct 2008 Posts: 1 Country: United States |
|
Basic question on emailing from a job |
|
First time with 24X7 (win v3.4.33) and I'm having sending an email from a job.
I would like to send an email via SMTP. My SMTP server does not require authentication. When I add a email recipient through the job wizard (with the account/password field blank), it sends an email fine, but I would like to customize the message more (like customizing the subject).
So I'm trying to do this via a MailSend command and can't get it to work. I have my Email interface set to SMTP and my SMTP server set in Options.
Could someone please provide me an example of using the MailSend just using simple SMTP without authentication?
I currently have MailSend "THPjobService@mydomain.com", , "recipent@mydomain.com", "testing", "test body")
and this just doesnt seem to run, but get no errors.
Thanks,
Roger
|
|
Sat Oct 11, 2008 2:53 pm |
|
 |
SysOp
Site Admin
Joined: 26 Nov 2006 Posts: 7949
|
|
|
|
JAL syntax doesn't support optional parameters. If a parameter value is not required, specify an empty value of proper type, for example,
 |
 |
MailSend( "THPjobService@mydomain.com", "", "recipent@mydomain.com", "testing", "test body" ) |
|
|
Sat Oct 11, 2008 3:02 pm |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|