+ Reply to Thread
Results 1 to 4 of 4

Thread: Send messages directly to sellers

  1. #1
    Junior Member
    Join Date
    Mar 2019
    Location
    Philadelphia, PA, USA
    Posts
    22

    Send messages directly to sellers

    Hello,

    This question is two-fold.

    First, is it possible to send a message using the contact form directly to the seller/dealer? I don't want dealers to login to see the inquiries from site visitors.

    Second, is there a way to insert field values into the email message?

    Thanks,

    Jason

  2. #2
    Junior Member
    Join Date
    Mar 2019
    Location
    Philadelphia, PA, USA
    Posts
    22
    I noticed that the action="" in the contact_seller_form is empty. Could I assign an action, like email.php, and transfer the form values to it? Also, could the sender's email be transferred to the php file?

  3. #3
    Junior Member
    Join Date
    Mar 2019
    Location
    Philadelphia, PA, USA
    Posts
    22
    I created a test form to test an integration with Sendgrid's api and calling mailer.php from the form action. It worked correctly but I'm unable to use this method with Flynax's listing form. It doesn't seem to access the mailer.php in the form action. Anybody have any ideas?

  4. #4
    Junior Member
    Join Date
    Mar 2019
    Location
    Philadelphia, PA, USA
    Posts
    22
    Changing gears a bit...

    Is it possible to call ' onsubmit="flynaxTpl.contactOwnerSubmit($(this).fin d('input[type=submit]'), {if $listing_data.ID}{$listing_data.ID}{else}null{/if}, {$captcha_box_id}, {if $account.ID}{$account.ID}{else}0{/if});return false;" ' from my mailer.php?

+ Reply to Thread