Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Tuesday, June 25, 2024 
 
slxdeveloper.com Community Forums  
   
The Forums on slxdeveloper.com are now retired. The forum archive will remain available for the time being. Thank you for your participation on slxdeveloper.com!
 Web Forums - SalesLogix Web Client (Pre-7.2)
Forum to discuss using & developing the legacy SalesLogix Web Client (For versions 7.0 and earlier). View the code of conduct for posting guidelines.
Forums RSS Feed


 Back to Forum List | Back to SalesLogix Web Client (Pre-7.2) | New ThreadView:  Search:  
 Author  Thread: Sending an Email
Rekha
Posts: 5
 
Sending an EmailYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 17 Oct 06 9:20 AM
fiogf49gjkf0d
I have a form where the user fills in some information and when the submit button of the form is clicked I want to send an email with the user information to a mailbox. Can anyone suggest me how can it be done in Sales Logix.
[Reply][Quote]
Duncan Cook
Posts: 164
 
Re: Sending an EmailYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 18 Oct 06 2:48 AM
fiogf49gjkf0d
Hi Rekha,

Basically you need to send your form either to a script (asp or cgi) that handles Sendmail, if you need this info to be stored in SLX as well then you will need a two step process;
First submit the original form to your sendmail page, then create a hidden form within your sendmail page that is then automatically sent to your SLX action where the DB post can take place.

--
Duncan
[Reply][Quote]
Jeff Ballard
Posts: 326
 
Re: Sending an EmailYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 18 Oct 06 11:09 AM
fiogf49gjkf0d
I've also used "CreateObject" with the CDONTS object in a SalesLogix web action that will allow you to send an email. That way you can keep everything native to SalesLogix.

Jeff
[Reply][Quote]
Snow Monkey
Posts: 214
 
Re: Sending an EmailYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 18 Oct 06 12:23 PM
fiogf49gjkf0d
Is writing a web app which creates a local mail item (on the webclient computer) a good idea??

I think we need to use some server based mailing agent and NOT a client one.In Traditional ASP we use Server.createobject and in asp.net, we use system.web.mail for sending emails and both of these are server based.
[Reply][Quote]
Jeff Ballard
Posts: 326
 
Re: Sending an EmailYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 18 Oct 06 12:45 PM
fiogf49gjkf0d
Nandu,

As far as the CDONTS object, everything is happening server side in a SalesLogix web action, so there is nothing happening on the client side, making it a valid altenative.

Jeff
[Reply][Quote]
Raul A. Chavez
Posts: 1300
Top 10 forum poster: 1300 posts
 
Re: Sending an EmailYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 31 Oct 06 9:43 AM
fiogf49gjkf0d
Rekha,

I agree with Duncan's approach. Most Hosting companies will have a facility that would allow you to send email via a CGI Script or an ASP page.

Another alternative if you don't have that avaiable is to write your own. I have taken several approaches in the past, but currently if .NET 2005 is an option to develop it I would rather do so. Reason being is that the SMTP mail object will read the configuration file for parameters, so you only need to feed it the basic information (e.g. Subject and Body).

Again, there are other options as noted, but this option allows you to do SMTP easily.
[Reply][Quote]
Rekha
Posts: 5
 
Re: Sending an EmailYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 31 Oct 06 3:50 PM
fiogf49gjkf0d
OK, so i created this customer signup page in aspnet and linked straight from the login screen.Nicely integrated and works OK with no problems.But the link shows the actual url in the window status and thus those tech savvy ones out there can link to my registration page directly without coming in thru Saleslogix.

Is there a way to ensure that this page is infact refered from my customer portal signon page?remember i am on the logon page;so i dont have any access to a cookie or session variable which i can crosscheck.

Thanks!
-Rekha
[Reply][Quote]
Raul A. Chavez
Posts: 1300
Top 10 forum poster: 1300 posts
 
Re: Sending an EmailYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 31 Oct 06 4:15 PM
fiogf49gjkf0d
Well, there are probably several ways to do so, but just thinking on a low tech one:

What about changing the anchor tag so that the HREF = "javascript:goToPage()"?
Place the goToPage function on an Included Javascript file.

Again, this is a low tech way to keep some of the savy users from just reading the source of the page.

There are many other alternatives out there and I know others will fill you in
[Reply][Quote]
Ryan Farley
Posts: 2265
slxdeveloper.com Site Administrator
Top 10 forum poster: 2265 posts
 
Re: Sending an EmailYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 01 Nov 06 1:15 PM
fiogf49gjkf0d
You can check the page's referrer. The referrer will show you where the user came from. If the referrer did not come from your portal signon page then display some message or redirect back to the signon page. Otherwise do the magic.

-Ryan
[Reply][Quote]
Snow Monkey
Posts: 214
 
Re: Sending an EmailYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 13 Nov 06 10:23 AM
fiogf49gjkf0d
Is it URLrefferer that you are referring to ?
It is blocked most places thru proxies or something...In this case , since it is coming from the same base URL , will it work?
[Reply][Quote]
Ryan Farley
Posts: 2265
slxdeveloper.com Site Administrator
Top 10 forum poster: 2265 posts
 
Re: Sending an EmailYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 13 Nov 06 10:34 AM
fiogf49gjkf0d
The server variable you can get from the header is called HTTP_REFERER. The only time this is *normally* plank is when the page is redirected. Otherwise it will return a string containing the URL of the page that referred the request to the current page using an tag. This means, that if the user ends up on your page by means of a standard anchor tag link then it should show the HTTP_REFERER.

If the proxy server does some sort of redirect (which it might, but not all do) then it is possible that the HTTP_REFERER will be blank. Inside of a company's network, however, you have more control over this and can change the proxy settings to allow passthrough for your URL and it will be passed through unchanged (or check to see if the user has an internal IP address or address of the proxy, then you'd know they came from the inside and allow the access).

-Ryan
[Reply][Quote]
 Page 1 of 1 
  You can subscribe to receive a daily forum digest in your user profile. View the site code of conduct for posting guidelines.

   Forum RSS Feed - Subscribe to the forum RSS feed to keep on top of the latest forum activity!
 

 
 slxdeveloper.com is brought to you courtesy of Ryan Farley & Customer FX Corporation.
 This site, and all contents herein, are Copyright © 2024 Customer FX Corporation. The information and opinions expressed here are not endorsed by Sage Software.

code of conduct | Subscribe to the slxdeveloper.com Latest Article RSS feed
   
 
page cache (param): 6/25/2024 9:54:34 PM