Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [jmail]

Email Class. Provides a common interface to send email from the Joomla! Platform. Extends \PHPMailer.

1
vote
1answer
52 views

Send mail on execute

I have a page, where people can sign up with name and mail to a waitinglist. When they write the info, the backend add it to my db and I have an admin-page to show the list. But I would like to ...
3
votes
1answer
195 views

Ubuntu Server 16.04 and Joomla Mail with Exchange

I'm a bit stumped been working on trying to fix this issue for a few days now and decided it's finally time for help. Essentially, I setup a new Ubuntu 16.04LTS server used to host my Joomla intranet ...
1
vote
1answer
381 views

Adding SMTP header to message sent with JMail

I'm using an e-mail provider (sparkpost) for sending mail from my Joomla! website. Some mails are marketing e-mails others are transactional e-mails. The default e-mail setting in sparkpost is '...
1
vote
1answer
187 views

sending mail from personnal component = ok with Joomla!3.4.5 but nok with Joomla!3.6.2

For debugging, I tried these lines: jimport('joomla.mail.mail'); $m = new JMail(); $m->SetFrom('myAddressMail@xx.fr','myName'); $m->AddReplyTo('myAddressMail@xx.fr','myFirstName'); $m->...
5
votes
2answers
855 views

Don't show other recipients when sending multiple emails with JMail

So this is my code where I send same email to 3 different users $mailer->sendMail($emailfrom, $sitename, 'adam@malinator.com', $subject, $message, 1); $mailer->sendMail($emailfrom, $sitename, '...
1
vote
1answer
427 views

Can't decode form data as json after jinput->post->getArray() if some file is chosen

I retrieve all the form data with: $jinput = JFactory::getApplication()->input; $formData = new JRegistry($jinput->post->getArray()); then decode it and convert to my custom array with: $...
4
votes
1answer
167 views

Is there any benefit to setting encoding of mail to base64?

Using the JMailer class, it possible to easily send out a mail using the Joomla API. One of the options I don't know too much about is the encoding part: $mailer = JFactory::getMailer(); $mailer->...
0
votes
1answer
53 views

Assigning an array output in the email body variable

I have been working on this class for days with no luck or results. I'm trying to insert variable in the email body that contains a function that iterates through an array. The variable that has ...
0
votes
1answer
127 views

Email Content only showing the HTML tags

I created a script that sends an email to the user when they register. The email code is: $return = JFactory::getMailer()->sendMail($data['mailfrom'], $data['fromname'], $data['email'], $...
2
votes
1answer
993 views

Fatal error: Call to undefined method UsersController::setSubject()

I am getting the following error message on my Joomla 3 site: Fatal error: Call to undefined method UsersController::setSubject() I used JMail::sendMail before I used JUtility::sendMail in ...
3
votes
1answer
931 views

Issue with adding multiple mailer recipients

I've got a form that allows users to send an article to friends. The friends are set in a $recipient array. I can dump the array and it looks fine: var_dump($recipients); // array (size=2) 0 => ...
0
votes
1answer
154 views

Send mail subscription in the user language in a component

I'am developping a discussion forum component, in this i need for user subscription when answer is added in a topic by sending a mail to the user language configured in his profile parameters. The ...
4
votes
1answer
687 views

Joomla Mailer won't send a second Email

I'm currently working on a big Joomla website created by a professional company, my job is to take some of the forms and update them. I've been using the Joomla Doc most of the time, but I'm still ...
1
vote
1answer
891 views

Mass emailing - maximum recipients problem

We have a client who would like users to be able to send a mass email to other registered users on the site. We have got this working perfect using Joomla's JMail class which gets all users' email ...
7
votes
1answer
3k views

SMTP no error but not sending email

I have been battling with this for some time now. I have built a custom component for forms and it uses Joomla's mail functions to send email. I have checked all the data to make sure it is correct ...