Not send mail

Apr 11, 2014 at 10:52 PM
Hello

The code works correctly, generates the archive without inconvenience.
When I add the option to send mail, generates the following error:
   Cancelled ! 7-Zip reported a fatal error.
   NO VALID ARCHIVE HAS BEEN CREATED

   Sending notification email ...

   Done.
I find what is wrong.

Thank you.

Carlos.
Coordinator
Apr 22, 2014 at 8:44 PM
Hello Carlos,
and thankyou for using the script.

The behavior you describe is very strange: the job done by 7zip is not (should not be) affected wether or not report email is sent.

Could you post the exact command line switches you use ?
Apr 22, 2014 at 11:23 PM

Hello Anlan

I Send you a screenshot with the output generated by the script. I also attached the script.

Call the script as follows:

.\7zBackup.ps1 --type full --selection e:\tempp\origen\seleccion.txt --destpath e:\tempp\destino --notifyto [email removed] --notifyfrom [email removed] --notifyextra none --smtpserver smtp.midominio.com --smtpport 25 --smtpuser [email removed] --smtppass abc1234

Thank you

Atte. Carlos

De: Anlan [email removed]
Enviado el: martes, 22 de abril de 2014 16:45
Para: [email removed]
Asunto: Re: Not send mail [7zbackup:542043]

From: Anlan

Hello Carlos,
and thankyou for using the script.

The behavior you describe is very strange: the job done by 7zip is not (should not be) affected wether or not report email is sent.

Could you post the exact command line switches you use ?

Oct 7, 2014 at 7:52 PM
I got the same problem, if I set email variables I get "Cancelled ! 7-Zip reported a fatal error. NO VALID ARCHIVE HAS BEEN CREATED"