Hi Alejandro,
unfortunatelly, another bug was appeared. I extended my simple test for attachment addition:
______________________________________
$mimemail = new nomad_mimemail();
$mimemail->set_charset("utf-8");
$mimemail->set_from("
[email protected]");
$mimemail->set_to("
[email protected]");
$mimemail->set_subject("authorizing test");
$mimemail->set_text("some plain text");
$mimemail->add_attachment("test.php", "test.php");
$mimemail->set_smtp_host(EnvironmentSmtpHost);
$mimemail->set_smtp_auth(EnvironmentSmtpUser, EnvironmentSmtpPass);
$mimemail->set_smtp_log(true);
if ( !$mimemail->send() )
echo $mimemail->get_smtp_log();
______________________________________
If I send it to couple of my addresses, everything is OK, but address of my client (
[email protected] - I think it is on the same computer as SMTP server) can't receive the attachment. It comes as text:
______________________________________
some plain text
--=-nxs_mix_0493d8017e95f52d33fb69b67ad6fc4c
Content-Type: application/octet-stream; name="test.php"
Content-Disposition: attachment; filename="test.php"
Content-Transfer-Encoding: base64
PD9waHAKcmVxdWly... etc.
______________________________________
Any idea, please?
Thanks, Filip