Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / General MS InfoPath Questions / December 2006

Tip: Looking for answers? Try searching our database.

Send Email To Current User's Manager

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
joel_dizon@yahoo.com - 22 Dec 2006 07:10 GMT
Hi,

Im working on a Infopath form that suppose to send an email to the
Manager of the Current user (login name). Im relatively new to
Infopath/JScript and I can't find a solution, can anybody guide me
about this.

Thanks in advance.

Joel
steve@verizon.net - 22 Dec 2006 13:58 GMT
it's ridiculously difficult to send an email from an InfoPath form.
the link below might help some. i swear i don't think anybody from
Microsoft ever worked for a real company where getting something done
quickly is important.

it's much easier to send email (and other things) if you can do your
development in Visual Studio 2003 (or higher).

http://groups.google.com/group/microsoft.public.infopath/browse_thread/thread/9d
ff3b9b2f67add0/a3ebdacd6717211e?q=send+email+with+link&rnum=12#a3ebdacd6717211e


> Hi,
>
[quoted text clipped - 6 lines]
>
> Joel
joel_dizon@yahoo.com - 27 Dec 2006 02:13 GMT
hi steve,

merry xmas to you and thanks for the help.
i've managed to send an email using the following...

    var id_mgr =
getNode("/dfs:myFields/dfs:dataFields/tns:GetAssessmentResponse/tns:GetAssessmentResult/ns1:ServiceDataSet/ns1:ST_USER/ns1:ID_MANAGER").text;
    var objEmailAdapter;
    objEmailAdapter = XDocument.DataAdapters("EmailSubmit");

    objEmailAdapter.To = id_mgr;
    objEmailAdapter.Subject = "Status Report";
    objEmailAdapter.Intro = "Blah blah";
    objEmailAdapter.Submit();

... but there's a dialog box (email confirmation) that appears, when
you click the send button in the dialog box, the email attached the
form.

Is there any way me can eliminate the dialog box and the attachment of
the form in the email?

thanks again.

joel

> it's ridiculously difficult to send an email from an InfoPath form.
> the link below might help some. i swear i don't think anybody from
[quoted text clipped - 16 lines]
> >
> > Joel
steve@verizon.net - 27 Dec 2006 14:54 GMT
cool....

if you go into the Data Connections, select your email connection,
blank out the Attachment Name field - it should send the email without
the attachment.  (really stupid design)

i don't think it's possible to get rid of the dialog box (if i'm wrong
i'd like to know about it)

hope that helps......

steve

> hi steve,
>
[quoted text clipped - 42 lines]
> > >
> > > Joel
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.