I am administrating/maintaining two websites with different providers.
Problem: e-mails do not get through
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:
Using a mailform 6/6
Added May 17, 2017 9:15 PM
Your rating: Not rated
Support - rbmr
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.
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.
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.
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 firstname.lastname@example.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
Sorry again - Gert
If you want to try it, place it in the index.php of the mailforms plugin, somewhere above/before this line:tze_frog wrote:where to place this information?
Code: Select all
Good luck - Gert