Quantcast
Channel: WordPress.org Forums » [Contact Form 7] Support
Viewing all articles
Browse latest Browse all 49500

robertosalemi on "Contact Form 7 + Server SMTP + Select Recipient"

$
0
0

Hello to all,
for the realization of the modules contacts I used the Contact Form 7.

As a setting for sending I installed WP-Mail-SMTP and configured :
- From Email : email@nomesito.it
- From Name : nomesito.it
- Mailer : Send all WordPress emails via SMTP
- SMTP Host: [internal stmp service]
- SMTP Port : 25
- Encryption : No encryption
- Authentication : No: Do not use SMTP authentication.

I made ​​a test using the form for this test and the email sent correctly.

I have configured my FORM of Contact Form 7 and everything is working correctly, because, as I entered is specified in the "To:" that in the "From" the same email as above, ie email@nomesito.it

I tried, however, to allow multiple selection of the recipient by:

[ select * recipient
"Technical Support | assistenzatecnica@nomesito.it "
" Commercial | sales@nomesito.it "
"General | rsalemi@nomesito.it "
" Administrative support | amministrazione@nomesito.it "
]

and accordingly the fields :
- "TO:" -> [your recipient]
- "FROM:" -> [your-name] <[your-email]>

That does not work anymore.

As mentioned in several guidebooks, including here is said that the fields "To:" and "From:" to be hold the same address contained in the email configuration, it will not work.

I would like to avoid creating 4 contact blocks, you have any suggestions ?

The site will be published via my local server made ​​with Wampserver .
Maybe instead of sending SMTP should use the class PHPMailer() ?

Thanks in advance for your help.


Viewing all articles
Browse latest Browse all 49500

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>