Could not instantiate mail function.

Third Party Plugins to CMSimple - how to install, use and create plugins

Moderator: Tata

Tata
Posts: 3588
Joined: Tue May 20, 2008 5:34 am
Location: Slovakia
Contact:

Could not instantiate mail function.

Post by Tata » Sat Mar 07, 2015 8:26 am

A have AdvancedForm Version: 1.0 running on one website. It worked until about a month ago. Now it says :
Could not instantiate mail function.
on sending the email. The button "Reset form" doesn't work either. Debogger says also nothing. What's wrong?
Last edited by cmb on Sat Mar 07, 2015 12:03 pm, edited 1 time in total.
Reason: Moved to "Addons and Plugins" forum
CMSimple.sk
It's no shame to ask for an answer if all efforts failed.
But it's awful to ask without any effort to find the answer yourself.

cmb
Posts: 14225
Joined: Tue Jun 21, 2011 11:04 am
Location: Bingen, RLP, DE
Contact:

Re: Could not instantiate mail function.

Post by cmb » Sat Mar 07, 2015 10:50 am

Ah, my favorite error message. ;) It's likely caused by your web hosters mail transfer agent and some spam prevention settings. Does CMSimple_XH's built-in mailform work?
Christoph M. Becker – Plugins for CMSimple_XH

Tata
Posts: 3588
Joined: Tue May 20, 2008 5:34 am
Location: Slovakia
Contact:

Re: Could not instantiate mail function.

Post by Tata » Sat Mar 07, 2015 11:29 am

Nun, Emailform funktioniert. Und ich habe die Testemail auch bekomment. Mit dem Advancedform geht es nicht und nur die Meldung rauskommt.
CMSimple.sk
It's no shame to ask for an answer if all efforts failed.
But it's awful to ask without any effort to find the answer yourself.

cmb
Posts: 14225
Joined: Tue Jun 21, 2011 11:04 am
Location: Bingen, RLP, DE
Contact:

Re: Could not instantiate mail function.

Post by cmb » Sat Mar 07, 2015 12:02 pm

Did you use the same email addresses (sender and receiver)? Have you added CC and/or BCC in Advancedform?
Christoph M. Becker – Plugins for CMSimple_XH

Tata
Posts: 3588
Joined: Tue May 20, 2008 5:34 am
Location: Slovakia
Contact:

Re: Could not instantiate mail function.

Post by Tata » Sat Mar 07, 2015 12:21 pm

Ich werde es noch kontrollieren, aber neine, kein CC,BCC und sender/receiver sind nich die gleiche.
CMSimple.sk
It's no shame to ask for an answer if all efforts failed.
But it's awful to ask without any effort to find the answer yourself.

cmb
Posts: 14225
Joined: Tue Jun 21, 2011 11:04 am
Location: Bingen, RLP, DE
Contact:

Re: Could not instantiate mail function.

Post by cmb » Sat Mar 07, 2015 12:24 pm

Tata wrote:sender/receiver sind nich die gleiche.
Kann gut sein, dass es daran liegt.
Christoph M. Becker – Plugins for CMSimple_XH

Tata
Posts: 3588
Joined: Tue May 20, 2008 5:34 am
Location: Slovakia
Contact:

Re: Could not instantiate mail function.

Post by Tata » Sat Mar 07, 2015 3:11 pm

Unter CMS ist die gleiche Adresse, wie in AdvancedForm Konfiguration un auch im Formular. D.h. Email und AdvFormPost sollten auf die selbe Adresse gehen. Mit dem Formular geht es aber nicht.
CMSimple.sk
It's no shame to ask for an answer if all efforts failed.
But it's awful to ask without any effort to find the answer yourself.

cmb
Posts: 14225
Joined: Tue Jun 21, 2011 11:04 am
Location: Bingen, RLP, DE
Contact:

Re: Could not instantiate mail function.

Post by cmb » Sat Mar 07, 2015 3:39 pm

Hast Du die Installation online? Könnte ich dann mal das Admin-Passwort haben? Vielleicht kann ich so schon etwas erkennen.
Christoph M. Becker – Plugins for CMSimple_XH

Tata
Posts: 3588
Joined: Tue May 20, 2008 5:34 am
Location: Slovakia
Contact:

Re: Could not instantiate mail function.

Post by Tata » Sat Mar 07, 2015 4:24 pm

ja, ich habe Dir die Login Detils per PM gepostet.
CMSimple.sk
It's no shame to ask for an answer if all efforts failed.
But it's awful to ask without any effort to find the answer yourself.

Tata
Posts: 3588
Joined: Tue May 20, 2008 5:34 am
Location: Slovakia
Contact:

Re: Could not instantiate mail function.

Post by Tata » Sat Mar 07, 2015 5:35 pm

Super!!! Funtioniert.
Für die, die das selbe Problem haben:
cmb wrote:Auf dem Server ist in php.ini sendmail_from leer (no value); daher wirst Du für das Advancedform-Kontaktformular ein Pflicht-Feld vom Type "email (sender)" einrichten müssen. Einfach nur "email" genügt nicht. Dann müsste es eigentlich klappen.
CMSimple.sk
It's no shame to ask for an answer if all efforts failed.
But it's awful to ask without any effort to find the answer yourself.

Post Reply