title: Mail function doesn't work if I execute the php script from a bat file
body: <p>Here, is my php script :</p>
  
  <p><a href="https://i.stack.imgur.com/W7aMD.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/W7aMD.png" alt="enter image description here"></a></p>
  
  <p>my php.ini:</p>
  
  <p><a href="https://i.stack.imgur.com/GJIGP.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/GJIGP.png" alt="enter image description here"></a></p>
  
  <p>if I execute the script using a browser, it works fine :</p>
  
  <p><a href="https://i.stack.imgur.com/Ebjxm.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Ebjxm.png" alt="enter image description here"></a></p>
  
  <p>but if I execute the script using a bat file, it doesn't work.
  <a href="https://i.stack.imgur.com/uBwLk.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/uBwLk.png" alt="enter image description here"></a></p>
  
  <p>here, is my bat file:
  <a href="https://i.stack.imgur.com/OKY0i.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/OKY0i.png" alt="enter image description here"></a></p>