Email not received

I have created an invoice and then selected send invoice. I used phpmail in the settings. I tested PHP mail with a test page and I received an email.
But when I send the invoice I’m not getting the invoice in my email and the attachments.
This is the log
mailer=local, pri=149116, dsn=2.0.0, stat=Sent
Nov 19 11:01:22 PTMgmt sendmail[12702]: My unqualified host name (PTMgmt) unknown; sleeping for retry
Nov 19 11:02:22 PTMgmt sendmail[12702]: unable to qualify my own domain name (PTMgmt) – using short name
Nov 19 11:02:23 PTMgmt sendmail[12702]: My unqualified host name (PTMgmt) unknown; sleeping for retry
Nov 19 11:03:23 PTMgmt sendmail[12702]: unable to qualify my own domain name (PTMgmt) – using short name
Nov 19 11:03:23 PTMgmt sendmail[12702]: tAJ5WMWY012702: Authentication-Warning: PTMgmt: apache set sender to sabcd@nodomain.com using -f
Nov 19 11:03:23 PTMgmt sendmail[12702]: tAJ5WMWY012702: from=sabcd@nodomain.com, size=1361162, class=0, nrcpts=1, msgid=b3bb7f404cfa16d0b98dd090b00e71ac@192.168.235.39, relay=apache@localhost
Nov 19 11:03:23 PTMgmt sendmail[12723]: tAJ5XNfU012723: from=sabcd@nodomain.com, size=1361333, class=0, nrcpts=1, msgid=b3bb7f404cfa16d0b98dd090b00e71ac@192.168.235.39, proto=ESMTP, daemon=MTA, relay=localhost.localdomain [127.0.0.1]
Nov 19 11:03:23 PTMgmt sendmail[12702]: tAJ5WMWY012702: to=sabcd@nodomain.com, ctladdr=sabcd@nodomain.com (48/48), delay=00:01:01, xdelay=00:00:00, mailer=relay, pri=1391162, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (tAJ5XNfU012723 Message accepted for delivery)
Nov 19 11:03:25 PTMgmt sendmail[12725]: tAJ5XNfU012723: to=sabcd@nodomain.com, delay=00:00:02, xdelay=00:00:02, mailer=esmtp, pri=1481333, relay=mail503.ixwebhosting.com. [76.162.254.111], dsn=5.0.0, stat=Service unavailable
Nov 19 11:03:25 PTMgmt sendmail[12725]: tAJ5XNfU012723: tAJ5XPfU012725: DSN: Service unavailable
Nov 19 11:03:26 PTMgmt sendmail[12725]: tAJ5XPfU012725: to=sabcd@nodomain.com, delay=00:00:01, xdelay=00:00:00, mailer=esmtp, pri=1392541, relay=mail503.ixwebhosting.com., dsn=5.0.0, stat=Service unavailable
Nov 19 11:03:26 PTMgmt sendmail[12725]: tAJ5XPfU012725: tAJ5XPfV012725: return to sender: Service unavailable
Nov 19 11:03:26 PTMgmt sendmail[12725]: tAJ5XPfV012725: to=root, delay=00:00:00, xdelay=00:00:00, mailer=local, pri=1393565, dsn=2.0.0, stat=Sent
Nov 19 15:11:29 PTMgmt sendmail[16304]: My unqualified host name (PTMgmt) unknown; sleeping for retry
Nov 19 15:12:29 PTMgmt sendmail[16304]: unable to qualify my own domain name (PTMgmt) – using short name
Nov 19 15:12:29 PTMgmt sendmail[16304]: tAJ9gTpH016304: from=apache, size=127, class=0, nrcpts=1, msgid=201511190942.tAJ9gTpH016304@PTMgmt, relay=apache@localhost

Kindly help. Any takers.

Hi,

I see none has taken.

Are you sending mails from your localhost? If so, have you configured your localhost as a mail sending server?

Thanks for your reply. I’m running invoiceplane in Centos. I’m not sure what you mean by configured your localhost as a mail sending server?
Where do I configure this?
I placed a test.php file in the same folder as invoiceplane, which when called form the browser sends an email, and that works.
Could you please let me know where to configure mail sending server?

thanks,
Sudhakar

Hie , if sendmail is not installed or not functioning okay you can remove and re-install using the following totorial (thats if you have root access in your server)