Create a server-side web service that would send the emails. In your form,
whenever you want an email sent, just submit data to that web service, and it
will do the rest.
No other way, sorry - the "Send/Cancel" Outlook dialog is a security
feature. We can't allow form designers to send emails on behalf of the user
without their knowledge.
Thank you for the response. Now I have 2 more questions related to this.
The server-side web service that would send the emails, is this something
that has to be setup on the server. something that an admin might have to do,
or can this be a script I setup and run? I created a script in .NET to
transmits change requests through our email server. If I can repeat this that
would be satisfactory.
second, I understand the security of the email transmit, but how about an
onclick button. that launches the default email cilent and populates the the
email with data from the form. Can this be done easily? A Jscript onclick
mailto: event?
Thanks again for the start.
> Create a server-side web service that would send the emails. In your form,
> whenever you want an email sent, just submit data to that web service, and it
[quoted text clipped - 15 lines]
> >
> > Can this be done in Jscript?
kookie - 26 Feb 2007 20:57 GMT
the solution I came up with is cumbersome but effective.
I have a dropdown, populated with email addresses ( with another scipt to
populate a textbox with all selections). the textbox gives me one field to
pull email addresses from.
then I create a hyperlink with a mailto:
concat("mailto: ", /my:myFields/my:rgRecipients, "?subject=",
/my:myFields/my:MnPName, "?&body=", /my:myFields/my:URL)
it is primative but it launches the email client, for those of us that do
not use outlook, and the user can append the body then clicks send
> Thank you for the response. Now I have 2 more questions related to this.
>
[quoted text clipped - 30 lines]
> > >
> > > Can this be done in Jscript?