I cant see why you are getting the letter 'z' (assuming $msgContent
was referenced properly) . Complete code will be helpful to debug the
problem.
Also, Heredoc syntax will be more helpful in your situation. And usage
of global keyword is strongly discouraged in favor of $GLOBALS
superglobal
On Wed, Sep 29, 2010 at 1:37 PM, Joe Jackson priory...@googlemail.com wrote:
Hi
I am trying the following snippet as Bostjan suggested, and an email is
getting sent when I submit the form however in the body of the email I am
getting none of the form data in the body of the email. All I am
Hi
I am trying the following snippet as Bostjan suggested, and an email is
getting sent when I submit the form however in the body of the email I am
getting none of the form data in the body of the email. All I am getting is
the letter 'z' ? Also in the from field of the email this is showing
Just on this topic, I found swiftmailer library to be really useful
esp. in dealing with 'template' emails with custom variables per
recipient:
http://swiftmailer.org/
The e.g. on email template processing:
http://swiftmailer.org/docs/decorator-plugin-howto
There are batchSend()
Hi
Sorry for the simple question but I am trying to get my head around PHP. I
have a sample PHP script that I am trying to use to send a php powered email
message. The snippet of code is shown below
mail('em...@address.com', 'Subject', $values['message'], From:
\{$values['name']}\
You should format the email message content first, like this:
$msgContent = Name: . $values['name'] .\n;
$msgContent .= Address: . $values['address'] .\n;
Then you should send a this content, like this:
mail('em...@address.com', 'Subject', $msgContent, From...);
b.
On 20 September 2010 00:00,
On Sep 19, 2010, at 6:00 PM, Joe Jackson wrote:
Hi
Sorry for the simple question but I am trying to get my head around PHP. I
have a sample PHP script that I am trying to use to send a php powered email
message. The snippet of code is shown below
mail('em...@address.com',
7 matches
Mail list logo