Skip to Content
0
May 18, 2010 at 02:22 AM

Regarding smtp_to error

57 Views

Hi ,

iam executing my script with smtp_to function but it is giving error like this

1420 5456 EML-160101 5/10/2010 1:12:22 PM |Session New_Job

1420 5456 EML-160101 5/10/2010 1:12:22 PM Wrong command line mailer syntax. Usage: <executable name> -f<Mail from> -t<Recipients list, separated by commas, whole list in

1420 5456 EML-160101 5/10/2010 1:12:22 PM quotes> -s<Subject of Mail> -m<File name with e-mail message> -a<Attachment file name> -v (verbose mode; if defined, will

1420 5456 EML-160101 5/10/2010 1:12:22 PM output diagnostics).

i enables smtp in the job server and gave the sender and server and gave the domain name in the iis properties.

thi sis my statement in the script

smtp_to(mail address1,mail address2,'Test','Test',1,1);