M
M
Mahdi7352015-03-02 05:59:29
Email
Mahdi735, 2015-03-02 05:59:29

How to send an email from hoster.kz hosting?

I can’t send a letter to the mail from the hoster.kz hosting, however, on the local server, all letters are still sent to temp/email in the form of txt files, that is, the script works, but there is a problem on the hosting, this is what technical support writes:
Sending mail through the function does not work phpmail?
If you have a mailing list on your site, there is a user registration form, the "leave feedback" function, or some data is sent to users from the site, you need to do the following:

1. Create a mailbox on your hosting account.
2. Register this mailbox in the mailing script (in particular, in the "FROM" field), CMS settings and specify it as "e-mail administrator" in the www domain.
Please help me understand

Answer the question

In order to leave comments, you need to log in

3 answer(s)
N
Nazar Mokrinsky, 2015-03-02
@nazarpc

If even what they wrote in support is not clear to you, hire a specialist.

I
Igor Zakharov, 2015-03-02
@zahar661

1) go to the hosting admin panel, not CMS, select "E-mail" and create a mailbox there.
2) go to the hosting in "WWW Domains" and look for your site, for example toster.ru, click edit it and specify the created mailbox in the email field.
3) go to your site under the administrator, go to the settings there, either SMTP settings or outgoing mail settings, and there we prescribe the localhost server, port 25, email, login, password. and try sending.
good luck.

A
Alexey Narvatov, 2017-11-29
@MrHariys

The problem is that VK closed access to this module.
Alternative:

api_token = "969...0c"
vk_session = vk_api.VkApi(token=api_token)
try:
vk_session.auth()

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question