Send email from a script on a shared hosting

From EN Ikoula wiki
Revision as of 16:33, 9 February 2017 by Ikbot (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
⧼vector-jumptonavigation⧽ ⧼vector-jumptosearch⧽

en:Send email from a script on a shared hosting he:שלח דוא של קובץ script על אירוח משותף ro:Trimite e-mail de la un script pe un shared hosting ru:Отправить электронную почту с помощью сценария на виртуальный хостинг pl:Wyślij e-mail z skrypt na shared hostingu ja:共有ホスティング上のスクリプトからメールを送信します。 ar:إرسال البريد الإلكتروني من برنامج نصي على استضافة مشتركة zh:从在一个共享的主机上的脚本发送邮件 de:Senden Sie e-Mail aus einem Skript auf einem shared hosting nl:E-mail verzenden vanaf een script op een shared hosting it:Inviare e-mail da uno script su un hosting condiviso pt:Enviar e-mail a partir de um script em uma hospedagem compartilhada es:Enviar correo electrónico desde un script en un hosting compartido fr:Envoyer un mail depuis un script sur un hébergement mutualisé

This article has been created by an automatic translation software. You can view the article source here.

Problem

I can not send mail via my Plesk hosting, since a script or a mail client.

Solution

In order to send an email from yor r shared Linux hosting / Windows with Plesk, from a script or a mail client, make sure you use the following :

1) You must have a valid mail box created on your [Control Panel] with the password associated

2) You use the SMTP of your domain : mail.votre_domaine.tld, port 25 ou 587 (If your ISP blocks port 25)

3) This Server mail requires authentication, enter the full mail address in user name and password you assigned him in 1

4) If you go through a script, make sure to properly train your mail :

         - for PHP  : fr:Envoyer un email avec authentification SMTP avec PHP
         - ASP.NET / JMail : fr:Exemple de script d'envoi de mail avec Jmail en Framework 3.5

Note : You can find the settings to enter your mail client on your Control Panel, tab, by clicking on the icon with the envelope and the tool at the end of the line with the address of the box.



You are not allowed to post comments.