Difference between revisions of "Get locally hosted Joomla! website e-mail functions to work"

From Joomla! Documentation

m
 
(5 intermediate revisions by 5 users not shown)
Line 1: Line 1:
 
Most ISPs block port 25 so you cannot send email from your own computer's SMTP server. This is to block spammers. If you don't intend to spam, you can use your ISP's mail server.
 
Most ISPs block port 25 so you cannot send email from your own computer's SMTP server. This is to block spammers. If you don't intend to spam, you can use your ISP's mail server.
  
To get the email function from your ISP SMTP server even if you are hosting your own Joomla site on your own computer to work sign in as administrator to your Joomla site. In the menu bar: Site - Global Configuration - mail tab. Your data should look like the following:
+
To get the the email function from your ISP SMTP server even if you are hosting your own Joomla site on your own computer to work, sign in as administrator to your Joomla site. Then in the menu bar select {{rarr|System,Global Configuration,Server tab,Mail Settings section}}. Your data should look like the following:
  
 
  Mailer: SMTP Server
 
  Mailer: SMTP Server
 
  MailFrom: someone@example.com
 
  MailFrom: someone@example.com
  From Name:     SomeName
+
  From Name: SomeName
  Sendmail Path /usr/sbin/sendmail
+
  Sendmail Path: /usr/sbin/sendmail
  SMTP Auth:     Yes
+
  SMTP Auth: Yes
  SMTP User: johndoe (username at one of your email accounts at your ISP)
+
  SMTP User: johndoe (username at one of your email accounts at your ISP)
  SMTP Pass:     trr33459 (password at one of your email accounts at your ISP)
+
  SMTP Pass: trr33459 (password at one of your email accounts at your ISP)
  SMTP Host:     smtp.charter.net (Whatever your ISP tells you to use for their SMTP servers)
+
  SMTP Host: smtp.charter.net (Whatever your ISP tells you to use for their SMTP servers)
  
 
The SMTP User, Pass, and Host are the same fields you enter when adding an Outlook Express Account, or Eudora, or any client email you may use on your computer.
 
The SMTP User, Pass, and Host are the same fields you enter when adding an Outlook Express Account, or Eudora, or any client email you may use on your computer.
  
You may run into problems with extensions that change the "from" address in the emails being sent out. For example, the ProjectFork extension sometimes sends emails as if they are coming from person in control of the project. This can cause a problem because some ISP SMTP servers will not allow a "from" address that does not match the user name (e.g. Rogers in Canada). You will get a message like this: "PHPMAILER_FROM_FAILEDname@whatever.com." A work around is to make sure that you always use a valid email address from you ISP for your users.
+
You may run into problems with extensions that change the ''from'' address in the emails being sent out. For example, the ProjectFork extension sometimes sends emails as if they are coming from person in control of the project. This can cause a problem because some ISP SMTP servers will not allow a "from" address that does not match the user name (e.g. Rogers in Canada). You will get a message like this: "PHPMAILER_FROM_FAILEDname@whatever.com." A work around is to make sure that you always use a valid email address from your ISP for your users.
  
 
[[Category:Tips and tricks]]
 
[[Category:Tips and tricks]]
[[Category:Tips and tricks 1.0]]
 
 
[[Category:Tutorials]][[Category:Component Management]]
 
[[Category:Tutorials]][[Category:Component Management]]

Latest revision as of 13:40, 22 February 2023

Most ISPs block port 25 so you cannot send email from your own computer's SMTP server. This is to block spammers. If you don't intend to spam, you can use your ISP's mail server.

To get the the email function from your ISP SMTP server even if you are hosting your own Joomla site on your own computer to work, sign in as administrator to your Joomla site. Then in the menu bar select System  Global Configuration  Server tab  Mail Settings section. Your data should look like the following:

Mailer: SMTP Server
MailFrom: someone@example.com
From Name: SomeName
Sendmail Path: /usr/sbin/sendmail
SMTP Auth: Yes
SMTP User: johndoe (username at one of your email accounts at your ISP)
SMTP Pass: trr33459 (password at one of your email accounts at your ISP)
SMTP Host: smtp.charter.net (Whatever your ISP tells you to use for their SMTP servers)

The SMTP User, Pass, and Host are the same fields you enter when adding an Outlook Express Account, or Eudora, or any client email you may use on your computer.

You may run into problems with extensions that change the from address in the emails being sent out. For example, the ProjectFork extension sometimes sends emails as if they are coming from person in control of the project. This can cause a problem because some ISP SMTP servers will not allow a "from" address that does not match the user name (e.g. Rogers in Canada). You will get a message like this: "PHPMAILER_FROM_FAILEDname@whatever.com." A work around is to make sure that you always use a valid email address from your ISP for your users.