ebookx10
New Member
- Messages
- 7
- Reaction score
- 0
- Points
- 1
I installed Laravel in my free hosting website.
I want to use the Mail send feature for my website.
First, I tried with SMTP configuration obtained from DirectAdmin / Email Accounts / Download Outlook Configuration. The configuration is something as below:
So, I set my Laravel configuration as below:
But when I run the code, following error is happen:
I think that my Laravel internal configuration is correctly, is there any of above parameter is incorrect?
Or, is this function available in my hosting?
In addition, when I change to use 'sendmail':
Following error also happen:
Seem this feature is not available in my hosting.
I want to use the Mail send feature for my website.
First, I tried with SMTP configuration obtained from DirectAdmin / Email Accounts / Download Outlook Configuration. The configuration is something as below:
Code:
"Account Name"="admin@ebook.x10.mx"
"Connection Type"=dword:00000003
"POP3 Server"="mail.ebook.x10.mx"
"SMTP Server"="mail.ebook.x10.mx"
"POP3 User Name"="admin@ebook.x10.mx"
"SMTP User Name"=""
"POP3 Prompt for Password"=dword:00000000
"SMTP Prompt for Password"=dword:00000000
"SMTP Display Name"="admin@ebook.x10.mx"
"SMTP Email Address"="admin@ebook.x10.mx"
"POP3 Skip Account"=dword:00000000
"SMTP Use Sicily"=dword:00000002
"POP3 Timeout"=dword:0000003c
"SMTP Timeout"=dword:0000003c
"SMTP Secure Connection"=dword:00000000
"SMTP Split Messages"=dword:00000000
"POP3 Port"=dword:0000006e
"SMTP Port"=dword:0000024b
So, I set my Laravel configuration as below:
Code:
MAIL_MAILER=smtp
MAIL_HOST=mail.ebook.x10.mx
MAIL_PORT=587
MAIL_USERNAME=admin@ebook.x10.mx
MAIL_PASSWORD=<my email password>
MAIL_ENCRYPTION=null
MAIL_FROM_ADDRESS=admin@ebook.x10.mx
MAIL_FROM_NAME="Admin (admin@ebook.x10.mx)"
But when I run the code, following error is happen:
Code:
Swift_TransportException
Connection could not be established with host mail.ebook.x10.mx :stream_socket_client(): unable to connect to mail.ebook.x10.mx:587 (Connection refused)
Or, is this function available in my hosting?
In addition, when I change to use 'sendmail':
Code:
MAIL_MAILER=sendmail
Code:
ErrorException
proc_open() has been disabled for security reasons