![]() |
PHP syntax help , who can take a peek?
$sms_email = "[email protected]"; // NOTE - replace with your cellphone's SMS email address
now i want to add another email addy what is the appropriate syntax? Below good? $sms_email = "[email protected]" "[email protected]"; // NOTE - replace with your cellphone's SMS email address |
$sms_email = "[email protected];[email protected] et";
|
Quote:
-JDL |
Quote:
|
Quote:
|
trying to send "TO:" to both at the same time?
edit: if yeah, what they said above is proper email syntax use a comma |
Quote:
|
it really depends on what is sending the mail. but the comma should work.
|
If this is that hokey X-Cart addon, you should either run a loop yourself for the addresses, or call the function dependent for each.
|
I don't know what you are trying to do, but you might want to put each sms email address as a value in an array and then loop through that array.
$smsArray = array("[email protected]", "[email protected]", "[email protected]"); foreach ($smsArray AS $value) { *do something with $value;* } |
...or
$sms_email = "[email protected]"; $sms_email .= "[email protected]"; return $sms_email; Again, I don't know what you're trying to do. |
mikke got it. proper syntax is to use a comma, so
$sms_email = "[email protected], [email protected]"; or you can add another header to CC instead. |
Quote:
been a fan for years, your wife is the hotness man :thumbsup |
Quote:
|
bump bump:)
|
Quote:
" and that worked also so all is good heheh thx all for the help :) |
All times are GMT -7. The time now is 01:20 PM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123