0
Welcome Guest! Login
0 items Join Now

SOLVED: Could not instantiate mail function.

  • SOLVED: Could not instantiate mail function.

    Posted 13 years 7 months ago
    • Today I logged into my currently offline site to see a message at the top of the screen (front end) saying "Could not instantiate mail function". As a bit of a newbie, I'm wondering what this refers to and how I can best address it? Thanks.
    • Last Edit: 13 years 7 months ago by freshhoneydesigns.
    • Ben Simon's Avatar
    • Ben Simon
    • Elite Rocketeer
    • Posts: 4301
    • Thanks: 8
    • Full-time web developer

    Re: SOLVED: Could not instantiate mail function.

    Posted 13 years 7 months ago
    • Could not instantiate mail function is almost always a case of incorrect settings in Global Configuration > Server > Mail Settings. Check it out first. Here is an exerpt from Joomla documentation about Mail Settings.
      http://docs.joomla.org/Help15:Screen.config.15

      The mail settings are set during the initial setup of Joomla!. These settings can be changed whenever needed.

      Mailer. This setting sets which mailer to use to deliver emails from the site. The default setting is PHP Mail Function. This can be changed during the initial setup of Joomla!.
      PHP Mail Function. This uses the mail function that is built into PHP.
      Sendmail. This uses the Sendmail program, which is typically used when creating HTML email forms.
      SMTP Server. This uses the site's SMTP server.
      Mail from. The email address used by Joomla! to send site email.
      From Name. The name Joomla! will use when sending site emails. By default, Joomla! uses the site name during the initial setup.
      Sendmail Path. The path where the Sendmail program is located. This is typically filled in by Joomla! during the initial setup. This path is only used if Mailer is set to Sendmail.
      SMTP Authentication. If the SMTP server requires authentication to send mail, set this to Yes. Otherwise leave it at No. This is only used if Mailer is set to Sendmail.
      SMTP Username. The username to use for access to the SMTP host. This is only used if Mailer is set to Sendmail.
      SMTP Password. The password to use for access to the SMTP host. This is only used if Mailer is set to Sendmail.
      SMTP Host. The SMTP address to use when sending mail. This is only used if Mailer is set to Sendmail.
    • B e courteous to staff and members that volunteer their time helping you
      E ssential Tool - FireBug
      N ever assume I know what version you're talking about

      S earch the forum for a solution first
      I nclude a link to the problem
      M ark your resolved issues as [SOLVED]
      O nly PM moderators if they request it first
      N o...
  • Re: SOLVED: Could not instantiate mail function.

    Posted 13 years 7 months ago
    • Thank you so much Ben,
      Will read through all of that & hopefully sort it out.
      Much appreciated :)

Time to create page: 0.070 seconds