is not used any more and exists only for history. Post new tickets on the Github account. n'est plus utilisée, et existe uniquement pour son historique. Postez les nouveaux tickets sur le compte github.

Opened 14 years ago

Closed 14 years ago

#314 closed bug (fixed)

Undefined variable error dans jMailer.class.php jelix 1.0beta3

Reported by: e-media Owned by:
Priority: low Milestone: Jelix 1.0 RC1
Component: jelix:utils Version: 1.0 beta3
Severity: trivial Keywords:
Cc: Blocked By:
Blocking: Documentation needed:
Hosting Provider: Php version:

Description (last modified by laurentj)

En utilisant la classe jMailer et envoie smtp, si l'email est invalide avec par exemple ... $email="monmail@…,domaine2@…"; $mail->AddBCC($email); ... On obtient cette erreur [notice 1] Undefined variable: error /var/jelix/lib/jelix/utils/jMailer.class.php 500

vient du fait qu'on a $error.=... et que nulle par, on a initialiser $error=""

Change History (2)

comment:1 Changed 14 years ago by laurentj

  • Component changed from jelix to jelix:utils
  • Description modified (diff)
  • Milestone set to Jelix 1.0
  • Priority changed from normal to low
  • Severity changed from normal to trivial

comment:2 Changed 14 years ago by laurentj

  • Resolution set to fixed
  • Status changed from new to closed

Fixed in the trunk and 1.0beta3.x branch. Thanks.

Note: See TracTickets for help on using tickets.