Vous pouvez nous poser vos questions par e-mail en utilisant ce formulaire

Raté...
'; } if (isset($_POST["important"])) { } else { if ((isset($_POST["fp-submit"])) && ($_POST['human'] == "6")) { $postdata = array(); foreach($_POST as $name => $value) { // Copy POST to data array and convert array values to strings $postdata[$name] = is_array($value) ? implode(", ",$value) : $value; } $fullname = $postdata['fullname'] ; $email = $postdata['email'] ; $subject = $postdata['subject'] ; $userEmail = "machouis@gmail.com"; $body = ""; foreach($postdata as $name => $value) { if ( ($name != "subject") && ($name != "fullname") && ($name != "email") && ($name != "fp-submit") && ($name != "MAX_FILE_SIZE") && ($name != "human")) { $upperName = ucfirst($name); $body .= "$value \n\n"; } } $body = nl2br($body); /** * Sending message using PHP's mail() function. */ require 'files/phpmailer/PHPMailerAutoload.php'; //Create a new PHPMailer instance $mail = new PHPMailer; $mail->CharSet = 'UTF-8'; //Set who the message is to be sent from $mail->setFrom($userEmail, $fullname); //Set an alternative reply-to address $mail->addReplyTo($email, $fullname); //Set who the message is to be sent to $mail->addAddress('machouis@gmail.com', 'Maître Gwénaelle Allouard '); $mail->AddCC('machouis@gmail.com', 'machouis'); if (isset($_FILES['uploaded_file']) && $_FILES['uploaded_file']['error'] == UPLOAD_ERR_OK) { $mail->AddAttachment($_FILES['uploaded_file']['tmp_name'], $_FILES['uploaded_file']['name']); } //Set the subject line $mail->Subject = $subject; //Read an HTML message body from an external file, convert referenced images to embedded, //convert HTML into a basic plain-text alternative body $mail->Body = $body; //Replace the plain text body with one created manually $mail->AltBody = $body; //send the message, check for errors if (!$mail->send()) { echo "Mailer Error: " . $mail->ErrorInfo; } else { echo '
Votre message a bien été envoyé
'; } } } ?>

Vous pouvez vous rendre dans nos bureaux...

Image

Cabinet Allouard

19 Rue des Hallebardes
67000 STRASBOURG

Tel: 03 88 15 17 21
E-mail:
cabinet@gwenaelle-allouard-avocat.com