PHP Classes

authorized SMTP access

Recommend this page to a friend!

      Nomad MIME Mail  >  All threads  >  authorized SMTP access  >  (Un) Subscribe thread alerts  
Subject:authorized SMTP access
Summary:Unexpected SMTP answer if sending mail via authorized SMTP srvr
Messages:12
Author:Filip Nebrensky
Date:2008-01-02 16:26:20
Update:2008-01-15 22:59:13
 
  1 - 10   11 - 12  

  11. Re: authorized SMTP access   Reply   Report abuse  
Picture of Filip Nebrensky Filip Nebrensky - 2008-01-15 13:12:59 - In reply to message 10 from Filip Nebrensky
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

  12. Re: authorized SMTP access   Reply   Report abuse  
Picture of Filip Nebrensky Filip Nebrensky - 2008-01-15 22:59:13 - In reply to message 11 from Filip Nebrensky
Hi Alejandro,

latest observation: when I read the e-mail in webmail interface (SquirrelMail 1.4.6-1), attachment is OK. Error appears somewhere between server and my client (Outlook Express 6 on WinXP)

I am confused, help me, please :-)

Bye, Filip

 
  1 - 10   11 - 12