Joomla : Could not instantiate mail function - joomla

I have developed a website in joomla, and I have a contact us page, in that the form works fine only when I use to send an email from the same domain
Eg :
From : rimaz#abcd.com
To : john#abcd.com
But when I send to a different domain the form gives an error as "Could not instantiate mail function."
Eg :
From : rimaz#abcd.com
To : john#gmail.com
Can anyone explain me about this problem ??

Instead of debugging your providers SMTP / email setup you can use the new mandrill service from the guys who do mailchimp - Mandrill ( http://blog.mailchimp.com/public-beta-of-mandrill-smtp-email-service/ ) with the plugin :
http://extensions.joomla.org/extensions/content-sharing/mailing-a-distribution-lists/20624
Mandrill is a plugin that allows your Joomla installation to send transactional emails. The only thing you need to do is to provide your Mandrill API key and enable the plugin. After that all emails (new user registration, password reset etc) will be send through the Mandrill service.
Mandrill Features:
Uses MailChimp's awesome email delivery engine instead of your server
Tracks opens and clicks so you know how effective these emails are to your users . Now you can > see what you need to change to make them
more effective.
Has pretty, visual reports of the email results
Allows you to tag the emails and see your stats filtered by tag
Why would understanding transactional emails be important for you. An example is when a user signs > up on your site an email is sent via Joomla. But, you get no reports to understand how effective that email did. These emails are sent as instructions to your users telling them a message you want them to understand. Where they designed good? Was the content well written? Was it structured properly? This is hard to say when it goes thru Joomla but now you will understand all this when the emails goes thru Mandrill.

This is a setting from your host. YOu can ask them for help in figuring out how to make it work, but they are trying to prevent you from using their hosting to spam people.
Sometimes it is possible to work around it but not always.

This usually happens due to restrictive mail server settings, which you most likely don't have influence on with shared hosting.
If you have more control over the server, you should fix the mail server settings.
If not, the easiest way is to use Joomla's ability to send mails using any SMTP mail account. Create a mail account for Joomla, and enter the credentials in Joomla's configuration. Joomla will then use that account to send mails. So will extensions, if they are properly written.

Related

Magento 2 Order Confirmation Emails Not Sending

Currently having an issue with order confirmation emails not sending.
I have looked at various forums / solutions and these haven't worked.
My existing setup is using the MagePlaza SMTP to send email using Mandrill, this is working through their test function and also the Forgotten Password and Create account emails are being sent but not the Order Confirmation emails.
I am using IWD One Step checkout but have also disabled this to try with Magento default checkout and it doesn't work using either.
Asyncronous sending is set to disabled but I have also tried with it enabled. Both times no order emails are sent.
As I'm using Mandrill I have checked their API logs and the API request isn't being sent.
Any help/suggestions appreciated.
It's possible that the "From" address is wrong.
Goto Stores -> Configuration -> General -> Store Email Addresses and check if "Sales Representative" Email address is correct.
There is known bug in Magento 2.2.4/2.2.5/2.2.6 and you might be afected by it:
https://github.com/magento/magento2/issues/14952.
TLDR: There is no from data set on email transaction and messeges aren't sending at all.
Try thisfix:
https://github.com/magento/magento2/issues/14952

Joomla contact form not working.

I am new with Joomla 3.5 and I'm already set up a contact form on my Joomla but the problem is I no receive any email from my localhost. I searched on several forums but I didn't find an answer to my problem. First thing I want to know is if it's possible to send an email with a local web server. Secondly, is it possible to send the mails to a gmail address and, if yes, what parameters - and where- do I have to change.I don't want to use STMP and it only allowed to use PHP mail. I am using Xampp Server.

How to transfer my domain from bluehost, enable email notification and receive emails?

This is sort of planning question . I have my domain at bluehost.com. But since I started to learn laravel and I am currently having temp domain in hover and I have forge/digitalocean solution.. Now I want to pull my real domain and make some email inboxes for my team.. how can I achieve that.. what tools I need to use.. my question has three parts :
1- How to pull my old domain from bluehost to forge/digitalocea, ? 2- How to create email for my team such as support#mydomain.com .. admin#mydomain.com and I want to get emails from outside world 3- How can I send email notifications from my project such as ,, account confirmation.. etc? ( I tried mailgun but it seems it not stable. it failed sometimes to send and sometimes there is delay ).
Please advice!!
How to pull my old domain from bluehost to forge/digitalocean?
Please refer on this link: https://www.digitalocean.com/community/tutorials/how-to-set-up-a-host-name-with-digitalocean
Or see an example here: http://bivori.com/migration-form-bluehost-to-digitalocean/
How to create an email server?
You can use and integrate Zoho Mail Server for Free upto 25 users.
Just follow this link:
https://www.digitalocean.com/community/tutorials/how-to-set-up-zoho-mail-with-a-custom-domain-managed-by-digitalocean-dns
How can I process email messaging?
If your using Laravel, I suggest you follow instructions as stated in their manual:
https://laravel.com/docs/5.3/mail

Get user email in windows 10 universal app

I am trying to build a control that the user can use to send feedback to developer. I am using email as a delivery method and I leverage sendgrid email service for this. Now I want to know the users email address so I can respond back to the user's concern. I am not sure how to get the user's email in window 10. Any help or pointers please?
I would strongly recommend to use the sharing approach that has been introduced with Windows 8 - instead of writing and maintaining your own mail functionality and trying to access additional user data.
Have a look at the existing and built in e-mail functionalities. They make use of the user's connected mail accounts and the mail app. This way you don't need to worry about handling the message transmission or anything but rather hand the information over to the mail client. This way you also know how to reply back.
And as a bonus, the user can still access their message via the Sent Mails folder :)
There is a specific class for that, the EmailMessageClass (https://msdn.microsoft.com/en-us/library/windows/apps/windows.applicationmodel.email.emailmessage.aspx?cs-save-lang=1&cs-lang=csharp#code-snippet-1) as well as a dedicated guide with code example.
https://msdn.microsoft.com/en-us/library/windows/apps/mt269391.aspx
Essentially you can prepopulate the Mail fields with necessary app information where applicable. The user gets to choose which accounts he wants to send the mail from, but it will open in the mail client.

Contact-Me from webpage without using email client

help out a noob with a simple web development question??
I want to create a Contact-Me form on my website, but I'd like it to not go through the email client that's installed on the user's machine, in case they're at a public terminal. I don't mind if the email comes from "me" to "me", as long as nobody can use it to spam me! Is there a way to get it to safely use the SMTP server it uses when I myself send an email? (This is a Yahoo-hosted website, and I have a Yahoo email account associated with it.)
Sure. You want a simple contact form that posts to some .php/.asp/.whatever script. That script should be able to use the SMTP server from your host (Yahoo!). You may end up sending from a different email than your personal #yahoo.com one, but just look up the info for your host.
I Googled "yahoo hosting send email" and the first result looks very relevant: http://help.yahoo.com/l/us/yahoo/smallbusiness/webhosting/php/php-17.html
As for wanting to stop spam from coming in through the form, just implement a captcha. I'd recommend using reCAPTCHA - it's free and has sample code that you can basically just plug in.

Resources