-
AuthorPosts
-
April 29, 2024 at 3:52 pm #1441313
Hello,
The following question about the WordPress form at “hotspring.de”
When a form is created via the Enfold Avia Editor object.
The email that reaches us as the recipient contains the form fields
“content type: text/html”
Unfortunately, the alternative “content-type: text/plain” is missing.As a recipient of our CRM, we need the form data as “text/plain”.
Enfold uses ‘X-Mailer: PHPMailer 6.9.1’
I know that PHPMailer can send plain AND(!) html…1) Where can you set form “content-type” in the Enfold?
2) Can you change the (automatic) form field names?
So instead of ‘input name=”avia_2_1″ ..’ change it to name=”last name”.———————————————————————————————————————-
Hallo,
folgende Frage zu WordPress Formular bei “hotspring.de”Wenn über den Enfold-Avia-Editor-Objekt ein Formular erstellt wird.
Die Mail, die bei uns als Empfänger ankommt, enthält die Formularfelder als
“content-type: text/html”
Leider fehlt der alternative “content-type: text/plain”.Als Empfänger unseres CRM benötigen wir die FormDaten als “text/plain”.
Enfold benutzt ‘X-Mailer: PHPMailer 6.9.1’
Ich weiss dass PHPMailer plain UND(!) html senden kann…1) Wo kann man Formular “content-type” im Enfold einstellen?
2) Kann man die (autom.) Formular Feldnamen ändern?
Also statt zb ‘input name=”avia_2_1″ ..’ in name=”Nachname” ändern.April 29, 2024 at 4:00 pm #1441315Hey Martin,
ad 1)
Datei …\enfold\framework\php\class-form-generator.php
Es gibt 2 Filter:
avf_contact_form_incoming_mail
avf_contact_form_autoresponder_mailIm übergebenen array $mail_array:
$mail_array['Content-type'] = 'text/plain';ad 2)
kann man leider nicht ändern – bricht sonst die komplette Logik.
Best regards,
GünterMay 22, 2024 at 10:32 am #1445126Vielen Dank Günter
May 22, 2024 at 2:57 pm #1445170 -
AuthorPosts
- You must be logged in to reply to this topic.
