R
|
Roger 3/4/2009 |
Try this Con (I'm still new here, but this works for me). |
C
|
Conrunner author 3/4/2009 |
Try this Con (I'm still new here, but this works for me). Use "Add Action"in the "After Record Added Event" for the relavent table. Select "Send Mail with New Data". Bear in mind that you need to setup the Email Section for this to work. Do this on the "Security - User Logon" Page. Also, you can customize the code for additional functionality (CC, BCC etc). Hope this helps. Roger.
|
![]() |
Sergey Kornilov admin 3/4/2009 |
Contact your ISP or web hosting support team to find correct SMTP settings. |
C
|
Conrunner author 3/5/2009 |
Contact your ISP or web hosting support team to find correct SMTP settings. Usually they are the same settings you use to send email in your desktop email program like Outlook.
|
R
|
Roger 3/7/2009 |
I dont know what to put in any of the boxes... User E-Mail Field, From E-Mail Address, SMTP Server, SMTP Server Port, SMTP Username or SMTP Password. The problem is that I dont know what these are and cant seem to be able to find out. Can anybody help?
|
W
|
wisdom2009 3/8/2009 |
Hi Con, |
C
|
Conrunner author 3/10/2009 |
Hi Con, I can show my example. i add an email field where i did put my email as default and everytime a user add request my email is populated when they click on submit i receivee an email, below is my example. // After record added Sub AfterAdd(dict,keys,inline) ' Parameters: ' dict - Scripting.Dictionary object. ' Each field on the Add form is represented as a 'Field name'-'Field value' pair '** Send email with new data **** ' do not forget to setup email parameters like From, SMTP server etc ' on 'Security->User login settings' dialog Dim dkeys message ="Request " & dict("CaseID") & vbcrlf & vbcrlf dkeys = dict.keys For n = 0 To dict.Count-1 message = message & dkeys(n) & " : " & dict(dkeys(n)) & vbcrlf Next email=dict("Email") subject="CaseID : " & dict("CaseID") & ", has been added to your Queue by : " & dict("Requestor Name") sendmail email, subject, message
|
J
|
Jane 3/12/2009 |
Hi, str = "select Field1,Field2 from Table2 where ID=" & keys("ID") Set rstmp = server.CreateObject("ADODB.Recordset") rstmp.open str,dbConnection email = rstmp("Field1") rstmp.close set rstmp=nothing |
C
|
Conrunner author 3/13/2009 |
Hi, you can select values from another table using this code:
|
C
|
Conrunner author 3/13/2009 |
Hi, you can select values from another table using this code:
|
J
|
Jane 3/13/2009 |
Hi, |
C
|
Conrunner author 3/13/2009 |
Hi, using code I've mentioned before you can select values from another table based on the username and password or ID value in the Add page: Before process event, then save selected email address in the session variable and use it as default value on the"Edit as" settings dialog on the Visual Editor tab. Also you can publish your project on Demo Account and open a ticket at http://support.xlinesoft.com sending a URL to your pages and I'll try to help you.
|
J
|
Jane 3/16/2009 |
Hi, |