2008年12月3日星期三

[fw-core] Problems with Zend_Mail

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi.

I've just tried out the Zend_Mail functions for simple contact form.
During this work I noticed a strange behavior. If I use
Zend_Mail_Transport_Sendmail the "From:" header isn't set although I set
it up using the setFrom() method.

In var_dump() output of Zend_Mail instance, the header is set. But if I
send it, the "standard" from address, set by server, the script is
running on, is used :(

Can anybody help?

So long,
Holger
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkk2+ewACgkQEKb1UsmnKEoRhACgkw+0eP96RLJFj8gePy3Qjxpk
a6kAoNhbeDLnT78C7lcplYEtQYYOPMg7
=JWOJ
-----END PGP SIGNATURE-----

没有评论: