December 22, 200421 yr Newbies Hello, I have a field (let's name it : usermail) and a button that when i click on it, i want it to open my email program, new mail, and put the field usermail in the To: i tried via open url and sendmail but it doesn't seem to work the way i want to. what kind of script could i use ? and how to use it? Thanks for all
December 22, 200421 yr Hi, The URL button specification should look like this: "mailto:" & table_name::email_address_field Not only can you put the usermail into the "To:" but also you could put the "Subject" and even the body of the email, like this: "mailto:" & table_name::email_address_field & "?subject=" & table_name::subject_field & "&body=" & table_name::body_field See attached file for an example. It works on my XP machine with FP7 and Outlook. Enjoy, -GerryGerry simple_email_test.zip
December 22, 200421 yr Hi, I just thought of three things... 1.- We are in the ScriptMaker forum, so I should have created a script with the above mentioned specification instead of making a button. Anyway, it works exactly the same way. 2.- I should have mentioned that I to checked "Perform without dialog" (Button or ScriptMaker), saves one click. 3.- I don't like "Send Mail" because (on my machine) it asks me for a profile, then opens a plain-text Outlook window. This window seems to be a child of the FMP window because I cannot access FMP unless I close the child window (which can't be minimized). This doesn't happen with "Open URL"; it opens an independent html-text Outlook window and I can access FMP without a problem. That's it for now, -GerryGerry.
Create an account or sign in to comment