Hi,

I have followed the steps in http://drupal.org/node/124129 to set up my Contact Form. However when I try and use the contact form to send an email, no mail is sent (although the info message says that it is).
Have I missed something during setup? I have not located a section for smtp/Pop3 settings etc?

I hope someone can help!

Regards
Tristan

Comments

TristanR’s picture

These messages are registered as being sent on the log, however no email is received.

Help please...anyone?

vm’s picture

More information?

is there an email account set at administer -> site information ?
Is the email possibly going into spam folder ?
have you tried different hosts to see if it is limited to any specific host ?

is this on a local machine ? or a live server ?

TristanR’s picture

Hi,

Yes I have set an email address at administer -> site information. I have checked the spam folder and the emails are not arriving here. I have tried using both my domain email and my gmail email, the same issue arises.
My drupal site is on a live server (streamline.net).

Regards
Tristan

vm’s picture

registration emails are showing up ?

TristanR’s picture

I have received no emails through drupal.

vm’s picture

get from your server a copy of php.ini in there you will find the ability to set an SMTP or try and configure the SMTP.module found in the downloads area.

TristanR’s picture

I do not seem to have a php.ini file on my server! I have tried to configure the smtp.module, but this has not been successful - I just get a blank white screen!
My host server does not provide an smtp server, so I am trying to use gmail. However there does not seem to be a tls field on the SMTP.Module

vm’s picture

It is common that php.ini is not available to you on your server unless you run your own server. you must ask your host for a copy of it. Provided they allow customized php.ini to be used.

TristanR’s picture

My host does not allow access or customization of the php.ini file.

Andrew Maiman’s picture

When you go to /admin/settings/smtp, you should see the settings for the SMTP module. To configure TLS, select 'Use Encrypted Protocol' -> 'Use TLS'.

This page from Google has additional information about using Gmail as an SMTP client: http://mail.google.com/support/bin/answer.py?answer=13287

You will most likely not want to use Gmail as your SMTP server for a production site, as any message sent through their SMTP servers will have a 'From' address of your Gmail account. (Even if you use another sender, their server will rewrite it to yourname@gmail.com before sending the message).

Your hosting provider should provide you with an SMTP server or some other means of sending mail through their system. If not, you may want to look for a hosting provider who provides that service (or an additional provider who can provide you with a full SMTP server).

TristanR’s picture

I do not get the configure TLS, select 'Use Encrypted Protocol' -> 'Use TLS' options on my SMTP-module settings. Looking at the readme files that come with the module I can only assume that the reason for these fields being omitted is because the PHP's openssl extention is not enabled. I have contacted my host provider to ask them to enable this.

TristanR’s picture

Hi,

Thanks for all the assistance - Contact Form sends emails now!
It turned out that my host does supply an SMTP server! I just filled in the details as instructed and now it works fine!

Regards
Tristan

vinoth.3v’s picture

Hi

Could you pls tell us how u fiixed the Streamline!!! mail problem?

Vinoth

Vinoth - வினோத்

linxlab’s picture

I have the same issue. What if you have access to Php.ini? What do I need to change?

vm’s picture

search file for SMTP however, I'd investigate the smtp.module and follow it's install.txt or readme.txt are previously mentioned.