Sending mail from web site PDF Print E-mail
Written by Carl Friis-Hansen   
Wednesday, 30 July 2008 11:31
Many web sites facilitate sending emails to certain persons vie a web form you fill in with your own name, email address, subject and message body. Management systems like Joomla and Drupal have build-in modules to do just that. However, in order for this function to work, you will have to fill in some configuration parameters.

In Joomla your best options are:
Mailer
SMTP Server
 
Mail from
This e-mail address is being protected from spambots. You need JavaScript enabled to view it            
Obviously this address does not need to be valid
From name
Yourdoamin
Really just for your own information
Sendmail path
/usr/sbin/sendmail
Not needed for SMTP Server configuration
SMTP authetication     
Yes
Might be needed for security reasons
SMTP user name
Mailbox name
Use the name of your main mailbox or blank line
SMTP password
**********
Use the password for your mailbox or blank line
SMTP host
localhost:125
Use exactly this parameter


In Dropal your best options are:
Although you can use the default PHP mail function, there are a number of advantages in using a dedicated SMTP module. You can download it from here http://drupal.org/node/95819  Open the archive and upload the smtp directory to the modules directory of your Drupal site. 
In the Home » Administer » Site building enable the SMTP module and save. In the Home » Administer » Site configuration select the SMTP support and fill in
Turn this module On or Off   
Yes
 
SMTP server
localhost
 
SMTP port
125
Mandatory - Note it is not 25
Use encrypted protocol
No
Really no need to as the mail doesn't leave the closed network
User name
Mailbox name
Use the name of your main mailbox or blank line
Paswword
**********
Use the password for your mailbox or blank line
E-mail from
This e-mail address is being protected from spambots. You need JavaScript enabled to view it      
Obviously this address does not need to be valid
E-mail name
Yourdoamin
Really just for your own information
Then save.
Last Updated on Wednesday, 30 July 2008 18:59
 

Add comment

To be able to vote and have easier access to write comments, etc., go to Login and register yourself.
Your user name and email will never leave this website.


Security code
Refresh