Problems with Zend_Mail

4 messages Options
Embed this post
Permalink
Holger Librenz-3

Problems with Zend_Mail

Reply Threaded More More options
Print post
Permalink
-----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-----
Mauricio Cuenca-4

Re: Problems with Zend_Mail

Reply Threaded More More options
Print post
Permalink
If you are using an MTA like exim or sendmail, make sure to pass the appropriate parameters to the constructor.In some cases, you have send special parameters in order to be able to modify headers.

I personally prefer the smtp transport method for sending mail, by default it contacts your localhost, so it is almost equivalent to using the sendmail transport method.



On Wed, Dec 3, 2008 at 10:28 PM, Holger Librenz <[hidden email]> wrote:
-----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-----


vediovis

Anybody in The Philippines (or Asia)?

Reply Threaded More More options
Print post
Permalink
In reply to this post by Holger Librenz-3
Hi

Just to know: is there anybody living in The Philippines here?

I m looking for a nice place in Asia where to continue to remotely work for
my european customers but in a better environment.

Any people in my case or in positon to advise me here?

Thanks by advance

Cheers

S.L.

Sudheer Satyanarayana

Re: Anybody in The Philippines (or Asia)?

Reply Threaded More More options
Print post
Permalink
sla-net wrote:

> Hi
>
> Just to know: is there anybody living in The Philippines here?
>
> I m looking for a nice place in Asia where to continue to remotely
> work for my european customers but in a better environment.
>
> Any people in my case or in positon to advise me here?
>
>
I'm in Bangalore, India.

Reply me off list. I will give you whatever information you want about
Bangalore.

Regards,


--

With warm regards,
Sudheer. S
Business: http://binaryvibes.co.in, Tech stuff: http://techchorus.net, Personal: http://sudheer.net