Results 1 to 3 of 3

Thread: Send Email From Local Machine

  1. #1

    Thread Starter
    PowerPoster lintz's Avatar
    Join Date
    Mar 2003
    Location
    The 19th Hole
    Posts
    2,697

    Send Email From Local Machine

    I have a HelpDesk query form that sends an email to the helpdesk with a users problem. I'm trying to test this on my local machine but each time I get to the mail() code it returns the below error.

    "Warning: mail(): SMTP server response: 451 See http://pobox.com/~djb/docs/smtplf.html. in ......."

    I went to the link and read some emails to addresses like msn.com might not get through but I sent an email to myself and it still returned the error message.

    Can anyone offer some suggestions?

    Thanks.
    Last edited by lintz; Aug 21st, 2004 at 08:16 PM.

  2. #2
    VBA Nutter visualAd's Avatar
    Join Date
    Apr 2002
    Location
    Ickenham, UK
    Posts
    4,906
    Well the definition of the 451 error from RFC 821 is as follows:

    451 Requested action aborted: local error in processing

    It looks like there is a problem with the server. Have you checked your PHP.ini to ensure that you have the SMTP directive pointing to you ISP's SMTP server?
    PHP || MySql || Apache || Get Firefox || OpenOffice.org || Click || Slap ILMV || 1337 c0d || GotoMyPc For FREE! Part 1, Part 2

    | PHP Session --> Database Handler * Custom Error Handler * Installing PHP * HTML Form Handler * PHP 5 OOP * Using XML * Ajax * Xslt | VB6 Winsock - HTTP POST / GET * Winsock - HTTP File Upload

    Latest quote: crptcblade - VB6 executables can't be decompiled, only disassembled. And the disassembled code is even less useful than I am.

    Random VisualAd: Blog - Latest Post: When the Internet becomes Electricity!!


    Spread happiness and joy. Rate good posts.

  3. #3
    Frenzied Member ober0330's Avatar
    Join Date
    Dec 2001
    Location
    OH, USA
    Posts
    1,945
    If you're doing this locally... do you have a SMTP server installed?? If so, is it working? I had this problem too a while ago, until I realized that I never setup any kind of mail server on my computer. I still haven't... I just use my ISPs now.
    format your code!! - [vbcode] [/vbcode]

    ANSWERS CAN BE FOUND HERE!!

    my personal company

Posting Permissions

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



Click Here to Expand Forum to Full Width