multiple recipients + dbuser mail recall


Posted on 16th Feb 2014 07:03 pm by admin

Hello,

I am building a php login script.

When the user registers the script will send him a confimation email using this code

mail($usr_email, "Login Details", $message,
"From: "Member Registration" <auto-reply@$host>rn" .
"X-Mailer: PHP/" . phpversion());

everything works fine.

Now I want the mail to be sent to him as well as me!

so I modified the code but it doesn't work anymore:

mail('myemail@me.com,$usr_email ', "Login Details", $message,
"From: "Member Registration" <auto-reply@$host>rn" .
"X-Mailer: PHP/" . phpversion());

I am new to php, so any help is appreciated!

thanks in advance!

No comments posted yet

Your Answer:

Login to answer
180 Like 34 Dislike
Previous forums Next forums
Other forums

Developing Ajax-enabled ASP.Net applications for the iPhone
I would like to develop Ajax web applications using Visual Studio that are optimized for the iPhone.

Include a php
Hello,

I'm trying to include a function that shows the recent searches.
Example I have <

query help
Hi experts.

i have a table rep2 like this
PROD_COD ACCT_NO DUE_DAYS BALANCE

Setting condidtions for an input box
Hi all,

I would like to set a condition in a txt box that says the number a user enters has t

Problem assigning value to variable in "IF" function
Does this script makes sense? I am trying to take the value that is set to "authenticat" a

Logic question
im wondering what's the best method to do the above list:

it is for alliance @ MMORPG game

C++ Http request?
Code: string Response = "LOGIN_UNSUCCESSFUL"; System.Net.WebRequest request = Sy

Downloading file (Headers)
I'm trying to make users download a file, but they must wait 60 seconds before it begins.

But

help with this code please?
Hello,

I am trying to build a remote upload script for my image hosting site.

I am usi

passthru() help
Hi everyone,
I'm new to the forum and to PHP. I have some pretty good experience writing shell sc

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash