Contact Form 7
Contact Form 7 + Server SMTP + Select Recipient (4 posts)

  1. robertosalemi
    Posted 2 years ago #

    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.

  2. Takayuki Miyoshi
    Plugin Author

    Posted 2 years ago #

  3. robertosalemi
    Posted 2 years ago #

    Hello Takayuki Miyoshi,
    I have created a form with the possibility of selecting the sender to send the message, I look at this site created by me (link).

    The site of the link was posted by a HOST online and so I think that uses the library PHPMailer().

    In my case I will publish the site via a local server, using Wampserver, so I'm configuring the SMTP submission.
    If I set a single destinarario, without drop-down menu, sending works.
    If I insert the drop-down menu to select the recipient by sending error and no longer works.


  4. robertosalemi
    Posted 2 years ago #

    I can not find a solution... :(

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Contact Form 7
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic