• Resolved meryemelouaraa

    (@meryemelouaraa)


    Hii,
    After installing the plugin, I added the automation email then I sent a test email, at first it works but when I changed the title of my email, I want to send a second test email, a error message appears. I tested 2 addresses, I deleted it and added a second one I did a lot of testing but it doesn’t work all the tests are marked as failed in ‘Outcomes’ 🙁 🙁 and on the woocommerce journal I found the message.
    Please help me to activate it

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support damianmachnik

    (@damianmachnik)

    Hi @meryemelouaraa

    Sorry for any inconvenience caused. Could you

    1. Send screenshot with aforementioned error message?
    2. In the Outcomes, its last column (Options) you should be able to check logs (View logs). Click on it and copy and paste what you will find inside?

    If you do not want to disclose logs publicly, write us a message at hello@shopmagic.app

    Thread Starter meryemelouaraa

    (@meryemelouaraa)

    1. error msg : There was an error when sending a test email. Check your settings and try again.

    2. the message is :

    Timestamp	18/02/2021 14 h 23 min:55
    Message	alert: Could not instantiate mail function.
    Context	
    Code:
    
    'wp_mail_failed'
    Error_data:
    
    array (
      'to' => 
      array (
        0 => 'meryem.elouaraa@gmail.com',
      ),
      'subject' => 'Vignette Crit\'Air - Informations Complémentaires',
      'message' => '<p>Bonjour mery,</p>
    <p> </p>
    <div>
    <p>Vous avez effectué une demande pour un certificat de qualité de l’air sur notre site internet <a href="https://vignette-antipollution-france.fr/" target="_blank" rel="noopener" data-saferedirecturl="https://www.google.com/url?q=https://vignette-antipollution-france.fr/&source=gmail&ust=1613736294014000&usg=AFQjCNEQaAKabyVVUcgs6-rloz5GP9pTgA">www.vignette-antipollution-france.fr </a>et nous vous remercions pour votre confiance.</p>
    </div>
    <div>
    <div>Pour les véhicules immatriculés à l\'étranger (Hors de France), il conviendra de nous préciser, par retour de mail, les informations suivantes, à l\'identique du Certificat d\'immatriculation:</div>
    </div>
    <div></div>
    <div>
    <p>- <strong>N° d\'immatriculation</strong> [Champ A**]</p>
    <div>
    <div>- <strong>Date de première immatriculation</strong> [Champ B**]</div>
    <div>- <strong>Catégorie de véhicule</strong> [Champ J**]</div>
    <div></div>
    <div>- <strong>Carburant</strong> [Champ P.3**]</div>
    <div></div>
    <div>- <strong>S\'il s\'agit d\'un véhicule hybride</strong> : est-il rechargeable ou  non rechargeable ?</div>
    <div></div>
    <div>- <strong>Pays d\'immatriculation</strong></div>
    <div></div>
    <div><span style="vertical-align: inherit;">- </span><strong><span style="vertical-align: inherit;">Numéro de série</span></strong><span style="vertical-align: inherit;"> [Champ E **]</span></div>
    <div></div>
    <div>- <strong>Marque</strong> [Champ D.1**]</div>
    <div></div>
    <div>- <strong>Nom commercial du modèle</strong> [Champ D.3**]</div>
    <div></div>
    <div>- <strong>Norme Euro</strong> [Champ V.9**]</div>
    <div></div>
    <div>- <strong>Emission de CO2</strong> [Champ V.7**]</div>
    <div></div>
    <div></div>
    <div>
    <div><span style="color: #ff0000;">ATTENTION:</span> vous devrez également nous joindre, par retour de mail, le <strong>justificatif d\'immatriculation</strong> (copie de la carte grise).</div>
    <div></div>
    <div></div>
    <div>Dans l\'attente d\'un retour,</div>
    <div></div>
    <div></div>
    <div>Cordialement.</div>
    </div>
    </div>
    </div>
    ',
      'headers' => 
      array (
      ),
      'attachments' => 
      array (
      ),
      'phpmailer_exception_code' => 2,
    )
    WP_Error:
    
    array (
      'errors' => 
      array (
        'wp_mail_failed' => 
        array (
          0 => 'Could not instantiate mail function.',
        ),
      ),
      'error_data' => 
      array (
        'wp_mail_failed' => 
        array (
          'to' => 
          array (
            0 => 'meryem.elouaraa@gmail.com',
          ),
          'subject' => 'Vignette Crit\'Air - Informations Complémentaires',
          'message' => '<p>Bonjour mery,</p>
    <p> </p>
    <div>
    <p>Vous avez effectué une demande pour un certificat de qualité de l’air sur notre site internet <a href="https://vignette-antipollution-france.fr/" target="_blank" rel="noopener" data-saferedirecturl="https://www.google.com/url?q=https://vignette-antipollution-france.fr/&source=gmail&ust=1613736294014000&usg=AFQjCNEQaAKabyVVUcgs6-rloz5GP9pTgA">www.vignette-antipollution-france.fr </a>et nous vous remercions pour votre confiance.</p>
    </div>
    <div>
    <div>Pour les véhicules immatriculés à l\'étranger (Hors de France), il conviendra de nous préciser, par retour de mail, les informations suivantes, à l\'identique du Certificat d\'immatriculation:</div>
    </div>
    <div></div>
    <div>
    <p>- <strong>N° d\'immatriculation</strong> [Champ A**]</p>
    <div>
    <div>- <strong>Date de première immatriculation</strong> [Champ B**]</div>
    <div>- <strong>Catégorie de véhicule</strong> [Champ J**]</div>
    <div></div>
    <div>- <strong>Carburant</strong> [Champ P.3**]</div>
    <div></div>
    <div>- <strong>S\'il s\'agit d\'un véhicule hybride</strong> : est-il rechargeable ou  non rechargeable ?</div>
    <div></div>
    <div>- <strong>Pays d\'immatriculation</strong></div>
    <div></div>
    <div><span style="vertical-align: inherit;">- </span><strong><span style="vertical-align: inherit;">Numéro de série</span></strong><span style="vertical-align: inherit;"> [Champ E **]</span></div>
    <div></div>
    <div>- <strong>Marque</strong> [Champ D.1**]</div>
    <div></div>
    <div>- <strong>Nom commercial du modèle</strong> [Champ D.3**]</div>
    <div></div>
    <div>- <strong>Norme Euro</strong> [Champ V.9**]</div>
    <div></div>
    <div>- <strong>Emission de CO2</strong> [Champ V.7**]</div>
    <div></div>
    <div></div>
    <div>
    <div><span style="color: #ff0000;">ATTENTION:</span> vous devrez également nous joindre, par retour de mail, le <strong>justificatif d\'immatriculation</strong> (copie de la carte grise).</div>
    <div></div>
    <div></div>
    <div>Dans l\'attente d\'un retour,</div>
    <div></div>
    <div></div>
    <div>Cordialement.</div>
    </div>
    </div>
    </div>
    ',
          'headers' => 
          array (
          ),
          'attachments' => 
          array (
          ),
          'phpmailer_exception_code' => 2,
        ),
      ),
    )

    Thank youuuu

    Thread Starter meryemelouaraa

    (@meryemelouaraa)

    Could you help me please 🙏🙏🙏

    Thread Starter meryemelouaraa

    (@meryemelouaraa)

    i have another error message “Error: PHP Mailer – Could not instantiate mail function.”
    please could you help me

    Plugin Support damianmachnik

    (@damianmachnik)

    Hi @meryemelouaraa

    Thanks for update. It’s not ShopMagic’s fault. Moreover, the plugin tells you what is going on:

    Error: PHP Mailer – Could not instantiate mail function

    You see this message when your mail server failed to send an email.

    There may be a number of reasons (outside the plugin) why it happens, here’s a handy article – https://docs.mailpoet.com/article/56-could-not-instantiate-mail-function

    Before digging into this, you can try to resolve this with an SMTP plugin, which you can find here https://wordpress.org/plugins/tags/smtp/

    I’m marking this thread as resolved, as it’s out of the scope of our plugin.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘email doesn’t work’ is closed to new replies.