Email in Joomla - joomla

i am having a joomla site, i hosted it in my own lap, using no-ip, the problem is mail function is not working,what may be the problem? how can i solve it?

This is configured in the Administration Control Panel, in the "Server" tab, mail settings. Default is to use PHP mail - since PHP is usually configured by the hosting provider to send mail without knowing any additional parameters. So for local installation you need to ensure that either your PHP is configured to send emails, or use the Sendmail or SMTP options in Joomla (and configure them there).
I hope this helps.

Related

How to properly configure Laravel mail in Heroku? [duplicate]

I'm currently having trouble with the password reset mail created by make:auth in Laravel 5.6. My app is hosted on Heroku. In my local environment everything works fine. I have set the right values in the config vars in Heroku, same in my local .env file:
MAIL_DRIVER=smtp
MAIL_HOST=smtp.gmail.com
MAIL_PORT=587
MAIL_USERNAME=myMail#gmail.com
MAIL_PASSWORD=bla
MAIL_ENCRYPTION=tls
I have read here that I have to hard-code the values inside app/mail.php instead of referencing the .env file because Heroku wouldn't recognize/understand this reference
'password' => env('MAIL_PASSWORD')
But then my data would be visible inside the GitHub repo.
What am I doing wrong here?
EDIT:
The accepted answer is the way to go, one should use an Add-On for sending mails in Heroku. Still I found a way to make it work with gmail after setting up sendgrid ;)
- Use `Port 465 with ssl` as encryption.
- Allow `less secure apps` access to my account.
- Visit `http://www.google.com/accounts/DisplayUnlockCaptcha` and sign in with your Gmail username and password.
After these steps, it worked.
Maybe this is helpful for others.
EDIT2:
I migrated Laravel from version 5.x to 8 and I ran into problems again, so I had to change my approach again with gmail.
I had to:
- Allow `less secure apps` access to my account.
- Enable two step verification and create an App Password like in the accepted answer of this question: https://stackoverflow.com/questions/42558903/expected-response-code-250-but-got-code-535-with-message-535-5-7-8-username
- Change Port back to 587 and tls again
- Visit `http://www.google.com/accounts/DisplayUnlockCaptcha` and sign in with your Gmail username and password.
Don't use Gmail in production¹.
Gmail isn't designed to act as an SMTP gateway for your application. Instead, use one of the many mail addons that Heroku recommends. Mailgun and SendGrid are both very popular options, but there are lots of others.
These tools are designed to send mail for applications. They'll be a lot less likely to reject your mail and, when configured properly, make it a lot less likely for your mail to get caught in spam filters. Most of them have walkthroughs for setting things up, and I encourage you to follow them. Make sure not to skip the SPF and DKIM anti-spam features.
I have read here that I have to hard-code the values inside app/mail.php instead of referencing the .env file because Heroku wouldn't recognize/understand this reference
'password' => env('MAIL_PASSWORD')
This is incorrect.
You say that you've set config variables on Heroku, and that populates the environment. The .env file is just a convenient local workaround for doing the same thing. Whichever mail addon you choose will automatically set one or more environment variables for you, and you should use those in your code.
¹You probably shouldn't be using it in development, either, but it's less of a problem there. I urge you to use something like Mailtrap (cloud) or Mailcatcher (local) instead.

Magento 2.3 Not Sending any Emails

I am using Magento 2.3 installed via web hosting Cpanel.
I am testing the emails but nothing was sent to my emails in hotmail or gmail or personal hosting emails
nor sending to spam folder
I tested the email sending from another script (Wordpress) on my hosting and it was working fine I get emails
I have tested using my hosting emails also gmail email it doesn't work
not sending :
register confirmation link email
password reset email
order transaction email
newsletter emails
these are my configuration on admin panel:
BTW, as you see on the page , there is no option for SMTP Configuration (thus I don't have mail server I am using my hosting Email server )
this is my hosting server information:
I have added mail() function at the end of index.php file of magento root and it is working
How Can I fix this issue?
Regards,
You most likely need to set up the Magento CronTab.
Instructions listed here Setting Up Magento CronTab

Laravel send mail via Gmail fails - cannot connect to server

The server, Ubuntu 16.04, with Nginx webserver.
I am running 2 virtual hosts, both have Laravel apps running. One is Laravel 5.1, the other is 5.4.
I have the same contact us form under both Laravel instances. The sendmail function on the controller is the same for both (I know I need to refactor this functionality off of the controller :-) ) Both have the same config/mail.php settings. .env is the same on both, other than the username and password. Both gmail accounts have insecure applications enabled / allowed.
The one running under Laravel 5.1 works perfectly. The one under 5.4 gives a timeout error when trying to connect to gmail.
Any ideas on what the fix should be?
The solution appears to be related to the Gmail password. The client insisted on an easily remembered password. I changed to a more complex password, and everything worked.
I did read a post that said that Google does not like automated accesses with insecure passwords. Sorry, I cannot reference that post - can't find it again.
Apparently, the solution is to use a secure password. I merely added special characters to the client's desired password.
I hope this helps someone else.

Joomla - Send grid configuration issue

We are developing Joomla website and have to do Send grid configurations. We have set everything as per guided in official site.
We are getting following issue when sending the email from joomla backend.
"SMTP Error! Could not connect to SMTP host."
this is most likely host-related. First make sure your component is not the issue try sending an email from the user manager.
If it goes through, then your component is not using Joomla configuration properly
If it doesn't (which I would expect) it's just a problem with your server configuration,
check firewall, spam settings, try to send email from the command line...

My magento site can't sent email to the customer

Does anyone know why Magento 1.4 fails to send email notifications for a new order and account activation ?
when I submit the Contact us form it gives the below error.
Unable to submit your request. Please, try again laterAny idea/suggestion on this will be highly appreciated.
More info please. Is this on a Linux box, Windows, etc... Also check the php configuration SMTP settings. Like any php app, email is handed off to the host system, or to server designated in php.ini. Do you have a known working SMTP server to access?
First thing you need to check is whether email communication is disabled in the admin panel.

Resources