Title: Mail Function Permissions
Last modified: August 20, 2016

---

# Mail Function Permissions

 *  Resolved [Cortez77](https://wordpress.org/support/users/cortez77/)
 * (@cortez77)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/mail-function-permissions/)
 * So I just moved my WordPress site from a subdirectory to the root directory.
   
   I updated the database and everything worked great. All the galleries are still
   there etc etc.
 * I am having a problem with a couple custom form mail scripts that used to work
   fine.
    I’m pretty sure it’s a permissions issue but I can’t seem to find the 
   problem.
 * Perhaps someone knows better then I where to fix these permissions.
    the error
   I’m receiving is `Could not execute mail delivery program '/usr/sbin/sendmail-
   t -i ' in /home/content/91/5728691/html/wp-content/themes/SchSul/specialOrder.
   php on line 114`
 * Thanks

Viewing 12 replies - 1 through 12 (of 12 total)

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/mail-function-permissions/#post-2189536)
 * A sendmail path issue, perhaps?
 *  Thread Starter [Cortez77](https://wordpress.org/support/users/cortez77/)
 * (@cortez77)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/mail-function-permissions/#post-2189537)
 * Any idea where I’d change that up?
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/mail-function-permissions/#post-2189538)
 * Um – not really. In your scripts? Or could be a host server config issue?
 *  Thread Starter [Cortez77](https://wordpress.org/support/users/cortez77/)
 * (@cortez77)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/mail-function-permissions/#post-2189541)
 * That’s why I’m stumped as everything was working great until I made the directory
   switch and now everything works great except this mail function.
    Thanks I’ll
   keep digging.
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/mail-function-permissions/#post-2189546)
 * Have you spoken to your hosts about this?
 *  Thread Starter [Cortez77](https://wordpress.org/support/users/cortez77/)
 * (@cortez77)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/mail-function-permissions/#post-2189549)
 * Not yet as I’m convinced it has something to do with changing the directories.
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/mail-function-permissions/#post-2189555)
 * > I’m convinced it has something to do with changing the directories
 * Agreed – which makes me wonder if you’ve somehow moved “out” of an allowed sendmail
   path.
 *  Thread Starter [Cortez77](https://wordpress.org/support/users/cortez77/)
 * (@cortez77)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/mail-function-permissions/#post-2189561)
 * Can that be adjusted via htaccess?
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/mail-function-permissions/#post-2189564)
 * No. I think it would be part of the server config. It could be just something
   that’s been overlooked on the server.
 *  Thread Starter [Cortez77](https://wordpress.org/support/users/cortez77/)
 * (@cortez77)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/mail-function-permissions/#post-2189573)
 * Thanks I’ll contact the provider.
 *  Thread Starter [Cortez77](https://wordpress.org/support/users/cortez77/)
 * (@cortez77)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/mail-function-permissions/#post-2189578)
 * Very strange. It appears that nothing was wrong but for some reason even after
   emptying the cache Safari must have been storing a cookie or something.
    When
   tested on a different browser everything works fine.
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/mail-function-permissions/#post-2189582)
 * Well that’s not one I’d have guessed. 🙂

Viewing 12 replies - 1 through 12 (of 12 total)

The topic ‘Mail Function Permissions’ is closed to new replies.

## Tags

 * [custom form](https://wordpress.org/support/topic-tag/custom-form/)
 * [mail function](https://wordpress.org/support/topic-tag/mail-function/)
 * [permissions](https://wordpress.org/support/topic-tag/permissions/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 12 replies
 * 2 participants
 * Last reply from: [esmi](https://wordpress.org/support/users/esmi/)
 * Last activity: [14 years, 9 months ago](https://wordpress.org/support/topic/mail-function-permissions/#post-2189582)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
