Im making a web based automatic email generator using php and a form.
I've got all it working, apart from the email addresses.
Its for works intranet and they use outlook 2003 on exchange.
I have this
echo "<meta http-equiv=\"refresh\" target=\"_NEW\" content=\"0;URL=mailto:smith, james;beckham, david; minouge, danni; cole, cheryl;?subject=blah blah>"
Outlook uses ';' to separate names in the 'To' part of the email.
Problem with this is that PHP uses ';' to end the statement, so it only puts in 'smith, james' in the TO box.
I've tried using.
mailto:smith, james\;beckham, david\;
But that doesn't work at all. Just ends up blank.
I need a way to keep the ';' after the names so outlook reads it properly but to obv have the whole thing execute properly.
Hope it wasn't too confusing, thanks