Improve company productivity with a Business Account.Sign Up

x
?
Solved

Adobe developer toolbox email error

Posted on 2007-11-27
7
Medium Priority
?
1,320 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 2000 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
Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

 

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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

This article discusses how to implement server side field validation and display customized error messages to the client.
There are times when I have encountered the need to decompress a response from a PHP request. This is how it's done, but you must have control of the request and you can set the Accept-Encoding header.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
Use Wufoo, an online form creation tool, to make powerful forms. Learn how to selectively show certain fields based on user input using rules to gather relevant information and data from your forms. The rules feature provides you with an opportunity…

584 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