GetSimple Support Forum
My SMTP Contact - Printable Version

+- GetSimple Support Forum (http://get-simple.info/forums)
+-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3)
+--- Forum: Plugins (http://get-simple.info/forums/forumdisplay.php?fid=13)
+--- Thread: My SMTP Contact (/showthread.php?tid=13675)

Pages: 1 2


My SMTP Contact - denis - 2020-03-27

This plugin will help you to set up a contact form with captcha and checkbox. Plugin can be used SMTP (Simple Mail Transfer Protocol) to send mail.

Description & Download:
http://get-simple.info/extend/plugin/my-smtp-contact/1221/

Demo:
http://demo23.p9021271.beget.tech/my-smtp-contact

If you want the plugin to be in your own language, you can translate it (plugins/my-smtp-contact/lang/en.php) and send it to me.
Settings are saved to the plugin directory. Make sure that the necessary rights are permitted.


RE: My SMTP Contact - denis - 2020-03-27

Question:

Denis,

I have used your plugin for a while and I appreciate it a lot. Thank you for making it.

I was trying to add a new language file and had some issues where the whole site stopped responding once I chose that language in the plugin options. When I remove the plugin, the site is fine. I can't figure out how to change the language back or debug the issue. Please advise.

I would also like to see compatibility with i18n plugin - something as simple as loading the corresponding language file in MSC would be enough.

Thanks!

Answer:

Make your translation and upload the "xx.php" (for example) file to the directory - /my-smtp-contact/lang/ - then select your language file in the plugin settings. You can make a translation by analogy (en.php | ru.php)
The translation file is a PHP file. And if you break the language syntax, then the plugin will not work.

To return the default language, open the file - /my-smtp-contact/cfg.php
and change line 37 - $m_smtp_c_language="en";

This plugin does not use i18n plugin for translate. It is not necessary.


RE: My SMTP Contact - bafrali55 - 2020-04-03

what do I have to or how do I have to enter the server for it to work. smtp.domain.com with STARTTLS

starttls: //smtp.domain.com ??? How do you enter that?


RE: My SMTP Contact - denis - 2020-04-07

(2020-04-03, 08:44:33)bafrali55 Wrote: what do I have to or how do I have to enter the server for it to work. smtp.domain.com with STARTTLS

starttls: //smtp.domain.com ??? How do you enter that?


I have not tested plugin with STARTTLS. SSL only.

I think that will not work.


RE: My SMTP Contact - denis - 2020-04-10

Version 1.0.7:
- on/off Default CSS customization
- on/off Customizing the Alert() function
- substituting the senders email in the "From" field (not all hosts and email services support this; when using alternative fields, the last field with the "email" type is substituted)


RE: My SMTP Contact - denis - 2020-05-20

Version 1.0.8:
- the ability to insert contact form on the page using the shortcode:
Code:
[#GetMSC#]

- the old output method has changed:
Code:
<?php if (function_exists('GetMSC')) { print GetMSC(); } ?>



RE: My SMTP Contact - Felix - 2020-05-20

Hi,

Thanks for updating the My SMTP Contact plugin with a page shortcode
Is it still possible to call My SMTP Contact from a template file ?


RE: My SMTP Contact - denis - 2020-05-20

(2020-05-20, 16:58:41)Felix Wrote: Hi,

Thanks for updating the My SMTP Contact plugin with a page shortcode
Is it still possible to call My SMTP Contact from a template file ?

Hi, yes it's still possible:
PHP Code:
<?php if (function_exists('GetMSC')) { print GetMSC(); } ?>

Only now with the "print" command. Same as in the code above.

Description:
http://get-simple.info/extend/plugin/my-smtp-contact/1221/


RE: My SMTP Contact - denis - 2020-05-21

Version 1.0.9:

-fixed a problem with the plugin working in the main domain subdirectory (site.com/subdomain/GetSimple files).

Make sure everything is correct here: Settings => Website URL
Something like this: http://site.com/subdomain/
In site.com/subdomain/ must be GetSimple files


RE: My SMTP Contact - denis - 2020-06-01

Version 1.1.0:

- ability to create multiple contact forms.


RE: My SMTP Contact - vixrealitum - 2020-07-23

Denis, you did pieces of excellent work! This plugin is great and I believe it will be one of the favorites of many developers.


RE: My SMTP Contact - Felix - 2020-11-08

Hi Denis,

I must say this contact form is coded in a professional way.
Thanks for making this great plugin, really recommended.
F.


RE: My SMTP Contact - denis - 2020-11-28

Version 1.1.1:
DELETED: on/off Customizing the Alert() function (this was done because now a different method is used to display notifications).

ADDED: 
- ability to select notifications: in the modal window or in the page

- fixed bugs that did not allow placing multiple forms with alternative fields on one page
- some CSS and JS changes.



RE: My SMTP Contact - Felix - 2020-11-29

Hi,

Thanks for maintaining this real great plugin.
Can you show me where to customize it so I can have:
name - email - telephone - etc. on the left side
instead of the default on top of the form fields ?
Probably a css thing but haven't figured out where.
Thanks.


RE: My SMTP Contact - denis - 2020-11-29

(2020-11-29, 01:23:46)Felix Wrote: Hi,

Thanks for maintaining this real great plugin.
Can you show me where to customize it so I can have:
name - email - telephone - etc. on the left side
instead of the default on top of the form fields ?
Probably a css thing but haven't figured out where.
Thanks.

Hi,

1. You can ON alternative fields and create the desired form (do not use <br> so that there is no transition to another line);

2. If you want to use the standard form, you need to change the code in the my-smtp-contact.php file. After line 460 remove <br> in the required fields.


RE: My SMTP Contact - Felix - 2020-12-03

Quote:1. You can ON alternative fields and create the desired form (do not use <br> so that there is no transition to another line);

2. If you want to use the standard form, you need to change the code in the my-smtp-contact.php file. After line 460 remove <br> in the required fields.

Hi,
removing the <br> works perfectly,
thanks for the info.


RE: My SMTP Contact - denis - 2021-03-28

Version 1.1.2:
- plugin now uses standard GetSimple CSRF protection for admin panel (thanks to Boku for his advice).


RE: My SMTP Contact - vixrealitum - 2021-05-19

I have a question about the plugin - is it possible to add a field with the option to send a copy of the message to me? if so how to do it?
I mean an additional checkbox with the option of sending a copy to the form sender from the address: email field.


RE: My SMTP Contact - denis - 2021-05-19

(2021-05-19, 06:34:59)vixrealitum Wrote: I have a question about the plugin - is it possible to add a field with the option to send a copy of the message to me? if so how to do it?
I mean an additional checkbox with the option of sending a copy to the form sender from the address: email field.

Not. To add this setting, you need to refine the plugin code. Both backend and frontend.
When using a standard form, this is simpler because the field with "e-mail" is known, which is not known when using alternative fields.
So far, I do not plan to add such a setting to the plugin.


RE: My SMTP Contact - vixrealitum - 2021-08-26

Denis, I have one more question for you ... is it possible to make such a form divided into sections with your plugin? Please see the link. I tried to draw it.


link -> https://own.net.pl/form/form-adv.jpg


RE: My SMTP Contact - denis - 2021-08-26

(2021-08-26, 07:04:22)vixrealitum Wrote: Denis, I have one more question for you ... is it possible to make such a form divided into sections with your plugin? Please see the link. I tried to draw it.


link -> https://own.net.pl/form/form-adv.jpg

You can try using alternative fields for this. By wrapping each section in a container and adding the desired class to this container. To do this, you need to know a little HTML and CSS.

The basic styles are located in the style.css file


RE: My SMTP Contact - vixrealitum - 2021-08-27

Thank you very much for your help. I think I can handle it. Wink


RE: My SMTP Contact - johneh - 2021-09-03

How do I get rid of the "I agree to processing of personal data" and the check box?


Thanks


RE: My SMTP Contact - denis - 2021-09-04

(2021-09-03, 23:42:52)johneh Wrote: How do I get rid of the "I agree to processing of personal data" and the check box?


Thanks

See the settings of the plugin in the admin panel.


RE: My SMTP Contact - denis - 2021-09-25

Added Polish translation for plugin.
Thanks to vixrealitum for this translation.