-
March 13, 2019, 08:20 PM
#1
Senior Member
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
-
March 14, 2019, 09:01 PM
#2
Senior Member
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?
-
March 15, 2019, 03:53 AM
#3
Senior Member
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?
-
March 15, 2019, 04:58 AM
#4
Senior Member
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?