SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Member
    Join Date
    Aug 2001
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    problem in sending mail through php

    Hello
    I am a new bie in php.I have running php-apache-mysql trio on a linux server which has sendmail installed within it.I am working on a nt m/c and accessing this linux server through saamba services.while trying to use mail function from my php code it shows that mail function succeeds but the mail doesn't reaches the recipeint.i have also tried changing my seettings in php.ini by seeting the smtp_path and other alternative too.
    the mails which i sent from here reaches the linux server after about 4 or 5 days and is found in a file "/var/spool/mail/root".where it shows that the mail cannot be dispatched and is delayed along with errors like "name server timeout".The receipient address is mentioned and said to be fatal along with some header information and mime type.please help me in this regard..
    thanx in anticipation...
    Reena Pathak
    signature

  2. #2
    The Hiding One lynlimz's Avatar
    Join Date
    Jul 2000
    Location
    Singapore
    Posts
    2,103
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    hi, could you post the code used to send the email?
    i suspect any problems to be related to your headers being sent out.
    "Imagination is more important than knowledge. Knowledge is limited. Imagination encircles the world."
    -- Albert Einstein


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
  •