WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. robertosalemi
    Member
    Posted 7 months 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
    Member
    Plugin Author

    Posted 7 months ago #

  3. robertosalemi
    Member
    Posted 7 months 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.

    Thanks!

  4. robertosalemi
    Member
    Posted 7 months ago #

    I can not find a solution... :(

Reply

You must log in to post.

About this Plugin

About this Topic