php - PEAR SMTP Behaviour in Windows -


i have strange problem.

i using pear smtp on ubuntu. when send message:

--==alternative_boundary_x{da5ccf044317613d9f8e371455f292a6}x content-type: text/plain; charset="utf-8" content-transfer-encoding: 7bit  hello world - plain text test --==alternative_boundary_x{da5ccf044317613d9f8e371455f292a6}x content-type: text/html; charset="utf-8" content-transfer-encoding: 7bit  <i>hello world - html test</i> --==alternative_boundary_x{da5ccf044317613d9f8e371455f292a6}x--  --==mixed_boundary_x{e46253d4aad6aff75d74ef5eb064a626}x content-type: application/rtf; name="attachment.rtf" content-disposition: attachment; filename="attachment.rtf" content-transfer-encoding: base64  e1xydgyxxgfuc2lczgvmzjb7xgzvbnr0ymx7xgywxgztb2rlcm5cznbyctfczmnoyxjzzxqwienv dxjpzxigtmv3o317xgyxxgzuawxczmnoyxjzzxqwienvdxjpzxigtmv3o319dqp7xgnvbg9ydgjs idtccmvkmfxncmvlbjbcymx1zta7fq0ke1wqxgdlbmvyyxrvcibnc2z0zwrpdca1ljqxlje1lje1 mtu7fvx2awv3a2luzdrcdwmxxhbhcmrcy2yxxgxhbmcymdu3xgywxgzzmzigsgvsbg8gd29ybgrc y2ywxgyxxgzzmjbccgfydqpcy2yxxglczjbcznmyncbizwxsbyb3b3jszfxjzjbcatbczjfcznmy mfxwyxinclxiiehlbgxvihdvcmxkxhbhcg0kxgiwxhbhcg0kxhbhcg0kfq0kaa==   --==mixed_boundary_x{e46253d4aad6aff75d74ef5eb064a626}x --==mixed_boundary_x{e46253d4aad6aff75d74ef5eb064a626}x content-type: text/xml; name="attachment.xml" content-disposition: attachment; filename="attachment.xml" content-transfer-encoding: base64  pd94bwwgdmvyc2lvbj0ims4wij8+dqo8yxr0ywnozw1udd5pbiaueg1sigzpbgu8l2f0dgfjagvt bnq+ia==   --==mixed_boundary_x{e46253d4aad6aff75d74ef5eb064a626}x-- 

i receive without 1 of --==mixed_boundary_x{e46253d4aad6aff75d74ef5eb064a626}x (look there 2 in row) missing. how pear smtp send sends message missing.

but if windows, using phplib, sends fine , causes attachments work!

i know use pear mime mail deal this, unfortunately, working legacy code , not option since message has had encodings.

my question is, why pear remove it? , break attachments when not there?

thanks

i can assume give, ascii-art in boundary nice, little on top. contains characters not allowed there per specs, , curly brackets. maybe because of having invalid email there, things dropped?


Popular posts from this blog

How to calculate SNR of signals in MATLAB? -

c# - Attempting to upload to FTP: System.Net.WebException: System error -

ios - UISlider customization: how to properly add shadow to custom knob image -