Solved

Adobe developer toolbox email error

Posted on 2007-11-27
7
1,270 Views
Last Modified: 2013-12-12
Hi Exprets

I am using the adobe developers toolbox and I am sending an email from a form that inserts the data into the database. The problem I am having is when the transaction executes it fails because the email is being stopped by the server from sending the email. I would like to know if anyone has come across the following error

Error:
Error sending e-mail.
Developer Details:
E-mail couldn't be sent. Error returned: Failed to send data [SMTP: Invalid response code received from server (code: 503, response: valid RCPT command must precede DATA)]. (EMAIL_FAILED)
tNG Execution Trace - VIEW

    * tNG_insert.executeTransaction
          o STARTER.Trigger_Default_Starter
          o tNG_insert.doTransaction
                + BEFORE.Trigger_Default_FormValidation
                + tNG_insert.prepareSQL
                + tNG_insert.executeTransaction - execute sql
                + tNG_insert.postExecuteSql
                + AFTER.Trigger_SendEmail*
                + ERROR.Trigger_Default_Insert_RollBack
    * tNG_insert.getRecordset
    * tNG_insert.getFakeRsArr
    * tNG_insert.getLocalRecordset
    * tNG_insert.getFakeRecordset
    * tNG_insert.getFakeRecordset

I have sent this to my service provider and they insist it is the source code. If you use a simple mailer for php it sends the email.
I am sure it is probably a setting but am not sure. If anyone has come across this error and knows how to tweak the code of change the settings please let me know.

Ideally I would like to use the toolbox as the mailer should work as it is a standard VPS Linux server with PHP that I am using

Please Help

Thanks

Matt
0
Comment
Question by:matthewdacruz
  • 4
  • 3
7 Comments
 
LVL 70

Expert Comment

by:Jason C. Levine
ID: 20360342
Hi Matt,

Questions:  

Are you using PHP?

Did you use the Developer Toolbox Control Panel to configure a SMTP server?

0
 

Author Comment

by:matthewdacruz
ID: 20360476
Hi Jason1178

I am using PHP, VPS server with linux. Yes I have use the control box to configure the SMTP server. Filled in all the parameters asked for.

Regards

Matt
0
 
LVL 70

Accepted Solution

by:
Jason C. Levine earned 500 total points
ID: 20361844
Okay, first thing is unset that control panel option...blank out the mail options.  If you set it, you will use the mail server specified and there may be security in place preventing the operation.  If you leave the options unset, the Developer Toolkit will use either mail() or a PEAR function to send the mail and that normally works.
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 

Author Comment

by:matthewdacruz
ID: 20362176
jason1178 Your an absolute legend. Dude I have been pulling my hair out with this for weeks and could not find an answer anywhere on the web, Adobe forums etc.

Thats it working. Thank you so much for your assistance

Regrds

MDC
0
 

Author Closing Comment

by:matthewdacruz
ID: 31411242
LEGEND!!
0
 
LVL 70

Expert Comment

by:Jason C. Levine
ID: 20362395
Glad it works.  You must be new to the InterAKT stuff (the company that did this before Adobe bought them out)...this is one of their "gotchas" that is sort of widely known.  The ASP and CF versions of the Toolkit do need you to fill out those fields, but PHP doesn't.
0
 

Author Comment

by:matthewdacruz
ID: 20362473
Its a buggar as I come from an ASP background and I am a cook when it comes to PHP so it is all new thus double the frustration.

Thanks once again
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Developer tools in browsers have been around for a while, yet they are still heavily underused by developers. Developers still fix html or CSS then refresh page to see effect, or they put alert or debugger in JavaScript and then try again and again …
Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
This video teaches viewers how to create their own website using cPanel and Wordpress. Tutorial walks users through how to set up their own domain name from tools like Domain Registrar, Hosting Account, and Wordpress. More specifically, the order in…
The viewer will learn how to dynamically set the form action using jQuery.

867 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now