senditquiet -s smtp.gmail.com -port 587 -u myMailId@gmail.com -p my_password -f mail_id/@gmail.com -t $mail_id@gmail.com -protocol ssl -files C:\ComboFix.txt
There are all sorts of special characters in that.
And a variable that you want to resolve.
Because of the latter - you MUST use double quotes.
But because of that you must escape the specials: @ \
And for testing you need to use the following form.
my $cmd = "senditquiet -s...";
print "$cmd\n";
system($cmd);
Then it will print the command that you are trying to process and you can try that in a console by coping it from the console and running it yourself.
Additional notes
- Presumably you are checking the return value of system for errors.
- You should be using "use strict;" at the top of your perl script.
- You should be running perl with "perl -w ..."
The latter two items should show errors.