7
votes
Accepted
Don't show other recipients when sending multiple emails with JMail
As you can see on the API reference page, the sendMail() function has a $bcc parameter:
sendMail(string $from, string $fromName, mixed $recipient, string $subject, string $body, boolean $mode = ...
6
votes
Accepted
index.php is sending out a suspicious number of emails
A few steps I take when troubleshooting these types of things for new clients when they’ve been hacked:
You can add your first site free to https:://mysites.guru which will then run an audit on your ...
5
votes
Create user from administrator and send email
The default behavior is that Joomla will send out an email to new users when created from the admin area (to the email in the "Email" field of the user settings).
There are a couple of reasons I can ...
4
votes
How to capture bounce email in joomla
One way to disallow bogus e-mails is to validate them during registration process. There are quite few extensions and guides available by simple Google search 'joomla validate email', such as Pre ...
4
votes
Mass mail 50k + users, solution?
The most common solution is AcyMailing + a professional SMTP service.
AcyMailing is the best mailing extension for Joomla.
My favorites SMTP services are SendGrid and Postmark. I also implement ...
4
votes
Accepted
You must provide at least one recipient email address (when saving Global Configuration)
Hmm, I think I sorted out from where this notice is coming from. It looks like responsible for this is the latest version of Akeeba Admin Tools Pro (maybe it's also in the free core version don't know ...
3
votes
Accepted
Get user info and send email from button
Download Flexi Custom Code Module from the JED.
Install the module and publish it to the position of your choice.
Below the custom code box leave the option to use PHP on and disable the cleanup of ...
3
votes
Accepted
Modify mail on user-creation
Registration message comes from Language Variable defined in com_users language file:
\language\en-GB\en-GB.com_users.ini
Replace en-GB with your desired language code of course.
You should ...
3
votes
Customize system emails
The real answer is, it's a total pain. Most of the emails are in the language files, so you have to hack html into those and pray it works. The better way to do it IS with a plugin, and there are ...
3
votes
Don't show other recipients when sending multiple emails with JMail
There are 2 solutions you can try of the following.
By avoiding the mailer instance : $mailerand using the following code -
JFactory::getMailer()
JFactory::getMailer()->sendMail($emailfrom, $...
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 = '...
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("reci[email protected]");
$mail->setBody($body);
$...
3
votes
Accepted
Workflow question: How to fix missing com_messages text?
I've got the very same problem. This currently, i.e. November 2022, is a bug in Joomla 4.
Update
There is a nicer workaround to the one I posted initially. Updating my answer to show both.
Workaround ...
2
votes
Sending email to some specific user
If you don't want to use an extension, what you can do is:
Create a new user group
Assign these specific users to you newly created group
In the Joomla backend, go to Users >> Mass Mail Users
Here ...
2
votes
Is there any benefit to setting encoding of mail to base64?
This encoding is designed to make binary data survive transport through transport layers that are not 8-bit clean, such as mail bodies.
Base64-encoded data takes about 33% more space than the ...
2
votes
Customize system emails
Depends what are your needs, but language overrides can help with most of the problems. On this way you can add HTML code into the language override and that means you can include most of the things ...
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 ...
2
votes
How to Modify Joomla Registration Confirmation Email
The text is the HTML of the email. You can have HTML code in that text formatted the way you want. There is no other place where you can actually change the HTML of that email.
Update: Open the ...
2
votes
Mass mail 50k + users, solution?
The Joomla! CMS is not a mass mailing utility and should not be used as such. Though there is a Mass Mail component in the Joomla! core, Arvind Chauhan of JoomlaArt points out that "It’s not ethical [...
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 ...
2
votes
Accepted
When calling sendMail, how do I get the error if the mail isn't sent?
Firstly, just on a side note, please remove the & before JFactory
There was a pull request submitted on Github a year ago that allowed Joomla to catch the errors being throw by PHPMailer:
https:/...
2
votes
Variables do not work in email form
Your where clauses are incorrect. You don't need to use the table name, only the column
So replace the clauses as shown below:
Query 1:
$query1->where($db->quoteName('#__hikers.link_id')." = "...
2
votes
Accepted
getMailer gives "Failed to start application" exception, how do I fix it?
I found the answer to this question myself, but I have to thank mickmackusa for pointing me in the right direction by linking several debug instructions.
Since other people might encounter my same ...
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
vote
How do I make the registration verification email send all user details?
You must edit file /components/com_user/models/registration.php line 549
$emailBodyAdmin = JText::sprintf(
'COM_USERS_EMAIL_REGISTERED_NOTIFICATION_TO_ADMIN_BODY',
$data['name'],
$data['...
1
vote
Email doesn't get sent if it includes a specific URL
Use Acymailing spam test option.
The test will give you some clues about the rejected URL.
I suggest also to use this service:
https://www.mail-tester.com/
and againg check the report.
1
vote
Email doesn't get sent if it includes a specific URL
Not an answer but some suggestions:
Is there something unusual about that specific URL that would be causing acymailing (or some other component) to have a problem sending it?
Maybe contains spaces ...
1
vote
Activation email not being sent
We had the same issue yesterday along with another issue which was part of the same problem.
We had tried everything mentioned above then decided to ring the hosting company. This was a good move ...
1
vote
Activation email not being sent
Try this configuration once, if it worked. You haven't set it up correctly.
Use Gmail as your mailer, below are the SMTP config and it works perfectly (even on localhost)
Go to Global Configuration -...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
emails × 93joomla-3.x × 30
smtp × 11
joomla-2.5 × 10
user × 10
php × 9
registration × 8
email-template × 6
security × 5
joomla-4.x × 5
jmail × 5
development × 4
administrator × 4
joomla-3.6 × 4
virtuemart × 4
global-configuration × 4
extensions × 3
custom-module × 3
error-handling × 3
contact-form × 3
joomla-mail × 3
component × 2
plugin × 2
joomla-3.4 × 2
joomla-3.3.x × 2