Hot answers tagged

7

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 = false, mixed $cc = null, mixed $bcc = null, mixed $attachment = null, mixed $replyTo = null, mixed $replyToName = null) Also, if you're sending the same email to ...


6

If it were me, I'd do this: Sign up for Mandrill (made by the MailChimp people). You get the first 12,000 message for free. Sign up here: https://mandrill.com Get the CMandrill component from CompoJoom for free. Get it here: CMandrill Follow all the CMandrill instructions. It bypasses the entire Joomla mail system and sends everything through Mandrill. At ...


4

All the emails that are sent are sent using the language files, so changing the content to the email copy is a matter of doing language overrides: http://docs.joomla.org/J2.5:Language_Overrides_in_Joomla I'm not sure there is a specific single 'event' for catching email sending. The only way to do this would be to probably override the mailer class and add ...


4

It seems to me that the question you are asking is perhaps not the one you meant to ask (if I may be so bold). I'm assuming that 18-20s response is unacceptable either because it's a poor user experience and/or it's annoying for any admin type work (perhaps undertaken by just you). Your analysis of the problem lying with e-mail dispatch suggests that by ...


4

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 think of if you don't receive the message: User plugin settings Locate the plugin User - Joomla in the plugin manager, and make sure it's set to send email ...


4

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 Registration Email Validation plugin or Client-side form validation guide. There is also another approach for bounce-handling used in commercial newsletter ...


4

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 Amazon SES sometimes. Alternatively, I know people implementing Mandrill. All of these solutions are for newsletters and regular notifications. Obviously, spam is ...


4

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 as I don't use that). Admin Tools Pro v4.1.0 have some new features in its WAF configuration: 1. Monitor Global Configuration When this is enabled and ...


3

Below are 2 options: 1. Display the form within Joomla Article. The first one is to inject and publish the form within a joomla article, where the cloaking plugin will be triggered. RS Form component comes with the required plugin that allows to show a form within an article. However this might cause further issues with how the form will deal any other ...


3

You can't run asynchronous PHP processes. What you can do is to try using a queue system. The simplest thing would have a cron job running which checks for mailjobs to be sent. Then your component just has to enter the information into a database table and the cron then picks it up and creates the emails. Depending on how often you run the cron, it obviously ...


3

You should really be using a controller event for the sendMail function. Take a look at the existing contact form stuff: The form view: https://github.com/joomla/joomla-cms/blob/staging/components/com_contact/views/contact/tmpl/default_form.php The view has a submit which sets the task (contact.submit): https://github.com/joomla/joomla-cms/blob/staging/...


3

That's the result of email-cloacking plugin. This is how an email address that exists inside the content, and is obfuscated with javascript, looks in the source code of the document, in order to be hidden from bots, When Javascript is enabled, the above will result in the original email address be printed on the page - otherwise it will display the ...


3

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 several options: Acyba as mentioned by Max Acyba site Email Beautifier by TechJoomla (though it may contain backlinks) Techjoomla site CMandril by Compojoom (this ...


3

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 search your message in the above file and instead of directly editing .com_users.ini which might get overwritten in next joomla update, you should create language ...


3

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, $sitename, 'adam@malinator.com', $subject, $message, 1); JFactory::getMailer()->sendMail($emailfrom, $sitename, 'a.fini@ambulatoriprivati.it', $subject, $...


3

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 = ''; //none, empty Since I see localhost for the host, I assume you want to use the smtp server of our hosting account. In this case you need to ask your ...


2

My colleague and I worked this out. You edit the ps_product file in administrator - components - com_virtuemart - classes. You do a string replace for the attributes you want affected at the end of the "getDescriptionWithTax" function. For example, if you want "Remove Topping" to not be shown when its selected at its default value - "none" in this case - ...


2

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 API instead for all mail on your site. CMandrill. https://compojoom.com/joomla-extensions/mandrill-transactional-emails-made-easy This of course cannot use ...


2

I've had a look and you may want to check out the following files; root/lib/components/com_users/models/remind.php and root/lib/components/com_users/models/reset.php You should be able to add your own email in as a CC there, with something like $mailer->addCC("carboncopy@yourdomain.com") Although according to the official documentation if ...


2

The code you're trying to use (JHtml::_('email.cloak','demo@example.com'); is not meant to be used within articles. The page you linked to states clearly: Joomla has inbuilt email cloaking functionality that can be called within a component or module template But there is an email cloaking plugin included in your Joomla installation, look for Content - ...


2

It's hard to pretend VM3 is prestashop, but imagine you need to do whole custom work to change all models, views, etc. change database tables. I'm professional programmer and if you come to me the price will be higher : ) Reconsider using joomla, i'm not saying Joomla / VM3 is bad, but still hardcore gaming need hardcore gaming pc, hardcore selling needs ...


2

Most likely spoofing but you may be able to use the Email Trace tool in cPanel (or similar) to check if an email was sent to a particular email address from the account. If there is no tool available for you to check this, you could ask your web hosting provider to check for you. As you already realise, seeing the original email headers may help verify the ...


2

This error occurs when you send a form and have some problem, the plugin "Content - Email Cloaking" hide the email address. You can solve this, by disabling this plugin: Extension >> Plugin Manager >> Search "email" >> Disable "Content - Email Cloaking"; Try again, this error won't happen again;


2

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 you can select your newly created usergroup which will send an email to all users that belong to it. Hope this helps


2

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 you want. Changing CORE files sometimes could be difficult and on next Joomla update that will be overridden again (in most cases). Try with language override. ...


2

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 original data. Example: <?php $str = 'This is an encoded string'; echo base64_encode($str); ?> Result: VGhpcyBpcyBhbiBlbmNvZGVkIHN0cmluZw== Source: ...


2

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 html, js, and css. Enter this code into the custom code box: <?php JHtml::_('behavior.formvalidation'); $JInput = JFactory::getApplication()->input; $...


2

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 PHPMalier 2.1.14, which does not use this function. Removing the function from the disabled_functions section of php.ini restored the email functionality to all ...


2

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 components/com_users/models/registration.php file and add true at the end of each and every JFactory::getMailer()->sendMail function call. For example, you should ...


2

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 [or legal] to send promotional emails to users who have not opted-in to receive them." The Mass Mail component does not have this opt-in feature. ACYmailing As ...


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