Mailform Settings

Erweiterungen
tze_frog
Posts: 9
Joined: Sun 3. Feb 2013, 15:28

Mailform Settings

Postby tze_frog » Thu 18. May 2017, 11:00

Hi Gert

I am administrating/maintaining two websites with different providers.
Problem: e-mails do not get through

Site #1:
www.jegvilgernetilsankthansfest.dk
CMSimple: 4.7.2
template: skyview_2nb_R
provider: http://www.one.com
PHP-version: 5.6.30
I cannot get e-mails through. I have tried with the standard mailform included with template functions and also with the plugin mailforms.
As the site is quite busy right now I have removed the e-mail icon (no e-mail address entered in the CMS Settings line Mailform).

From your earlier communication 'Mailforms Mails kommen nicht an by chesswizard 6/3 2017', I suspected provider requirements to block the e-mails. I contacted http://www.one.com and received the following answer:

<---reply begin--
Using a mailform 6/6
Added May 17, 2017 9:15 PM
Your rating: Not rated
Support - rbmr
Hi there,

Thank you for contacting One.com!

If you are using a script for the contact form, you have to enable the authentication by using the below code:

$smtp = Mail::factory('smtp', array(
'host' => $smtpHost,
'port' => $smtpPort,
'auth' => true,
'username' => $username,
'password' => $password
));

For the username, you should use your email address and for the password, you have to use your email's password.

If you have any questions or need any help at all, please do not hesitate to contact us again. We will be happy to help you.

You can also contact our customer support 24/7. Click on the "Chat with us" icon at http://www.one.com and get instant answers to your questions.

Best regards

Roma
One.com
--reply end--->

where to place this information? I can see a call to tf_mailform in file: templatefuncs.php.
I would like to have it working in both the standard mailform and the plugin mailform.

Site #2:
www.1951.dk
CMSimple: 4.7.2
template: skyview_2nb_R
provider: http://www.web10.dk
PHP-version: 5.4.45

Same problem as above. As this site is not so active now, I have kept the standard e-mail icon active so I can test it.
Also here I would like to have both working.

Best regards
Anders

Anders Pedersen
Hjortespringparken 10
DK-2730 Herlev
Denmark

Gert
Posts: 1038
Joined: Sun 18. Nov 2012, 14:18

Re: Mailform Settings

Postby Gert » Thu 18. May 2017, 12:29

Hi Anders,

sorry - but if both mailforms does not work, you can't use the forms on this webspace. Seems your provider does not support the php function mail().

Ask your provider (or simply try it), whether the usage of mail() is limited. For example, some providers only allows shipping mails to the same domain. That means: if the mailform is on xyz.org, only mail addresses like mail@xyz.org are allowed. That shall prevent misusage of mailforms for spam.

The CMSimple mailforms are not supporting smtp mail.

At the moment I do not have the time to make a special variant of mailforms for every provider :roll:

Sorry again - Gert
Gert Ebersbach | CMSimple | Templates - Plugins - Services

Gert
Posts: 1038
Joined: Sun 18. Nov 2012, 14:18

Re: Mailform Settings

Postby Gert » Thu 18. May 2017, 13:46

tze_frog wrote:where to place this information?

If you want to try it, place it in the index.php of the mailforms plugin, somewhere above/before this line:

Code: Select all

@include_once('dd-formmailer.php');

But I do not believe, that there is nothing else to do,

Good luck - Gert ;)
Gert Ebersbach | CMSimple | Templates - Plugins - Services


Return to “Plugins and Addons”

Who is online

Users browsing this forum: No registered users and 1 guest