[QUERY] PHP Mail() Function
Moderators: Developers, Moderators
[QUERY] PHP Mail() Function
I am trying to try use cacti reporting by sending email to us annually to our e-mail.
Cacti is upgraded into 1.1.16.
Currently the test ping is successful but no email received in my inbox / spam.
This is the settings :
- php.ini :
SMTP : localhost
SMTP_Port : 25
sendmail_from = xxx@gmail.com
Cacti is upgraded into 1.1.16.
Currently the test ping is successful but no email received in my inbox / spam.
This is the settings :
- php.ini :
SMTP : localhost
SMTP_Port : 25
sendmail_from = xxx@gmail.com
Last edited by zetoo on Thu Dec 07, 2017 11:49 pm, edited 1 time in total.
Re: [HELP] PHP Mail() Function does not work
Someone please help me
Re: [HELP] PHP Mail() Function does not work
You need to configure your server so that your mail daemon of choice works on it. There are ~1 million or more how-to's on Google on how to do this. No reason to rehash all of them here. Especially since you don't list anything at all about the OS that you are running on.
Re: [HELP] PHP Mail() Function does not work
Yes, finally i can configure the server and set it up to send monthly report. Thanks alot cigamit !cigamit wrote:You need to configure your server so that your mail daemon of choice works on it. There are ~1 million or more how-to's on Google on how to do this. No reason to rehash all of them here. Especially since you don't list anything at all about the OS that you are running on.
Have mercy on me
Re: [HELP] PHP Mail() Function does not work
Anyone know why the image I got is broken image for JPG and GIF? (Attached or Inline)
My technical supports :
Cacti 1.1.16
Spine 1.1.13
RRDTool 1.4.5 VC10
Net-SNMP 5.5.0-2
MySQL 5.7.16
PHP 5.5.33
IIS 8.5
Window Server 2012
My technical supports :
Cacti 1.1.16
Spine 1.1.13
RRDTool 1.4.5 VC10
Net-SNMP 5.5.0-2
MySQL 5.7.16
PHP 5.5.33
IIS 8.5
Window Server 2012
Re: [HELP] PHP Mail() Function does not work
what does the rrdtool output / error show?
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
Re: [HELP] PHP Mail() Function does not work
The mail is sent successfully but no image is attached or inline on e-mail report.BSOD2600 wrote:what does the rrdtool output / error show?
The JPEG or GIF is only showing "Error while opening" but PNG is showing
Re: [HELP] PHP Mail() Function does not work
screenshot and exact error message from rrdtool please.zetoo wrote:The JPEG or GIF is only showing "Error while opening" but PNG is showing
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
Re: [HELP] PHP Mail() Function does not work
This is what I got.BSOD2600 wrote:screenshot and exact error message from rrdtool please.zetoo wrote:The JPEG or GIF is only showing "Error while opening" but PNG is showing
- Attachments
-
- Cacti - Error while opening.jpg (25.55 KiB) Viewed 2823 times
-
- RRDTool Output.txt
- (5.88 KiB) Downloaded 113 times
Re: [HELP] PHP Mail() Function does not work
are you able to view the images on Cacti without error?
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
Re: [HELP] PHP Mail() Function does not work
Yes, its perfect on CactiBSOD2600 wrote:are you able to view the images on Cacti without error?
But when i send it to my mail, those error message appear.
Kinda confused why since I can send jpg image from one e-mail to other.
Re: [HELP] PHP Mail() Function does not work
Is it possible your email client is blocking the images? Tried sending to a different domain?
Tried updating to the latest Cacti?
Tried updating to the latest Cacti?
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
Re: [HELP] PHP Mail() Function does not work
I will try 1.1.28 since phpmail is updated.
Does anyone know how to edit php mail body format for system monitoring warning/alert mail ?
Since i cant found it on Cacti folder or Settings or Reporting/Nectar Tab.
Does anyone know how to edit php mail body format for system monitoring warning/alert mail ?
Since i cant found it on Cacti folder or Settings or Reporting/Nectar Tab.
any idea BSOD2600?BSOD2600 wrote:Is it possible your email client is blocking the images? Tried sending to a different domain?
Tried updating to the latest Cacti?
Who is online
Users browsing this forum: No registered users and 1 guest