Mail() function returning true; but no mail is sent

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • samvb
    New Member
    • Oct 2006
    • 228

    Mail() function returning true; but no mail is sent

    Hey,
    I am tryin to send email from my php script using mail() function. it returns true, but i recieve no email. Whats the wrong? My current setting are:

    PHP Version 5.2.6
    PHP API 20041225
    PHP Extension 20060613
    sendmail_from "webmaster@mydo main.com" //correct value
    sendmail_path no value //no value
    SMTP 192.168.141.1
    smtp_port 110


    Apache/2.2.8 (Win32) PHP/5.2.6


    I am running my server under windows xp professional service pack 2. A while ago it was working fine, but the php version was an older version which i cant remember exactly.
  • Dormilich
    Recognized Expert Expert
    • Aug 2008
    • 8694

    #2
    if you have a smtp server (looks like it) you may use the Swiftmailer library. I find it much more comfortable than the built-in mail() function. (besides the fact that you'll get more response through the Exceptions).

    Comment

    Working...