would you know what is the IP address of the SMTP GMAIL (It allows you to send mail from a batch windows)
@echo off
set repertoire="C:\Mon repertoire\"
set [email protected]
set [email protected]
set copie=-cc [email protected]
set subj=-s "Titre de mon message"
set server=-server smtp.domaine.com
set x=-x "X-Header-Test: header supplémentaire optionnel inséré dans le mail"
set debug=-debug -log envois-mails.log -timestamp
FOR /F "tokens=*" %%i IN ('DIR /B /O-D %repertoire%*.log') DO set fichier="%repertoire:"=%%%i" && GOTO DONE || GOTO DONE
: DONE
blat %fichier% -mime -8bitmime -to %eMail% %copie% -f %emetteur% %subj% %server% %debug% %x%
thank you in advance