Jump to content

Trying to use a variable in the sendto of an e-mail with php causing problem


jayhawker

Recommended Posts

If I hard code the To address such as [email protected]  into my email function, no problems.  But if I try using a variable I get an error.  The error doesn't give me any valuable information and is generated from some old code that I never wrote.

 

If I place the same variable such as "[email protected]" into any other field such as content, subject I get the value for the variable so I know that it isn't null.

 

I have tried all the methods of converting to a string and nothing changes.

 

Any ideas?

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.