- Edited
Hi there,when i tried to create a new ticket .i'm not receiving any email,alerts ...can anyone please help me how to setup/configure emails.Regards,padma
Hi there,when i tried to create a new ticket .i'm not receiving any email,alerts ...can anyone please help me how to setup/configure emails.Regards,padma
Pls let us know more about your configuration, alerts/notices & mail.
Hi joffrey,thanks for your reply.i deployed the osticket (v 1.8.10)into the xampp server.every thing is working well.but i'm not receiving any emails .i.e when i'm creating new ticket,closing , updating or transferring the tickets to staff.for email configuration i did modify the php.ini file in the xampp folderthe following things i have setup into the php.ini fileSMTP = smtp.gmail.comsmtp_port = 587sendmail_from = mygmailaccountsendmail_path="C:\xampp\mailtodisk\mailtodisk.exe"then i went to the adminpanel->diagnostics-> tried to test the mail.it says Test email sent successfullybut i haven't receive any email( i have added my anther gmail id into TO address ) .even i tried to create a new ticket with new user . still the emails are not working...i'm new to php .please help me on this that what i'm missing. thank you so much
I don't know what mailtodisk.exe s but I have never used it, nor had to use it.Instead of configuring PHP (php.ini) try adding your SMTP settings in osTicket.
hi ntozer,when i try to add the smtp settings for adding a new email.im getting the below error PHP Fatal error: Maximum execution time of 30 seconds exceeded in C:\xampp\htdocs\Helpdesk\include\class.mailfetch.php on line 141I'm using the below smtp setting for incoming and outgoing mails mail fetching:im using statushost.gmail.comport outgoing mail:statushost.gmail.comportAuthenticationRequired
This:PHP Fatal error: Maximum execution time of 30 seconds exceededmeans that the script is taking over 30s to run, and your PHP is killing the process because it exceeded the time out that you have set in the php.ini. Try raising the value in your php.ini for max_execution_time, and restarting the apache.
Hi Ntozier,I changed the php.ini file and set the mysql.connect_timeout=-1Then restart the apache server now im getting below error.Invalid or unknown archive folder!
Hi Ntozier,if i'm updating noreply@gmail only for outgoing emailport: 25 smtp host.gmail.com then the email is saved sucessfully but when try to test this email i'm getting the below error.15-07-10 12 ** Connecting to smtp.gmail.com15-07-10 12 ** Connected.15-07-10 12 << 220 smtp.gmail.com ESMTP pl1sm2212431wic.6 - gsmtp<EOL>15-07-10 12 >> EHLO PADMA-LAPTOP<EOL>15-07-10 12 << 250-smtp.gmail.com at your service, <EOL>250 SIZE 35882577<EOL>15-07-10 12 ** Authenticating as padma.kona4@gmail.com15-07-10 12 >> MAIL FROM: <padma.kona4@[deleted]><EOL>15-07-10 12 << 530 5.7.0 Must issue a STARTTLS command first. pl1sm2212431wic.6 - gsmtp<EOL>15-07-10 12 ** Disconnecting from smtp.gmail.com15-07-10 12 ** Disconnected.15-07-10 12 ** Disconnected.15-07-10 12 ** Must issue a STARTTLS command first. pl1sm2212431wic.6 - gsmtp<EOL>
Last I checked gmail requires using TLS/SSL. Port 25 is not the right port for TLS/SSL.
Hi ntozier,i'm still facing the same problem and I'm new to this php and xampp .i don't know where i'm doing the mistake.can you please explain me clearly where i'm doing the mistake...if i change the php.ini file like belowsmtp_server=smtp.gmail.comport smtp_ssl=tlsi'm getting the below error.Connection Closed Gracefully.if i change the php.ini file like belowsmtp_server=smtp.gmail.com port: 465smtp_ssl=automax_execution_time=128 im getting the below errorSocket Error # 10060<EOL>Connection timed out.
I dont have any settings like that in my php.ini. I put my mail server settings in osTicket.
Hi Ntozier,i dont have a separate mail server.so i installed the xampp and using it.and im using the windows 8 operating system.
You said you were using Googles mail server. So you do have a separate mail server.Go to Admin panel -> Emails -> the email address your using and configure it there.
Hi Ntozier,as i said to you earlier i don't have any separate mail server.i'm using googles mail server.what i want to tell you in the previous message is that i'm using xampp as a webserver.version of osTicket.8.1enviornment running under: Window 8webserver (xampp )version of PHP:5.6.8i went to admin panel -> Emails ->i tried to configure the emailbut im geting the error msg like too many login failures. some times getting authendication failure.i googled in the osticket forum for other solutions some people are saying to use phpmailer as a mailserver. so i download that phpmailer and try to send the test mail .it is working so want to use this phpmailer for osticket .but i don't know on which pages i have to modify ,after that how to configure emails.
If you are using Google's mail server then yes you do have a separate mail server... theirs.If your getting login failures then you would need to resolve that (which is usually that you didn't log into your google account and authorize it to use pop/imap).To use PHP's mail function you need to configure PHP to point to your mail server. And go to Admin panel -> Settings -> Emails and select "None: Use PHP mail function". (see image)Also as a side note 1.8.1 is old and you should upgrade.
hi Ntozier,i did configure the php.ini file like belowinclude_path=".;C:\xampp\php\PHPMailer"And i went to Admin panel -> Settings -> Emails and choose "None: Use PHP mail function(default system email alrets@gmail.com) then click savethen i went to adminpanel->email->diagnoticsfrom:alrets@gmail.comto.kona4@gmail.com then click send messageit is saying error sending mail.please suggest me if have to change any code in the class .email.php to add phpmailer to osticket
There isn't any specific changes that you would need to make to the code.If it isn't working then it's probably your PHP config.I would recommend taht you contact support for the PHPMailer product that you are using.
Hi ntozier,yes you are correct. this is the problem with the php config..anyhow i resolved this problem by moving the application into the other server.now you can close this..Thanks,Padma
Glad to hear that you got this sorted out. Thanks for posting what your solution was, hopefully it will assist someone else having a similar issue.I'll mark this as resolved and close it, but feel free to start a new thread if you have another issue.