Forward module unable to send e-mails - email

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.

Related

Send emails from flutter application without expenses or smtp server and without opening the gmail app

As the title says, I would like to know if there is any way to send emails without having to use an external service, that charges me for sending the messages, or having to use an SMTP server in which each user has to be registered.
I have also seen pages like email.js but I don't want to have to pay for that if there is a possibility to do it on my own. It is also not useful for me to open the Gmail or messaging application of the device itself since I already know how to do that and it is not what I want.
For better understanding, I will give an example of what I want to do.
What I want is that from my application the user writes a message and from there that email message is sent to several different users from a list, without having to log in or anything, since the emails will be sent from my own email account. gmail that I have specifically created for the application.
I have seen the smtp server but from the information that I have seen that server implies that I have to log in to be able to have the token and that is not what I want because I want that once I configure everything there is no need to do anything else that people receive your messages and that's it.
I don't know if this is possible but I hope someone can help me.
Sending emails without your user logging in would require you to have either the credentials stored in the app (which is unsafe) or use a custom backend server that will host all the credentials that cannot be extracted. I would advise going with the backend route because it is easier to setup and your application will simply perform a HTTP request to get it done.
From the documentation of the mailer package, you can implement the server method pretty easily and get it moving. You will have to find a free web hosting service to deploy to.
There would really be otherwise no other way to get what you desire for virtually free.

How to send email from Contact Form in Drupal 7?

Currently, I am developing a website using Drupal 7 in my local computer.
I have set up Contact Form (Drupal core module) for user to send feedbacks.
However, I have no idea how to send email from Contact form. I didn't receive any email after I filled in and submitted the contact form. And website displays the status "The message has been sent." But there is no email received.
I know there must be something I need to setup before using Contact Form. Maybe mail server?
I use Drupal 7 with XAMPP.
Is there any step-by-step guideline on sending email? Maybe for both cases
Local machine as web server (for testing on my local computer)
Real web server (for publishing after everything is done)
I have searched some solutions in some forums but I do not understand.
I am new to Drupal.
Thank you so much for your help and guidance.
For getting mail from contact form,
Enable the module
Go to admin-> structure-> contact form
Create new category
Fill the details Category, Recipients (you need to give the mail you need to get notified), etc...
If you need to test the mail in local then you need to setup SMTP module in your drupal, this will work in server also.
If you don't have any any SMTP settings then you need to test in server. In server you may don't need any smtp mail, simply php mail may work if your hosting server is support. So no need to do any extra effort for that.

Joomla 3.3 modules not sending e-mails to different domains

I'm trying to confugure a contact form module to send the forms to custom e-mails other than the administrator's, wich is from the same domain as Joomla installation.
When I configure the module to send to administrator's e-mail, it works fine. However when I input other e-mail adresses from different domains to be the recipient, the e-mail isn't sent.
I already tested with Breezing Forms and B2J Contact, and this problem happened with both of them so I suppose it's a Joomla configuration problem. Using B2J Contact allows me to add two e-mail recipients, so I tested using the administrator's as main and the other from a different domain as copy, and I receive the e-mail only on the main recipient.
I'm using PHP Mail as the send method and my Joomla version is 3.3.0.
I've been researching for days and can't seem to find a solution.
Any help would be much appreciated.
I solved this problem by changing the send mail method to SMTP and placing the right port number, which I got from my host provider.

Securely sending email via external smtp server in cocoa touch

I'd like my app to be able to send an email, from my servers to their address, when they press a button. Seems simple enough but I can't seem to find any straightforward examples. The ones I have found use third party libraries which some people said were insecure in that someone could find a way to send their own emails through that account.
Also, would this type of thing get my app rejected? Do I have to use the built in email message window?
Thanks!
check this out: http://code.google.com/p/skpsmtpmessage/

How can Drupal users receive emails from outside Drupal?

I have a basic Drupal install and a bunch of users.
How could my Drupal users receive e-mails from the outside world at their address (e.g. user#my-drupal-install.com)?
Thank you!
Drupal is a system for serving web pages, it does not run mail servers. If there is no mail server present on your system, you will need to install one. Once you have a mail server running, you can install a Drupal module such as Webmail Plus to provide a webmail interface for your users.
For the case you describe I think the best way to handle this is to set up a mail server with automatic forwarding, and run a batch process once a day or so that extracts the usernames and their e-mail addresses from your Drupal database's user table. Drupal itself doesn't need to be involved in the actual sending and receiving of e-mail at all.
If you are using the Drupal username as the first part of the e-mail address then your export script could just run a query like
SELECT name, mail
FROM `users`
WHERE 1
as part of a shell script that populates a table of e-mail addresses to forward to. For the correct formatting and configuration of such a file you'll really need to dig into the documentation of your e-mail server.
Thanks all!
You've put me in the right direction and I ended up writing a script that reads the Drupal's users table and configures the mail server accordingly.
I've turned it into a small Python library for WebFaction, available at http://code.google.com/p/drupal2mail.
Hope it's useful for some!