submit form to email with a custom site

%3CLINGO-SUB%20id%3D%22lingo-sub-2746997%22%20slang%3D%22en-US%22%3Esubmit%20form%20to%20email%20with%20a%20custom%20site%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2746997%22%20slang%3D%22en-US%22%3E%3CP%3EI%20created%20a%20custom%20site%20and%20added%20a%20form%20on%20it.%20I'm%20trying%20to%20get%20the%20submit%20button%20to%20work%20and%20have%20it%20send%20to%20my%20email.%20I%20created%20a%20php%20file%20that%20should%20work%20and%20added%20the%20action%20attribute%20referencing%20the%20php%20file%20in%20the%20html%20file.%20I%20uploaded%20it%20and%20when%20I%20click%20the%20submit%20button%2C%20it%20just%20downloads%20the%20php%20file.%20the%20way%20my%20pages%20are%20set%20up%2C%20they%20have%20to%20be%20.aspx%20not%20html.%20I'm%20not%20sure%20if%20that's%20why%20it's%20not%20working.%20Can%20anyone%20please%20help%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2746997%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3ESites%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Occasional Visitor

I created a custom site and added a form on it. I'm trying to get the submit button to work and have it send to my email. I created a php file that should work and added the action attribute referencing the php file in the html file. I uploaded it and when I click the submit button, it just downloads the php file. the way my pages are set up, they have to be .aspx not html. I'm not sure if that's why it's not working. Can anyone please help?

 

Thanks

1 Reply

@titoaraujo you would be better to use a Microsoft Forms form then a flow in Power Automate to grab the response and send it to your email. Simple example is shown below:

 

1-Flow.png

 

Rob
Los Gallardos
Intranet, SharePoint and Power Platform Manager (and classic 1967 Morris Traveller driver)