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 a@acme.com  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 "a@acme.com" 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?

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.