When receiving the mail that notify me a form submission I get a human unreadable BASE64 encoded text.
I've tested to send a simple mail with phpmail and it arrives correctly.
I report a mail that came from my Concrete5 site:
<?php
Content-type: text/plain; charset=UTF-8
From: <!!MY_REMOVED_E-MAIL_ADDRESS!!>
Mime-Version: 1.0
Content-Transfer-Encoding: BASE64
CkUnIHN0YXRvIGludmlhdG8gaWwgZm9ybSBSaWNoaWVzdGEgaW5mb3JtYXppb25pIHRyYW1pdGUg
aWwgdHVvIHNpdG8gQ29uY3JldGU1LgoKRW1haWwgcGVyc29uYWxlDQpoZW5yaWsuc296em
ETC, ETC, ETC (Ive removed the other base64 lines)
?>
Content-type: text/plain; charset=UTF-8
From: <!!MY_REMOVED_E-MAIL_ADDRESS!!>
Mime-Version: 1.0
Content-Transfer-Encoding: BASE64
CkUnIHN0YXRvIGludmlhdG8gaWwgZm9ybSBSaWNoaWVzdGEgaW5mb3JtYXppb25pIHRyYW1pdGUg
aWwgdHVvIHNpdG8gQ29uY3JldGU1LgoKRW1haWwgcGVyc29uYWxlDQpoZW5yaWsuc296em
ETC, ETC, ETC (Ive removed the other base64 lines)
?>
The simple script I've successfully used to test phpmail was this:
<?php
error_reporting(E_ALL);
$mail_from="postmaster@!!MY_REMOVED_DOMAIN!!";
$mail_subject="Testing e-mail";
$mail_text="Questa è una e-Mail di test inviata dal servizio Hosting di Aruba.it per la verifica del corretto funzionamento di PHP mail()function .
Aruba.it";
$mail_to="!!MY_REMOVED_E-MAIL!!";
if( mail( $mail_to, $mail_subject, $mail_text, "From: {$mail_from}\r\n" ) ) {
echo "Mail inviata correttamente !<br><br>Questo di seguito è il codice sorgente usato per l'invio della mail:<br><br>";
highlight_file($_SERVER["SCRIPT_FILENAME"]);
unlink($_SERVER["SCRIPT_FILENAME"]);
} else
echo "<br><br>Recapito e-Mail fallito!";
?>
error_reporting(E_ALL);
$mail_from="postmaster@!!MY_REMOVED_DOMAIN!!";
$mail_subject="Testing e-mail";
$mail_text="Questa è una e-Mail di test inviata dal servizio Hosting di Aruba.it per la verifica del corretto funzionamento di PHP mail()function .
Aruba.it";
$mail_to="!!MY_REMOVED_E-MAIL!!";
if( mail( $mail_to, $mail_subject, $mail_text, "From: {$mail_from}\r\n" ) ) {
echo "Mail inviata correttamente !<br><br>Questo di seguito è il codice sorgente usato per l'invio della mail:<br><br>";
highlight_file($_SERVER["SCRIPT_FILENAME"]);
unlink($_SERVER["SCRIPT_FILENAME"]);
} else
echo "<br><br>Recapito e-Mail fallito!";
?>
Can anyone give me an advice on how to fix this?
Thank you,
Henrik





energywave
No one? :(