Hello !
I am having trouble getting the �Send Email� Actionscript action to work on a button that has been added to a grid component. See attached screen shot �OnClickEventActionStep.png� for a picture of this. This action has been assigned to the OnClick event handler of the button.
I am currently using Alpha Five Developer edition on Windows 7 64 bit and am using the �LivePreview� on the grid component from my local workstation to test it.
I have set up the email configuration with the following parameter values:
Email Settings section property values
Use default email settings: Unchecked
SMTP server: myserver.mycompany.int
Port: 25
User name: left blank
Password: left blank
SSL option: left blank
.Net library: Unchecked
For confidentiality reasons, the SMTP server name above is fictitious and is being replaced with my actual server name when testing.
Message section property values
From: [email protected]
Subject: Test Email
Send To: [email protected]
CC: left blank
BCC: left blank
Load message from repository: left blank
Message Body (HTML): left blank
Message Body (plain text): left blank
Attachments: left blank
Store message in outbox: left blank
For confidentiality reasons, the from & to recipients are fictitious and are being replaced with my actual values when testing.
Send When property values
Send when: Immediate
Client side event values
After message sent: left blank
Show confirmation message: checked
Confirmation message- success: Message was sent
Confirmation message-failure: Message was not sent because of an error
Using the above property values on the send email action, I keep getting an error message saying that the message could not be sent. See screen shot �EmailError.png� for an example of this.
As a side note, I believe that my email parameter values are correct as I have run the XBasic email_smtp_open, email_smtp_send, and email_smtp_close commands directly from an XBasic interactive command line using the same values and the email gets sent out correctly.
As I said earlier, I am only testing this within by using the �LivePreview� of Alpha Five developer and have not placed the grid component on an A5W page.
Questions
1. What am I doing wrong or not doing that I can�t get the email to work from my grid component button ?
2. I currently do not have the �Default� email profile setup done as shown under the View-System-Email menu option which is available from the normal control panel menu bar. Does this have to be done ? I didn�t think it would have to be done since the button is essentially using XBasic on the server via an AJAX call back to send out the email. Am I wrong on this ?
I would appreciate it if someone could give me some help, suggestions, and advice so I can get the emailing to work from my button.
OnClickEventActionStep.png EmailError.png
Thank you.
I am having trouble getting the �Send Email� Actionscript action to work on a button that has been added to a grid component. See attached screen shot �OnClickEventActionStep.png� for a picture of this. This action has been assigned to the OnClick event handler of the button.
I am currently using Alpha Five Developer edition on Windows 7 64 bit and am using the �LivePreview� on the grid component from my local workstation to test it.
I have set up the email configuration with the following parameter values:
Email Settings section property values
Use default email settings: Unchecked
SMTP server: myserver.mycompany.int
Port: 25
User name: left blank
Password: left blank
SSL option: left blank
.Net library: Unchecked
For confidentiality reasons, the SMTP server name above is fictitious and is being replaced with my actual server name when testing.
Message section property values
From: [email protected]
Subject: Test Email
Send To: [email protected]
CC: left blank
BCC: left blank
Load message from repository: left blank
Message Body (HTML): left blank
Message Body (plain text): left blank
Attachments: left blank
Store message in outbox: left blank
For confidentiality reasons, the from & to recipients are fictitious and are being replaced with my actual values when testing.
Send When property values
Send when: Immediate
Client side event values
After message sent: left blank
Show confirmation message: checked
Confirmation message- success: Message was sent
Confirmation message-failure: Message was not sent because of an error
Using the above property values on the send email action, I keep getting an error message saying that the message could not be sent. See screen shot �EmailError.png� for an example of this.
As a side note, I believe that my email parameter values are correct as I have run the XBasic email_smtp_open, email_smtp_send, and email_smtp_close commands directly from an XBasic interactive command line using the same values and the email gets sent out correctly.
As I said earlier, I am only testing this within by using the �LivePreview� of Alpha Five developer and have not placed the grid component on an A5W page.
Questions
1. What am I doing wrong or not doing that I can�t get the email to work from my grid component button ?
2. I currently do not have the �Default� email profile setup done as shown under the View-System-Email menu option which is available from the normal control panel menu bar. Does this have to be done ? I didn�t think it would have to be done since the button is essentially using XBasic on the server via an AJAX call back to send out the email. Am I wrong on this ?
I would appreciate it if someone could give me some help, suggestions, and advice so I can get the emailing to work from my button.
OnClickEventActionStep.png EmailError.png
Thank you.
Comment