Jump to content

PHP email form stopped working, please help me fix it !


elena94

Recommended Posts

If you have linux hosting with shell access you can check sendmail directly. First log into your account with ssh then:

 

 

Step 3
Send an email in the terminal using the sendmail command. Sendmail needs a valid, working email address and a short message. A subject for your email is optional. Type "sendmail your@email.com" and press the "Enter" key.

Step 4
Type a short one-line message and press the "Enter" key. Press "Ctrl-D." The command prompt should appear. Check your email inbox to see if the message was delivered. If the test email does not show up after a few minutes, Sendmail is either not working or not working properly.

steps from: http://smallbusiness.chron.com/check-sendmail-working-not-linux-49904.html

or try the mail command

http://www.simplehelp.net/2008/12/01/how-to-send-email-from-the-linux-command-line/

Link to comment
Share on other sites

Yep, david is right,  since you have a ssh access to this account, login into your terminal and try to call sendmail directly from the shell. Try, again to send me an email with a message od current date/time. The command is:

echo `date` | /usr/sbin/sendmail tuparov86@gmail.com


// or 

echo `date` | sendmail tuparov86@gmail.com
Edited by jazzman1
Link to comment
Share on other sites

thanks guys but with my current plan I do not think I have access to the SSH manager, I've tried the script that isn't working with 2 other hosts and it works fine, but my current host keeps ignoring the facts and telling me to fix the script. I might just switch hosting company.

Edited by elena94
Link to comment
Share on other sites

  • 4 years later...
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.