Hot answers tagged

3 votes
Accepted

Adding SMTP header to message sent with JMail

Ah, I've found it: AddCustomHeader(). Output looks OK like this: $body = "Some content"; $mail = JFactory::getMailer(); $mail->addRecipient("recipient@example.com"); $mail->setBody($body); $...
3 votes

Cannot send emails after migrating hosted joomla to localhost

You need a valid smtp server account in order to be able to send emails through SMTP. Your configuration settings show: SMTP Host = localhost SMTP User = ''; // none, empty SMTP Password = '...
  • 19.5k
2 votes

Gmail blocks my contact form mail sending attempt

This issue is because Google have locked down their email system and require's apps to be authenticated first. With Joomla! this isn't possible at present, so you need to enable the 'less' secure ...
2 votes
Accepted

Joomla Mass Mails not working, SMTP settings ok

Found the problem, the server had the fsockopen() function disabled for security, which PHPMailer 2.1.4 (included with Joomla 2.5) uses. The issue was not present on Joomla 3.5 sites, as these use ...
  • 151
2 votes

SMTP connect() failed, Cannot send mails

Here are the official Joomla! Docs for anyone else looking in the future: https://docs.joomla.org/How_do_I_use_Gmail_as_my_mail_server%3F How do I use Gmail as my mail server? If you have a working ...
  • 1,839
2 votes
Accepted

Joomla contact form

Some hosts blacklist SMTP mail servers and the PHP mail setting just never consistently works. We ended up having to use mandrill's API http://mandrill.com/. There is an exellent extension to use the ...
1 vote

SMTP Error: Could not authenticate

If you're 100% sure that everything is OK and that the problem is not because of your host (a firewall setting), then the likely solution is to enable less secure apps. Read here for a guide on how to ...
  • 3,186
1 vote

Cannot send emails after migrating hosted joomla to localhost

I also noticed your password and username were empty in the configurations you posted: essentially, you do not actually have SMTP and as Michael's warning states, your previous host was actually just ...
  • 1,328
1 vote

Cannot send emails after migrating hosted joomla to localhost

Option 1: In order for you to use the SMTP option in Joomla! on your local installation, you will need an SMTP service installed on that PC listening to port 25 (or whatever port you assign). If you ...
1 vote

SMTP connect() failed, Cannot send mails

IMAP/SMTP do not work be default with Gmail accounts. Probably need to enable less secure apps: https://support.google.com/accounts/answer/6010255?hl=en
1 vote

Joomla Mass Mails not working, SMTP settings ok

There 2 things to check: first of all is email count registration is completed - some services requests additional data filled at account before it can send email (spent 5 hours to find this issue ...
  • 1,120
1 vote

Smtp can't send mail Message get successful but mail not getting?

If Joomla receives a code associated with a successful delivery, then it was delivered. If it does not reach the target, then there is something wrong in mailing configuration.
  • 7,415
1 vote

Notice SMTP connect failed

Local hosts do not support emails unless you manually install and configure the required tools, which is quite a fussy task. Thus, to test your emails, I'd suggest moving your site to a live server ...
  • 26.5k
1 vote

Joomla can't send email via SMTP

Your site is going to send mails following your configuration on Global Configuration/ Server/ Mail Settings. For SMTP, you have to select Mailer=SMTP and the rest of the required information, e.g. ...
  • 7,415
1 vote

Smtp connect failed and unable to send email

Sign-in with your google account, and Click Here now on the bottom right you will find Allow less secure apps: OFF Some non-Google apps and devices use less secure sign-in technology, which could ...
1 vote

Smtp connect failed and unable to send email

Try these settings : Mailer : SMTP Server Mail from : youremail@yourdomain ( Write your e-mail here ) From Name : My Name ( Write a normal name here ) Sendmail Path : leave it by default SMTP ...

Only top scored, non community-wiki answers of a minimum length are eligible