Address syntax problem in script

For this syntax in script
ADDRESS PARAGRAPH ZD LINES 8
NAME &BILL_NAME1&, &BILL_NAME2&, &BILL_NAME3&, &BILL_NAME4&
STREET &BILL_STRAS&
POBOX &BILL_PFACH& CODE &BILL_PSTL2& CITY &BILL_PFORT&
POSTCODE &BILL_PSTLZ&
REGION &BILL_REGIO&
CITY &BILL_ORT01&
COUNTRY &BILL_LAND1&
ENDADDRESS
Output I got is:
Pvt ltd
Postfach 123
111 KUWAIT
KUWAIT
But I need output in this format: po box must be written in English
Pvt ltd
PO BOX 123
111 KUWAIT
KUWAIT

Hi
split the address part into two as below . (Exclude the po box from address endaddress )
*ADDRESS PARAGRAPH ZD LINES 8NAME &BILL_NAME1&, &BILL_NAME2&, &BILL_NAME3&,&BILL_NAME4&*
STREET &BILL_STRAS&
ENDADDRESS
POBOX &BILL_PFACH& CODE &BILL_PSTL2& CITY &BILL_PFORT&
ADDRESS PARAGRAPH ZD LINES 8
POSTCODE &BILL_PSTLZ&
REGION &BILL_REGIO&
CITY &BILL_ORT01&
COUNTRY &BILL_LAND1&
ENDADDRESS
regards,
Ramya
Edited by: Ramya S on Oct 31, 2008 9:39 AM

