+ Reply to Thread
Results 1 to 7 of 7

Thread: Can send to outside e-mail addresses, but not internal

  1. #1
    Join Date
    Feb 2006
    Posts
    3

    Question Can send to outside e-mail addresses, but not internal

    Hey all,

    I'm a php beginner, though I do most of my work in ASP and ASP.NET and have run into a problem with the FormMail.php script.

    I can send e-mails externally from my hosted account but cannot send e-mails to any e-mail address within my hosted account.

    I've narrowed it down to a php setting by using the plain mail() test:
    <?php
    if (mail("test@testdomain.com","Testing","This is a test"))
    echo "Mail sent";
    else
    echo "Error sending mail";
    ?>

    This definitely works for external addresses, but not internal ones.

    Does anyone know what setting might be set/not set correctly?

    Thank you for your time.

  2. #2
    Join Date
    Jul 2005
    Posts
    175

    Default Re: Can send to outside e-mail addresses, but not internal

    hi

    sorry, not a hunch..

    maybe take a look at this thread:
    http://tectite.com/vbforums/showthread.php?t=717

    or search the FormMail Subscription Support forum..

    erik

  3. #3
    Join Date
    Jul 2005
    Posts
    175

    Default Re: Can send to outside e-mail addresses, but not internal

    have just found this thread http://tectite.com/vbforums/showthread.php?t=736

    seems to be quite a similar problem

  4. #4
    Join Date
    Feb 2006
    Posts
    3

    Default Re: Can send to outside e-mail addresses, but not internal

    Erik,

    I saw both of those before I posted. The first one isn't solved and the second one is a problem sending externally, not internally.

    My problem is that I can send to any external e-mail but I cannot send to any user/domain within the hosted account. It's gotta be some sendmail setting within PHP, but I don't know which one.

    Anyone have a clue?

  5. #5
    Join Date
    Jul 2005
    Posts
    175

    Default Re: Can send to outside e-mail addresses, but not internal

    that's why i've posted "not a hunch" – cause i've no clue
    and, sure, i know that it's not solved
    but maybe you'll get an useful reply from the forum member who has/had the problem before if you send him/her a private message ...

  6. #6
    Join Date
    Feb 2006
    Posts
    3

    Default Re: Can send to outside e-mail addresses, but not internal

    I've found the fix.

    For those of you that have the same problem, the issue has to do with the e-mail users, not sendmail or PHP. The issue is that the user must be created with FTP access initially so that the user's Home Directory is created. Without the Home Directory, sendmail is lost and dumps the e-mail to the dead.letter

    Good Luck!

  7. #7
    Join Date
    Jul 2007
    Posts
    6

    Default Re: Can send to outside e-mail addresses, but not internal

    Quote Originally Posted by Jeremy Aldrich
    I've found the fix.

    For those of you that have the same problem, the issue has to do with the e-mail users, not sendmail or PHP. The issue is that the user must be created with FTP access initially so that the user's Home Directory is created. Without the Home Directory, sendmail is lost and dumps the e-mail to the dead.letter

    Good Luck!
    What do you mean? can u show me how?

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Similar Threads

  1. Internal 500 Error
    By zeuseason in forum FormMail Subscription Support
    Replies: 1
    Last Post: 27-Aug-2004, 07:25 PM
  2. Creating mail object using Mail::factory ("smtp", ....) and FormMail
    By stingray in forum FormMail Subscription Support
    Replies: 1
    Last Post: 13-Jul-2004, 10:27 PM
  3. "Internal Server Error": What'd I do wrong?
    By sgodun in forum FormMail Subscription Support
    Replies: 4
    Last Post: 16-May-2004, 01:01 AM
  4. Spiders and "The form has an internal error"
    By russellr in forum FormMail Subscription Support
    Replies: 0
    Last Post: 13-May-2004, 10:11 PM
  5. Does your web server send mail?
    By russellr in forum FormMail Subscription Support
    Replies: 0
    Last Post: 10-Feb-2004, 09:19 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts