Email with out outlook

K

kookie

is there a way to script an email through a email server without using
outlook. I have done this in .NET and I can send emails all day long with out
an email client.

I have a form. I have set up a work flow in the form. Once a viewers work is
complete that will currently click a link and the the local email client
launches. user will click send. I would like that to be invisible. I want it
to work like the send notification in SharePoint. select user name and click
a button, then off goes the notification.

Can this be done in Jscript?
 
M

[MSFT] AlexWein

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.
 
K

kookie

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.

[MSFT] AlexWein said:
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.

kookie said:
is there a way to script an email through a email server without using
outlook. I have done this in .NET and I can send emails all day long with out
an email client.

I have a form. I have set up a work flow in the form. Once a viewers work is
complete that will currently click a link and the the local email client
launches. user will click send. I would like that to be invisible. I want it
to work like the send notification in SharePoint. select user name and click
a button, then off goes the notification.

Can this be done in Jscript?
 
K

kookie

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


kookie said:
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.

[MSFT] AlexWein said:
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.

kookie said:
is there a way to script an email through a email server without using
outlook. I have done this in .NET and I can send emails all day long with out
an email client.

I have a form. I have set up a work flow in the form. Once a viewers work is
complete that will currently click a link and the the local email client
launches. user will click send. I would like that to be invisible. I want it
to work like the send notification in SharePoint. select user name and click
a button, then off goes the notification.

Can this be done in Jscript?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top