Similar Messages

  • Repetitive error in SMTP log: illegal address syntax

    Hello I keep getting this error message in the SMTP log:
    Dec 17 22:33:36 chucklepunt postfix/smtpd[2909]: connect from
    unknown[10.0.0.12]
    Dec 17 22:33:36 chucklepunt postfix/smtpd[2909]: warning: Illegal address
    syntax from unknown[10.0.0.12] in MAIL command: <W Server>
    Dec 17 22:33:36 chucklepunt postfix/smtpd[2909]: disconnect from
    unknown[10.0.0.12]
    my mail server has this IP listed above, so it obviusoly looks like some kind of internet connection, but I don't know why it keeps happining, and I have 10.0.0.12 listed in the local hosts alias.
    Thanks

    I thought my problem was solved once I added 10.0.0/24 to my relay and 10.0.0.12 to local hosts in the mail setup but I am getting the error again.
    You say is it in my /etc/main.cf?
    Should I have that config file, because I do not, at least not in that path.
    suggestions please
    Thanks!

  • ORA-29278: SMTP transient error: 401 4.1.7 Bad sender address syntax

    Hello All,
    I am Facing an Error as below while trying to Execute a Developed EMAIL Trigger in DB :
    ORA-29278: SMTP transient error: 401 4.1.7 Bad sender address syntax
    I am totally surprised as i have checked both the addresses : Sender as well as Receivers..
    My Senders Address is : '[email protected]'
    and Receivers Address is : '[email protected]'
    Any Help related to it will be highly appreciated..
    Regards,
    Deepak
    Below Script is being used :
    CREATE OR REPLACE PROCEDURE TESTMAIL(fromm VARCHAR2,too VARCHAR2,sub VARCHAR2,body VARCHAR2,port NUMBER)
    IS
    objConnection UTL_SMTP.CONNECTION;
    vrData VARCHAR2(32000);
    BEGIN
    objConnection := UTL_SMTP.OPEN_CONNECTION('mail.maxmsp.com',PORT);
    UTL_SMTP.HELO(objConnection, 'mail.maxmsp.com');
    UTL_SMTP.MAIL(objConnection, fromm);
    UTL_SMTP.RCPT(objConnection, too);
    UTL_SMTP.OPEN_DATA(objConnection);
    UTL_SMTP.WRITE_DATA(objConnection, 'From: '||fromm || UTL_TCP.CRLF);
    UTL_SMTP.WRITE_DATA(objConnection, 'To: '||too || UTL_TCP.CRLF);
    UTL_SMTP.WRITE_DATA(objConnection, 'Subject: ' || sub || UTL_tcp.CRLF);
    UTL_SMTP.WRITE_DATA(objConnection, 'MIME-Version: ' || '1.0' || UTL_tcp.CRLF);
    UTL_SMTP.WRITE_DATA(objConnection, 'Content-Type: ' || 'text/html;');
    UTL_SMTP.WRITE_DATA(objConnection, 'Content-Transfer-Encoding: ' || '"8Bit"' || UTL_TCP.CRLF);
    UTL_SMTP.WRITE_DATA(objConnection,UTL_TCP.CRLF);
    UTL_SMTP.WRITE_DATA(objConnection,UTL_TCP.CRLF||'<HTML>');
    UTL_SMTP.WRITE_DATA(objConnection,UTL_TCP.CRLF||'<BODY>');
    UTL_SMTP.WRITE_DATA(objConnection,UTL_TCP.CRLF||'<FONT COLOR="red" FACE="Courier New">'||body||'</FONT>');
    UTL_SMTP.WRITE_DATA(objConnection,UTL_TCP.CRLF||'</BODY>');
    UTL_SMTP.WRITE_DATA(objConnection,UTL_TCP.CRLF||'</HTML>');
    UTL_SMTP.CLOSE_DATA(objConnection);
    UTL_SMTP.QUIT(objConnection);
    EXCEPTION
    WHEN UTL_SMTP.TRANSIENT_ERROR OR UTL_SMTP.PERMANENT_ERROR THEN
    UTL_SMTP.QUIT(objConnection);
    DBMS_OUTPUT.PUT_LINE(SQLERRM);
    WHEN OTHERS THEN
    UTL_SMTP.QUIT(objconnection);
    DBMS_OUTPUT.PUT_LINE(SQLERRM);
    END TESTMAIL;
    DECLARE
    Vdate Varchar2(25);
    BEGIN
    Vdate := to_char(sysdate,'dd-mon-yyyy HH:MI:SS AM');
    TESTMAIL('[email protected]', '[email protected]', 'TESTMAIL','This is a UTL_SMTP-generated email at '|| Vdate,25);
    END;

    Hello Helios,
    I am trying the same script in the provided
    Check SMTP Server Availability for ORA-29278 or ORA-29279 errors using UTL_SMTP to Send Email. [ID 604763.1]
    Earlier it was reverting with Error :
    ORA-29278: SMTP transient error: 421 Service not available
    but after using the above Document ID we came to know that we are unable to TELNET mail server with Port 25
    Issue got solved but now its reverting with Error as below :
    ORA-29278: SMTP transient error: 401 4.1.7 Bad sender address syntax
    I then tried UTL_MAIL instead of UTL_SMTP as sugested by someone but it is also reverting with same Error.
    + I am using the same code as provided in document ID 604763.1 +
    Regards,
    Deepak Arora

  • "501 Bad address syntax" Squirrel Mail message

    I am getting "501 Bad address syntax" when attempting to use a now once again freshly installed version of Mac OS X 10.4 server on an xServe.
    I have installed the server completely from scratch to attempt to solve this problem about a week ago, and it was fine, until today. Now... when a user attempts to send a mail through www mail, they get the "501 Bad address syntax" Squirrel Mail message.
    I have installed mailbfr, and use it religiously, but it does not seem to be able to fix this problem.
    Is this something that I need to make changes to the httpd configs (or Apple GUI) or something I need to do to mail configs?
    Thanks in advance for any assistance.
    Chris

    Check mailaccess.log and system.log while trying to send via SquirrelMail.

  • Since upgrading to Windows 8.1, iTunes no longer recognizes my iPhone or iPad.  I tried to reinstall iTunes.  That did not address my problem.  Any suggetions on what I should do?

    Since upgrading to Windows 8.1, iTunes no longer recognizes my iPhone or iPad.  I tried to reinstall iTunes.  That did not address my problem.  Any suggetions on what I should do?

    Hey Bob0725!
    Here is an article that will help you troubleshoot this issue:
    iOS: Device not recognized in iTunes for Windows
    http://support.apple.com/kb/ts1538
    Take care, and thanks for visiting the Apple Support Communities.
    Cheers,
    Braden

  • How to add field on into standard address window in SAP script

    Hello Exports,
            I want to add Vendor number field in between the Vendor name and vendor address in the address window in sap script.
    Address is written in standard Address and Entendres. I need to add the vendor number in thsi Address and Endaddress.
    Please guide in this.

    goto the Vendor Name field .
    Hit enter.
    A new line is created.
    Give your Vendor Num field there.
    Bhupal

  • I have started to get this error message: 5.1.3 bad address syntax in my email account. I am using Outlook 2011. It does not appear to be affecting sending or receiving email. I have no idea what it means or how to resolve the issue. Any advice?

    I have started to get this error message: "5.1.3 bad address syntax" in my email account. I am using Outlook 2011. It does not appear to be affecting sending or receiving email. I have no idea what it means or how to resolve the issue. Any advice?  My email account is through Optimum online and I am using Airpost Express.
    P.S. The error sound "bong" is driving us nuts!

    Please post on the Office for Mac product forums that Microsoft hosts. It's their product and they can best troubleshoot the issue.

  • Problem in script format

    hi,
    i am having problem in script , the problem is
    s.no|    descriptio                           |   UOM                      |          Qty                   |             Rate           |          AMT            |
    01     aaaaaaaaaaaaaaaaaaaaa       11.01                             17.28                     170000000               2400000
    this is fine but when the 1st column is shot other also get affected.
    s.no|    descriptio                           |   UOM                      |          Qty                   |             Rate           |          AMT            |
    01     aa       11.01                             17.28                     170000000               2400000
    and i cannot draw vertical line here .what is the solution for this.
    Edited by: jaihind on Mar 6, 2010 12:21 PM
    hi,
    problem is if the description field is long then other coloum are comming fine but if description caloumn is small then other also get affected and its comes towards left .
    Edited by: jaihind on Mar 6, 2010 12:22 PM

    Hi
    For this u can resolve by using the Formatting characters ......
    This is your layout ..
    s.no| descriptio | UOM | Qty | Rate | AMT |
    01 aaaaaaaaaaaaaaaaaaaaa 11.01 17.28 170000000 2400000
    Assume that   your field names like  
    s.no      |  description  |    UOM      |    Qty      |      Rate      |         AMT       |
    &sno&      &desc&         &UOM&       &Qty&         &rate&         &AMT&
    asseme that  length of these fields(in characters) as per your requirement will be ...
    s.no      |  description  |    UOM      |    Qty      |      Rate      |         AMT       |
    8                  15                  5                8                 10                  15
    For these use formatting characters    like   ...
                  s.no      |  description      |    UOM      |    Qty      |      Rate      |         AMT       |
    1stLine  &sno& ,,  &desc+0(15)&,,  &UOM&       &Qty&        &rate&         &AMT&
    2ndline                 &desc+15(15)&     
    &desc+0(15)&  -  it will print  first 15 characters from 0th position
    &desc+15(15)&- From 15th position it will print 15 characters ..
    Hope you resolve your issue
    Let me know if Any concerns,.......

  • Some syntax problems (I guess)

    Hi, I'm having problem with the first constructor in this simplified example code... I want to create a "default" Comparator. I'm not quite sure how to do this.
    public class MyClass<E> {
        private Comparator<E> comp;
        public MyClass() {
            MyClass(new ComparableComparatorBridge());
        public Myclass(Comparator<E> comp) {
            this.comp = comp;
        private class ComparableComparatorBridge<E extends Comparable> implements Comparator<E> {
            public int compare(E o1, E o2) {
                return ((Comparable)o1).compareTo(o2);
    }

    Event if you fix the syntax problems, following the advice of the other posters, you'll have a semantic problem:
    MyClass<E> is parameterized with an unbounded type parameter.
    You cannot assume that E implements Comparable<E>.
    What you'd really need is a parameterizd constructor like this (won't compile):public <C extends E & Comparable<E>> MyClass() {
    this(new ComparableComparatorBridge<C>());
    }Unfortunately, this isn't valid Java. I see two possibilities:
    1. Derive from MyClass and introduce the additional bound on the type parameter of the subclass. Then you can create a default-constructor using the ComparableComparatorBridge in that subclass.
    2. Add a static factory function to MyClass, like this:
    public class MyClass<E> {
        private final Comparator<E> comp;
        public MyClass(Comparator<E> comp) {
            this.comp = comp;
        public static <E extends Comparable<E>> MyClass<E> defaultComparable() {
            return new MyClass<E>(new ComparableComparatorBridge<E>());
        private static class ComparableComparatorBridge<E extends Comparable<E>> implements Comparator<E> {
            public int compare(E o1, E o2) {
                return o1.compareTo(o2);
    }

  • HT1476 I have a big problem in my phone charger . I have Iphone 5s . I don't know what is the problem but the bettery is not working true . A decrease in the battery very quickly and then turns off the machine . Please, I want to address this problem quic

    I have a big problem in my phone charger . I have Iphone 5s . I don't know what is the problem but the bettery is not working true . A decrease in the battery very quickly and then turns off the machine . Please, I want to address this problem quickly .

    http://osxdaily.com/2013/09/19/ios-7-battery-life-fix/

  • 501 5.1.7 Bad sender address syntax

    Hi,
    My Exchange Environment contains
    Two Exchange 2010 SP3 CAS/HUB servers with WNLB configured
    Two Exchange 2010 SP3 Mailbox servers with DAG
    External mail is send via a smarthost - Sophos Email Appliance
    I have an application that sends mails to internal distribution lists, this lists contain contacts with external addresses.
    This is used for 10 distribution lists and delivers mails to the external contacts for 9.
    The one that is not delivering gives the following error in Exchange Tracking Log
    501 5.1.7 Bad sender address syntax
    I have tried to recreate the contact but no joy.
    I can mail the contact from my Outlook profile.
    I can mail the contact from the account stated in my Application via Outlook.
    Anyone seem this error before ?

    Hello,
    Since Outlook works fine, I think the issue is more related to the configuration of the APP.
    Thanks,
    Simon Wu
    TechNet Community Support

  • MY macbook pro is slow to start up after log in. any suggestions on where to start addressing the problem?

    MY macbook pro is slow to start up after log in. any suggestions on where to start addressing the problem?

    Delete any items in System Preferences > Users & Groups (or Accounts) > Login Items
    Same for  HD > Library > StartupItems
    Not enough free space on the startup disk can slow the system down.
    Right or control click the MacintoshHD icon on your Deskop.
    Click Get Info. In the Get Info window you will see Capacity and Available.
    Make sure there's a minimum of 15% free disk space.

  • UTL.MAIL error ORA-29279: SMTP permanent error: 501 Address Syntax Error in

    Hi,
    I am new to the forum so please excuse if I post incorrectly without conforming to the standards.
    We need to send mails using the UTL.MAIL package and have installed them on the database.
    Whenever I am trying to send an email I am getting the following error:
    ERROR at line 1:
    ORA-29279: SMTP permanent error: 501 Address Syntax Error in
    [email protected]
    ORA-06512: at "SYS.UTL_MAIL", line 654
    ORA-06512: at "SYS.UTL_MAIL", line 671
    ORA-06512: at line 2
    The test code which I am running is as follows:
    BEGIN
    UTL_MAIL.send(sender => 'test <[email protected]>',
    recipients => '[email protected]',
    subject => 'UTL_MAIL test subject',
    message => 'UTL_MAIL test body');
    END;
    I have tried different combinations:
    BEGIN
    UTL_MAIL.send(sender => 'test "<[email protected]>"',
    recipients => '[email protected]',
    subject => 'UTL_MAIL test subject',
    message => 'UTL_MAIL test body');
    END;
    even tried
    BEGIN
    UTL_MAIL.send(sender => '[email protected]',
    recipients => '[email protected]',
    subject => 'UTL_MAIL test subject',
    message => 'UTL_MAIL test body');
    END;
    Everytime I am getting the same error.
    This seems to be working with an exchange mail server but never on the SMTP server.
    In the SMTP server logs the sender address is not having the angular brackets <> unlike the other mails which are being sent over.
    It seems that the SMTP server is pretty strict and the SMTP admin will not change any settings on the server.
    The oracle version is as follows
    Oracle Database 11g Release 11.2.0.1.0 - 64bit Production
    Could you please help me out with a solution.
    Some how the angular brackets are geting stripped off (which UTL MAIL package generally does), Is there any way in which I can include the angular brackets.
    Edited by: 984757 on 29-Jan-2013 02:56
    Edited by: 984757 on 29-Jan-2013 02:57

    I dislike UTL_MAIL - clunky and poor abstraction interface, and not well written.
    Had a look at the code. It does this:
    WHILE (ALL_RCPTS IS NOT NULL) LOOP
          UTL_SMTP.RCPT(MAIL_CONN,'&lt;' || GET_ADDRESS(ALL_RCPTS) || '&gt;');
    END LOOP;The GET_ADDRESS() function process the ALL_RCPTS parameter, returns the 1st address from it, and updates the (in/out) parameter with the remaining string.
    SQL> var address varchar2(200);
    SQL> exec :address := '<[email protected]>,[email protected]';
    PL/SQL procedure successfully completed.
    SQL> exec dbms_output.put_line( 'get_address='||UTL_MAIL.GET_ADDRESS(:address)||' address='||:address );
    get_address=[email protected] address=[email protected]
    PL/SQL procedure successfully completed.
    SQL> exec dbms_output.put_line( 'get_address='||UTL_MAIL.GET_ADDRESS(:address)||' address='||:address );
    get_address=[email protected] address=
    PL/SQL procedure successfully completed.
    SQL> The address is explicitly surrounded by brackets as per the RFC. So that is what your SMTP server should see.
    If not - perhaps then our UTL_MAIL versions do not match. Cannot recall from what version I pulled and unwrapped the UTL_MAIL package code I have.
    Personally though, I've ceased using UTL_MAIL a while back. It lacks in may respects. I have written my own mail package that supports multiple attachment, complex Mime formatting, attachments of 20+ MB in size, and so on - running on the UTL_SMTP interface (that provides the transport layer for sending mail). And for issues like you are facing, I suggest considering using UTL_SMTP directly.
    Edited by: Billy Verreynne on Jan 29, 2013 12:52 PM
    (Updated the code with HTML entity names to get the code snippet to render correctly)

  • Dreamweaver silently detects syntax problem

    I have a .cfm file which I've been maintaining for a few years. Recently while editing the file in DW6, DW began to fail to recognize that the file is a Cold Fusion file.  Common keyboard shortcuts, both general and CF-specific just won't function.  Menu items under "Insert...ColdFusion Objects" are all disabled.
    After 90 minutes of progressively removing a few lines of code, saving and closing, then reopening the file, I tracked the problem down to the presence of 1 line of ColdFusion code.
    I happened to see at the bottom of the edit window (in the part of the status bar which shows CF code nesting) that <cfinvoke> was listed, where there was none in the file I was having trouble with.  It turns out the line of "bad" code was a <cfinclude>, and the file it referenced had a <cfinvoke> without a closing </cfinvoke>
    The reason for this long post under Dreamweaver, is that DW was clearly detecting a syntax problem, but instead of identifying the problem, it just stopped functioning normally, and acted in a truely weird way.
    I do NOT have "Enable Related Files" active.  For DW to wanter out into other files and gag on a syntax error, then not to report the problem, was totally unexpected.
    I consider the primary "bug" to be in failing to report the syntax error.  Secondarily, syntax checking in related files should probably be controlled by the "related files" preference option.
    This is DW CS6, v 12.1, build 5949.

    Did you report this to Adobe?
    Bug Report & Feature Request Form
    https://www.adobe.com/cfusion/mmform/index.cfm?name=wishform
    Nancy O.

  • I uninstalled Adobe Reader X to address a problem and cannot reinstall the software.

    I uninstalled Adobe Reader X to address a problem and now I am unable to reinstall the software. Ideas?

    OK - you can download the standalone installed for Adobe Reader directly from the Adobe FTP site.
    ftp://ftp.adobe.com/pub/adobe/reader/win/10.x/10.1.2/en_US/
    Save the executable file onto your computer and then double-click on it - the installer should run as normal.
    If you want to install a different language, go to this address instead:
    ftp://ftp.adobe.com/pub/adobe/reader/win/10.x/10.1.2/

Maybe you are looking for

  • How to Open an Oracle Apps Screen from a web page

    Hi, We have requirement for Opening an Oracle Application screen (say sales order form) directly from a web page. I could get the URL of the required screen, but the URL contains an ICX_TICKET number, which is generated dynamically by Oracle Apps. So

  • Instance Terminated due to error 340

    Hi, My catalog database instance terminated suddently. The alert log is showing the following error. LGWR: terminating instance due to error 340 Instance terminated by LGWR, pid = 29359 What is the reason? Thanks, Kavitha

  • Error using tuxedo proxy services in a cluster

    We have successfully created proxy services using tuxedo transport in single server ALSB configurations. We are now installing ALSB 2.6 in a cluster, and we cannot make the service work. We have configured WTC in all the servers of the cluster. When

  • QuickViewer - logical DB PNPCE.  Same person on multiple lines in result

    Hi I have created a Quickviewer using SQVI.  Logical DB PNPCE is used as data source. When I create the quickviewer I first has to build up the infoset by selecting info types to be included. I select several info types. When I build up the report I

  • QTP 11 crashing when spying seagull bluezone version 5.2

    Hi All I am using QTP 11 trial version and automated bluezone v5.2, but when I am trying to do spy, QTP hangs the system with the popup says "QTP has stopped working". This error I am not only encountering while spying but also during test run. Pleas