Jump to content

Recommended Posts

Hello, thanks for the reply, I have had this same question floating around different place online for weeks and no one has taken the time to reply on it. After filling out the form, when I click on the "submit", I would like the data (name, e-mail address, subject and comment) to be sent to an e-mail address which is in defined in the top of the PHP coding "("RECIPIENT_EMAIL", heathmcdowell@yahoo.com).

 

However when I click "submit" it says -

 

"There was a problem sending your message. Please try again. Please close this tab/window, refresh the "contact us" page and try again.

 

Which is what is suppose to happen if there is an error sending. But there shouldn't be any kind of error unless its in the coding.

 

This is the page that the form is currently on for testing, www.nvaministries.org/nvaministries/contact/contact.html

 

Thanks for all the help!

 

Link to post
Share on other sites

It works for me, but

 

define( "EMAIL_SUBJECT", "$subject" );

 

Will give you $subject is undefined message, but you don't require this defined constant anyway as it retrieved from input 'subject' form submission and even though you have this error it still sends the email anyway.

Link to post
Share on other sites

It works for me, but

 

define( "EMAIL_SUBJECT", "$subject" );

 

Will give you $subject is undefined message, but you don't require this defined constant anyway as it retrieved from input 'subject' form submission and even though you have this error it still sends the email anyway.

 

Thanks dsonesuk, after I took the subject line out it started to work just fine. I think that might have been the problem. You guys are great!

 

Link to post
Share on other sites

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.   Paste as plain text instead

  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.

Loading...
×
×
  • Create New...