Could not instantiate mail function - joomla1.5

i am developing a website using joomla 1.5. and i use aiContactSafe component in my "contact us" menu.i am using wamp server in my laptop.but when i try to send comment to check weather it is working it will display an error"Could not instantiate mail function." please can any one help me in solving this issue?
thank you in advance for your help

You won't be able to send mail from your wamp using php mail function, unless you install sendmail or something else, and configure php to use it.
Simpler solution for you is to use smtp settings in Joomla, and then it will be sent through your provider.

Related

how to send email using mailgun php code

I want to send Email with the help of mailgun using php script. I have already made my account on mailgun site and added my domain and verified my domain. I also have my domain and api key with me .. but how to use these in the php script code
Where to get this vendor/autoload.php I am not able to find it on gihub which is shown in liberary page of mailgun website. I am new to MailGun and I have a hosted site and wanted to use the mailgun for my email sending thru PHP script code, but I am not understanding how to send it. The example code shown in mailgun site tells that start code from vendor/autoload.php and then use mailgun\mailgun and i am not understanding how to get these files and where to copy them. I have already made my account on mailgun site and added and verified my domain and i also have my domain and api key.. but how to use these in the php script code/
Can you please help me how to start and where to get all these files, pleas help? thanks in advance
The vendor/autoload.php can be added by running composer, all info is on the mailgun website https://documentation.mailgun.com/libraries.html#php

Not receiving admin order confirmation email from the website Prestashop 1.6.1.1

I am not getting admin order confirmation email after the successful payment. I am getting payment notification from sisow but not from website. Customer is receiving confirmation email but not admin. I am new in prestashop and didn't find any solution.
Please suggest me to make it working.
To receive emails as admin you need to enable one module named "Email Alerts". Enable this module and configure this module. You will see all the setting here. Go through that and set it up accordingly. You can add multiple email ids to receive notifications.
Hope this helps you !!! :)
Also, make sure that you have properly configured in settings like:
Advance Preferences -> E-mail
It's highly recommended to use SMTP instead of mail() function.
Install the module "Mail alerts" to your prestashop project.
It solved my problem for the version 1.6.1.5
i think i got the trick : copy all emails in modules/mailalerts/lang.
should have the same in EN and YOUR LANG.
Also copy in /themes/same_path

Forward module unable to send e-mails

I am new in using drupal and have stuck at a point which I am not able to figure out where am I going wrong...
I need to make "Recommend a friend" application in my site. For that Can anyone suggest me the best modules which I can use for this purpose.
I have found many related modules for this but unfortunately those are not compatible with Drupal 7 such as:
Tell a friend
Tell a friend node
Is there any alternative module which I can use for "Recommend a friend" app where I can send a mail to multiple recipients?
For the meanwhile, I am using "Forward" module which e-mails the entire page. I have installed it completely but I am not able to send any mails.
Before that I have used "Webform" module and for that i even installed SMTP and configured it properly and also I am able to send e-mails from this module.
I am not able to identify where I am going wrong.. Is there anything else which i need to configure for "Forward" module so as to send e-mails properly?
I am getting the following error:
Unable to send e-mail. Contact the site administrator if the problem persists.

Email from an app, but not use a a pop up controller, just text inside a text box

is there any way to send whats in a text view (im trying to make a suggestion box) to my email address?
example
user types in the box " I think you should add twitter support"
then that is sent in the background to my email address example#gmail.com
then a message is popped up on the screen saying "suggestion sent"
just an example of what i mean
Any ideas, tutorial links would be greatly appreciated guys
Thanks
You can do this in php, asp or many another server side programming language. Depends what your server supports?
Your form action would be a php file that would then process the info sent in the form.
http://php.net/manual/en/function.mail.php
You can always roll out your own SMTP client code if you don’t want to use the built-in mail composer. But such a solution is not perfect – you have to have an SMTP server (or use an open relay, yuck) and the device has to be online or you have to write some network queue. As for the SMTP client library, quick search returns skpsmtpmessage (no idea if it works at all).
P.S. Do you insist on sending the suggestion by e-mail? Sounds like a simple HTTP POST into a database would do just fine.

How can I send mail through Gmail with Perl?

How can I send email using Perl through my Gmail account? The one CPAN library (Mail::Webmail::Gmail) that I tried didn't work and I don't see much activity with it.
At the moment I really only need to send a message. However, the advanced functionality of getting my contacts, acting when a new email is received that has a certain label, etc. certainly seems appealing for another day.
Did you try Email::Send::Gmail?
You could always send with SMTP. The server is smtp.gmail.com, it requires TLS and uses authentication. You may also have to enable POP/IMAP in your account.
I had the same problem with Mail::Webmail::Gmail, I ended up using Net::IMAP::Simple::SSL to get my mail from gmail. I'd guess if I had to try to send mail with it I would first try Net::SMTP::Server .
I have extended WWW::Contact::GoogleContactsAPI to get all the contact fields. See:
Is there a Perl module to interface to Google Contacts API?