| |

VerySource

 Forgot password?
 Register
Search
View: 1148|Reply: 3

STMP problem

[Copy link]

1

Threads

2

Posts

3.00

Credits

Newbie

Rank: 1

Credits
3.00

 Australia

Post time: 2020-12-15 18:30:01
| Show all posts |Read mode
Hello, everyone, I am a novice, I have a question, I want to ask you all, time is running out, please trouble everyone.
This is the case. There is a website that directly uploads the completed php web page to the root directory of the domain name that has been applied for, and the website runs perfectly. The requirement is that the user name after user registration needs to be activated by email. For example, a user registered as lucy and the email address is 12345@163.com. If the registration is successful, the website will send an email to activate the account to 12345@163.com, and the user needs to activate through this email Account. Later, at the request of the client, not to publish the website for the time being. I created a new folder called a under the root directory of the domain name that I had applied for, and then I moved all the web pages to the folder a. After that, I opened the webpage again and tested it and found that there was a problem with the user registration part. The user cannot register the user, and the message prompted is that the email sending failed. What is the reason. Later, I moved the webpage back to its original location, which is the root directory. However, the user is still unable to register, and the prompt message also fails to send the email. Why is that?
Please give me pointers.
Reply

Use magic Report

0

Threads

20

Posts

17.00

Credits

Newbie

Rank: 1

Credits
17.00

 China

Post time: 2020-12-17 06:45:01
| Show all posts
That must be the problem of path settings.
Reply

Use magic Report

0

Threads

3

Posts

4.00

Credits

Newbie

Rank: 1

Credits
4.00

 China

Post time: 2020-12-18 12:45:01
| Show all posts
Under your test, it should fail to read user registration information
Because sending mail has nothing to do with the directory
Reply

Use magic Report

1

Threads

2

Posts

3.00

Credits

Newbie

Rank: 1

Credits
3.00

 Australia

 Author| Post time: 2020-12-19 19:15:01
| Show all posts
Hello everyone, I have some questions for you. I am a novice, I am not familiar with these codes, so I will trouble you
$SMTPSERVER="mail.eftel.net.au";//Is this the smtp address in the applied server?
$SMTPSERVERPORT = 25; //Is the SMTP server port?
$SMTPUSEREMAIL = "aaaaaa@eftel.net.au"; //Is the user mailbox of the SMTP server the user name applied for when applying for the server + the domain name of the server is the user mailbox of the smtp server?
$SMTPUSER = "aaaaaa"; //The user account of the SMTP server, is it the user name of the application server, that is, the user name used when uploading web pages?
$SMTPPASSWORD = "******"; //Is the user account of the SMTP server the password used when applying for the server, that is, the password used when uploading web pages to the server?

Are the user name and password used by smtp consistent with the user name and password used when uploading web pages?
Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

Contact us|Archive|Mobile|CopyRight © 2008-2023|verysource.com ( 京ICP备17048824号-1 )

Quick Reply To Top Return to the list