Welcome Guest, Not a member yet? Register   Sign In
sending mail problem
#1

(This post was last modified: 01-23-2023, 08:10 PM by Deonsop.)

Hello,

I have a form that a user fills out to register for an account on my site. If the user successfully fills out the form, a mail is sent to the user using the user's email but anytime the form is submitted the mail doesn't go through rather i keep getting this error from my localhost;

Code:
A PHP Error was encountered

Severity: Warning

Message: mail(): Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set()

Filename: libraries/Email.php

Line Number: 1845

Backtrace:

File: C:\wamp\www\busticket\application\models\model_user.php
Line: 121
Function: send

File: C:\wamp\www\busticket\application\models\model_user.php
Line: 33
Function: send_validation_email

File: C:\wamp\www\busticket\application\controllers\user.php
Line: 43
Function: insert_user

File: C:\wamp\www\busticket\index.php
Line: 315
Function: require_once

useful links for leisure time
https://analporn.fans
https://analporn.fun
https://analporn.ooo
Reply




Theme © iAndrew 2016 - Forum software by © MyBB