CProjects 4.0 - Error - E-mail to Resource

Under the 'Resource' tab, when I staff a role in cProjects 4.0, I get to see a button "E-mail to Resource." However, when I click on that, I get a message "An error occured when sending the e-mail".
Also, when I click on the "Groupware Task" button in the same tab page, I get a content of an e-mail that would go to the resource staffed for the role. However, when I click the "Send" button, I get an error message "An error occurred in sending the groupware task"
Can someone please suggest?
Thanks and Regards,

for which client u are facing this problem. development or production,
goto spro  check ur setting and once again activate these tabs in production and development client..
plz give reward points..
thanks
amit

Similar Messages

  • Error message "iTunes Helper Resources not available" and saving to wrong Drive

    I am trying to upgrade iTunes to 10.7 on my PC but I keep getting the error message "iTunes Helper Resources not available". Diagnostics take me a support page which talks about not being able to see the device in iTunes - but I can see the device without problems.
    I thought I would try reinstalling iTunes from the webpage and it downloaded to my PC fine but when I went to setup, it showed me it is saving to a DVD drive - not my Hard drive. It also won't let me change the location for the file. I have no idea how that's happened as I obviously don't use the DVD drive as a USB (although the PC see's it as one) and I've never chosen it as the location for iTunes in the 7-8 years that I've been using it.
    I then thought I'd try uninstalling it and reinstalling it (to the correct drive) but again, it comes up that the DVD drive is invalid and won't uninstall iTunes.
    So I'm stuck and haven't been able to find anything helpful on the support pages or in iTunes Help.
    Please someone help ...
    Thanks.

    Try the following user tip. (Probably, the section on clearing the installation database might be best given that you've currently got a drive on the problematic letter at the moment.)
    "Invalid drive X:\" install errors

  • While running servlets getting errors 404 or 505 resource not found

    Hi all,
    I'm novice to J2EE.
    I've encountered a problem while accessing the deployed module in weblogic 8.1 server.
    I'm sure that the webapplication module is deployed as i saw my module in administration console & also the status said that it is deployed.
    when i access my web application by specifying the proper server and port no and context root it is showing
    either 505 - resource not found error(http://localhost:7001/Suresh-2/Suresh) or 404 - not found error.( http://localhost:7001/Suresh-2/Suresh)
    Now let me elaborate what i've done till now.
    My webapplication folder structure is : C:\bea\user_projects\domains\mydomain\applications\Suresh\WEB-INF\classes\Sai\ServExamp.class
    My servlet is ServExamp.java
    I created a folder called "Suresh".  In that folder created another folder called "WEB-INF".  In WEB-INF created a folder called "Classes".
    Since my servlet is in package "Sai", the .class file reside in \Suresh\WEB-INF\Classes\Sai\ServExamp.class
    The source code is :
    package Sai;
    import javax.servlet.;*
    import javax.servlet.http.;*
    import java.io.;*
    public class ServExamp extends HttpServlet
    public void doPost(HttpServletRequest req,HttpServletResponse res)throws IOException
    PrintWriter out=res.getWriter();
    java.util.Date today=new java.util.Date();
    out.println("<html>"+"<body>"+
    *"<h1 align=center>HF\'s Chapter1 Servlet </h1>"*
    +"<br>"+today+"</body>"+"</html>");
    Now i'm almost done creating a web application.  Next, I constructed a simple web.xml descriptor that gives a web friendly name for my servlet, and points to the servlet. I constructed  web.xml descriptor file in the WEB-INF folder (C:\bea\user_projects\domains\mydomain\applications\Suresh\WEB-INF\).
    The web.xml file source is :
    *<!DOCTYPE web-app*
    PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
    *"http://java.sun.com/dtd/web-app_2_3.dtd">*
    *<web-app>*
    *<display-name>Hello World Web Application</display-name>*
    *<description>Test Servlet</description>*
    *<servlet>*
    *<servlet-name>ServExamp</servlet-name>*
    *<servlet-class>Sai.ServExamp</servlet-class>*
    *</servlet>*
    *<servlet-mapping>*
    *<servlet-name>ServExamp</servlet-name>*
    *<url-pattern>/Suresh</url-pattern>*
    *</servlet-mapping>*
    *</web-app>*
    Now I have told Weblogic that the URI /Suresh corresponds to my servlet "Sai.ServExamp".
    My Web Application is ready to be deployed at this point. I logged onto Weblogic's admin console,
    *1) clicked on deployments, then navigated to "Web Application Modules" .*
    *2) Clicked "Deploy new Web Application Module"*
    *3) Navigated to the location of your web application folder (Suresh). There was a radio button next to it indicating that I can select that folder as a valid web application.*
    *4) I Clicked that radio button and clicked "Target Module".*
    *5) It informed that my web application "Suresh" will be deployed to myServer.It asked a name for my web application deployment. By default it was "Suresh"*
    I clicked Deploy.
    *6) After deployment, my web application "Suresh" appeared in the "Web Application Modules" tree on the left.*
    I Clicked on "Suresh"( my web application) then clicked the testing tab, then clicked the link shown there(http://localhost:7001/Suresh-2).
    It was not showing  my servlet (showed a 403 error)
    Error - 403
    This status code is commonly used when the server does not wish to reveal exactly why the request has been refused, or when no other response is applicable.
    I think so it came b'coz I don't have an index.html or index.jsp page.
    *7)Instead,I added my servlet on to the URL it provided.*
    http://localhost:7001/Suresh-2/Suresh
    It is showing these error code: Http: 505 resource not allowed
    The page cannot be displayed
    The page you are looking for cannot be displayed because the address is incorrect.
    Please try the following:
    If you typed the page address in the Address bar, check that it is entered correctly.
    Open the localhost:7001 home page and then look for links to the information you want.
    Click  Search to look for information on the Internet.
    when i just type : http://localhost:7001/   -> Error 404 not found error
    it's showing
    Error 404--Not Found
    From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
    *10.4.5 404 Not Found*
    The server has not found anything matching the Request-URI. No indication is given of whether the condition is temporary or permanent.
    If the server does not wish to make this information available to the client, the status code 403 (Forbidden) can be used instead. The 410 (Gone) status code SHOULD be used if the server knows, through some internally configurable mechanism, that an old resource is permanently unavailable and has no forwarding address.
    I want to run my web application & any help would be appreciated.
    Thanks in advance.
    with regards,
    S.SayeeNarayanan.
    Note: I even deployed my war file, which i got by execution of (jar cv0f webapp.war . ) command from the root directory of my web application i.e. Suresh
    Then executed my webapplication it is showing
    error-505 resource not allowed.
    --------------------------------------------------------------------------------------------

    nammathamizhan wrote:
    Hi all,
    I'm novice to J2EE.
    You're also a novice to this forum.
    First, turn off the bold font.
    Second, post your question once and only once to a single forum. You only waited an hour before reposting your question. That's not the way this works. Asking your question multiple times will not increase the likelihood that you''ll get an answer. As a matter of fact, you're guaranteed nothing at all. Give it your best effort and hope for success. This isn't a paid consultancy - we're volunteers.
    I've encountered a problem while accessing the deployed module in weblogic 8.1 server.
    I'm sure that the webapplication module is deployed as i saw my module in administration console & also the status said that it is deployed.
    when i access my web application by specifying the proper server and port no and context root it is showing
    either 505 - resource not found error(http://localhost:7001/Suresh-2/Suresh) or 404 - not found error.( http://localhost:7001/Suresh-2/Suresh)
    If you're correct, and it's deployed, that would suggest that the URL you gave is incorrect.
    >
    Now let me elaborate what i've done till now.Good info - almost too much.
    %

  • I cannot log into facebook. I get the following message: 404 Error - Not Found The resource you have requested could not be found on the server. There are many possible reasons for this. Either the file does not exist, there is an error in your request,

    I am not able to go to the facebook site. www.facebook.com is not working. I get the following error message. 404 Error - Not Found
    The resource you have requested could not be found on the server. There are many possible reasons for this. Either the file does not exist, there is an error in your request, or the file is not accessible in the requested directory. Please verify that:
    * You have used the proper case; requests ARE case-sensitive!
    * You have entered the URL correctly. (i.e. proper directory/filename)
    * You used the FULL URL. (i.e. proper file type: .html, .gif , .jpg, etc.)
    * You use a tilde (~) before user directories. (i.e. www.furcen.org/~jurann/ )
    * The user/file still exists on this server.
    I also get redirected to "Busca Google" when typing www.facebook.com in the address bar.
    == URL of affected sites ==
    http://facebook.com; buscagoogle.com

    I have the same problem and it does not have to do with firefox. Do you have any idea how to fix it through?

  • Error message :mail unable to remove deleted messages in the mailbox

    Hi,
    I am frequently getting this error message: Mail was unable to remove the deleted messages in the mailbox (my email address) on server "mail.mac.com".
    The server error encountered was: Error MFMessageErrorDomain 1028
    Sometimes the error message says that time has logged out. The thing is, most of the time, even though I get the error message, the deleted messages are being removed. Once or twice, I had to delete a couple of messages a few times. I've been getting the error message several times a day for the last couple of days.
    If anyone can enlighten me about why this happens, I would appreciate it.
    Thanks

    Well guys, all of you who are having this problem, it appears as if no one in the know is interested in giving any insight into why this happens. As of now, I haven't gotten the error message for a couple of days, so maybe it's something which resolved itself, something with the server. I would still like to know why this happens, and I wish those of you who still are having the problem could get some answers. It it's possible, go to an Apple Retail store, and see if you can talk to a genius about this issue.

  • Fixing :there was an error sending mail"

    I am using Adobe Reader 9 and Acrobat 8 Pro on a Lenovo, Windows 7, 64bit machine. When I right-click pdf files from my directories, and select "send", the file attaches itself to a new e-mail (from Outlook) and I can send - no issues. However, if I am viewing an open pdf and I select the e-mail or send icon from the toolbar, I get an error message (first box just says "error", then second box says "there was an error sending mail". I have Googled this issue and, in turn checked my Windows settings for Outlook, etc. I see no issues. I have run Adobe updates - still doesn't work. Any ideas?
    Thanks, Wayland

    What I'm trying to say, that when I update my App there an error appears

  • File to Mail Scenario- Error in Mail Adapter

    Hi,
    I am working on File to Mail Scenario- I am getting the below Error in Mail Adapter
    Delivering the message to the application using connection Mail_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: com.sap.aii.af.sdk.xi.srt.BubbleException: Failed to call the endpoint  [null "null"]; nested exception caused by: java.io.IOException: no receiver address specified.
    Could any one please provide a solution
    Rgards,
    Varun

    Please recheck the mail adapter configuration.Check the url field.
    Ref for Mail adapter
    /people/prasad.ulagappan2/blog/2005/06/07/mail-adapter-scenarios-150-sap-exchange-infrastructure
    http://help.sap.com/saphelp_nw04/helpdata/en/02/265c3cf311070ae10000000a114084/frameset.htm

  • Error in Mail Reciever Adpater --Configured IMAP4 protocol

    Hi All,
    Error in  Mail sender Cc:
    "exception caught during processing mail message; java.net.UnknownHostException: NZXXX.dknz.corp.net " .NZXXX.dknz.corp.net is the Mail Server.
    The Requirement is MAIL > FILE . Petch the Invoice(Attachment) from the Mail and save in the Network Folder(File)
    The Mail Sener CC is configured for IMAP4
    Mail server paramters:
    imap://NZXXX.dknz.corp.net NXINVOICES  where NXINVOICES  is the Inbox
    -There is no Subfolders
    -Login Credentials of the Mailbos is correct
    (cross checked the Microsoft Exchnage Server  : It is correct.)
    -Default XI paramters provided in Mail Sender Cc is of "File reciever and the URN namespace) which is correct.
    Any other Info : I did check the blog : error in mail adapter whilst using 'mail package' option , and help.sap .com:http://help.sap.com/saphelp_sm40/helpdata/en/2e/bf37423cf7ab04e10000000a1550b0/content.htm for PAYLODA SWAPBEAN, I have not added  in parameters in module configuration.There is only 1 1 module adapter:
    sap.com/com.sap.aii.adapter.mail.app/XIMailAdapterBean .
    I am not able to figure out what  the mail Sender CC is red and throwing Error.Kindly help
    I need the same info in my requirement . The Scenario is THe Vendor sends the email with Invoices ( An Attachment) to a mail server and the attachment has to be moved to the network folder (File )
    Here , I used IMAP4 Protocol in MAil Sender CC
    I wanted to know is it required to use :localejbs/ AF_Modules/PayloadSwapBean and any module configuration to petch the attachment ?

    Hi All,
    My issue is resolved , These were few updates to resolve this issue
    1. The IMAPS was used  in  Mail Sender Adapter : imaps://10.192.101.16:993/Inbox
    *IP address of the Mail Server was got from the Admin )
    2. Ports : 143, 993  are opened for the Mail Server to access for XI SERver ( Raised an Ticket to open Ports of Mail server :NZTxxx.dknz.nzcorp.net)
    3. As the attachment was only in PDF : Added swapbean in Module tab as below :
    Process Sequesnce :
    -Make sure:  AF_Modules/PayloadSwapBean     Modul key :  TRANSFORM  is added before sap.com/com.sap.aii.adapter.mail.app/XIMailAdapterBean
    -And under Module Configuration select  : TRANSFORM as Module Key and add >
    swap.keyName  Content-Disposition
    swap.keyName  Content-Description
    swap.keyValue   attachment;filename='MailAttachment-1.xml"
    swap.keyValue  MailAttachment-1
    -Save and activate , Check the Message status (Eaiting /System Error) in Message Monitoring ... .MAIL SENDER Adapter is up and running and file is placed in the network folder.
    Best Regards,
    Vara

  • Compaction Error in Mail etc.

    Yesterday I started getting a compaction error from Mail when I tried to delete large portions of the Inbox. Although I could delete a few emails at a time and then quit. they were back after the next compaction. Today I tried to troubleshoot it, and I think I made it worse. Note: I was unaware of the "Rebuild" mailbox option.
    I eventually found this forum discussion and it sounded like my problem, so I tried it:
    With the Mail.app quit and using the Finder, go to Home > Library > Mail > this POP account named folder (named by the user name and incoming mail server for the account).
    Move the account named folder to the Desktop. The account named folder contains all mailboxes associated with the account such as the account's Inbox and Sent mailbox.
    Launch Mail and a new account named folder will be created automatically by Mail within the Mail folder.
    I tried Mail again, and now I somehow had lots of junk mail back which I'd long since deleted, in my old Inbox. I was also missing some emails, from Jan. 2, 2007 'til now. I "got new mail", and it's only from Feb. 5 2007 'til now (1 month on the server.)
    The size of the old Inbox was 96.4 MB. After importing it, it's 87.2 MB. Would that account for the missing emails? If so, how do I get them back?
    iBook G4   Mac OS X (10.3.9)   22 GB free on hard drive

    Thanks for the response. Sorry that was so confusing.
    I found the "instructions to import the old mailboxes from the original POP account named folder moved to the Desktop" in another thread, and I'll be darned if I can find that thread again today.
    (This should be a bit more clear.)
    I removed the PoP account to the Desktop, opened mail so it recreated the Inbox, and imported the contents of the original PoP folder into mail.
    After importing, I had the imported Old Inbox containing deleted junk mail which somehow returned, and some emails were missing. I tried the same deletion of large blocks of mail that caused the error message in the original Inbox, only now it worked perfectly.
    > I "got new mail", and it's only from Feb. 5
    2007 'til now (1 month on the server.)
    This is for/within the old Inbox mailbox that was
    imported from the old account named folder moved to
    the Desktop?
    Nope, the new mail was in the original Inbox-mailbox, which was clear until I hit Shift-Command-N. The Old Inbox is in its own, newly-created-when-imported mailbox.
    Pre-import Old Inbox contents:
    content_index 3.7 MB
    content_index-(null)-303 2.4 MB
    content_index-localhost-257 2.6 MB
    content_index-localhost-393 948 KB
    Info.plist 4 KB
    mbox 86.4 MB
    tableofcontents 232 KB
    iBook   Mac OS X (10.3.9)  

  • The operating system returned error 170(The requested resource is in use)

    Hello Experts,
    We have a Sharepoint farm where we are receiving OS Error 170 for many days. It results in database shutdown/Start because required transaction file is not available.
    The operating system returned error 170(The requested resource is in use.) to SQL Server during a write at offset 0x0000029495e000 in file 'F:\MSSQL10_50.INST1\MSSQL\DATA\****.***. Additional messages in the SQL
    Server error log and system event log may provide more detail. This is a severe system-level error condition that threatens database integrity and must be corrected immediately
    Write error during log flush.
    Error: 9001, Severity: 21, State: 4.
    The log for database 'DBNAME' is not available
    We have checked the Anti Virus but all data files are excluded. We have also disabled the anti virus for some time but still issue persist.
    This is a Virtual Machine and no VM snapshot backup is running during the time window.
    Please help!
    Thanks in advance.
    Regards,
    Divesh Mathur

    Hello Experts,
    We have a Sharepoint farm where we are receiving OS Error 170 for many days. It results in database shutdown/Start because required transaction file is not available.
    The operating system returned error 170(The requested resource is in use.) to SQL Server during a write at offset 0x0000029495e000 in file 'F:\MSSQL10_50.INST1\MSSQL\DATA\****.***. Additional messages in the SQL
    Server error log and system event log may provide more detail. This is a severe system-level error condition that threatens database integrity and must be corrected immediately
    Write error during log flush.
    Error: 9001, Severity: 21, State: 4.
    The log for database 'DBNAME' is not available
    Hello,
    I sense a disk issue here( I am not sure).Log for database is not available seems when data needs to be written on log file it was not avaialble.Can you check with storage team that disk on which SQL server files reside is OK
    Secondly did you run DBCC CHECKDB for your database in picture can you paste result of it.
    Please mark this reply as the answer or vote as helpful, as appropriate, to make it useful for other readers

  • [823] [HY000] [Microsoft][ODBC SQL Server Driver][SQL Server]The operating system returned error 1450(Insufficient system resources exist to complete the requested service.) to SQL Server.

    Hi,
    I am facing an issue while loading fresh data into SQL server database.
    we are able to load data into staging area, but while processing stored procedures system face bellow error message :
    [823] [HY000] [Microsoft][ODBC SQL Server Driver][SQL Server]The operating system returned error 1450(Insufficient system resources exist to complete the requested service.) to SQL Server during a write at offset 0x00000243bd0000 in file 'E:\SQLDB\DBName.mdf'.
    Additional messages in the SQL Server error log and system event log may provide more detail. This is a severe system-level error condition that threatens database integrity and must be corrected immediately. Complete a full database consistency check (DBCC
    CHECKDB). This error can be caused by many factors; for more information, see SQL Server Books Online.
    we use windows 2008 R2 with SQL server managment studio 2008.
    Appreciate your suggestion.
    Thanks in advance.
    Best Regards,
    Manorath 
    Manorath

    Hi Manorath,
    Based on my research, this issue can be occurred in the following scenarios:
    You are running a DBCC command on a large database. For example, you are running the DBCC CHECKDB statement on the database. At the same time, you run many DML statements on the database.
    You create a database snapshot for a large database. At the same time, you are running many DML statements on the database.
    In these scenarios, the SQL Server service stops responding. The DBCC CHECK statement is never completed, and you receive the error message repeatedly.
    This issue occurs because the sparse file for a database snapshot file has exceeded the file size limitation in NTFS file system. When the operating system error 1450 occurs, SQL Server enters an infinite retry loop.
    To fix this issue, please download and install Cumulative update package 1 for SQL Server 2008 Service Pack 1. Besides, because the fixes are cumulative, each new release contains all the hotfixes and all the security fixes that were included with the previous
    SQL Server 2008 fix release. We recommend that you consider applying the most recent fix release that contains this hotfix.
    Reference:
    http://support.microsoft.com/kb/967164
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • Windows Modules Installer - Error 1450 Insufficient System Resources

    I've run into a major problem with the release of Windows 7 Enterprise.  It seems that somewhere along the line after installing my applications, the Windows Modules Installation Service has decided to stop working.
    When trying to start the service through Services Management I get the following:  "Windows could not start the Windows Modules Installer service on Local Computer.  Error 1450: Insufficient system resources exist to complete the requested service."
    This means that Windows Update doesn't find updates, sysprep fails, and I get a blank list for "Turn Windows features on or off".
    Can anyone help?
    (update: After testing with some clean installs of Windows 7 Enterprise, it looks like the problem happens after installing ArcGIS Arcinfo Workstation 9.3.  Uninstalling did not fix it.)
    trelf

    i hope this gets posted to the thread - if not i apologize, this is my first post on here.
    Let me just say this - i've been a Microsoft guy for like... over 20 years now, but I have to say this year this whole platform has really seemed to fall apart for me on so many levels, and when i have the best equipment money can buy its a bit of a let
    down to say the least.
    Short version is - i tried the above and it didn't work, and i'm getting this Windows Modules Installer constantly trying to run and its failing repeatedly for no known reason... i suspect maybe tied to my backups which are microsoft windows based as well.
    This fix above DID NOT work for me unfortunately - i set the limit, did the reboot and still can't run SFC /SCANNOW - it fails with same error and still having the same errors in the System Log - its 7036 and 7023 alternating one after the other nonstop
    it appears, every 30 seconds.
    Any ideas?
    Thanks,
    cnorton3
    PS: just to note, i DO NOT have ArcGIS installed / funny enough i do know what the software is but i do not (and never have) used/installed it.

  • Error through Mail

    Can we send errors through mails? How can I proceed?

    Use the FM "" SO_NEW_DOCUMENT_SEND_API1 ""
    It can be used to send mail (SAPMAIL)

  • Disk I/O errors with Mail only

    For the past few days, I have noticed Mail was running slowly - especially when starting.  Would take forever to start pulling in messages.  I looked for solutions and disabled non-essential accounts.  Then I took all 5 email accounts offline.  Still would get hangs and even beachballs today.
    I opened console and found that I was getting a LOT of disk1s2 I/O errors whenever Mail was opened.  The errors would continue until it was closed.
    Note: This is on a mid-2011 iMac.  Disk1s2 is the internal hard drive.  I now boot off an SSD thunderbolt.  The internal holds all data; applications live on the SSD.
    I restarted the computer.  Then opened console and waited.  No i/o errors.  I opened every other program in my dock and got one i/o error when Carbon Copy Cloner was first opened.  I closed everything and then opened Mail.  It hung as usual and the I/O errors started coming.  I eneded up with 40 I/O errors in the 10 minutes that Mail was opened and (eventually) closed.  This was with all accounts set to offline.
    I'm stumped.  Any thoughts???
    Thanks
    E
    About this Mac: OS 10.9.3 2.7 i5 32 gigs RAM (I use Photoshop a lot and decided to max out RAM).  Ram has been there for over 1 year.

    The hard drive is failing, or there is some other internal hardware fault.
    Back up all data on the drive immediately if you don't already have a current backup. There are ways to back up a computer that isn't fully functional—ask if you need guidance.
    Make a "Genius" appointment at an Apple Store, or go to another authorized service provider.
    If privacy is a concern, erase the data partition(s) with the option to write zeros* (do this only if you have at least two complete, independent backups, and you know how to restore to an empty drive from any of them.) Don’t erase the recovery partition, if present.
    Keeping your confidential data secure during hardware repair
    Apple also recommends that you deauthorize a device in the iTunes Store before having it serviced.
    *An SSD doesn't need to be zeroed.

  • Error: "javax.mail.MessagingException: 505 5.7.3 Client not Authenticated

    While trying to run a program to sent sms to mobile(with airtel connection)it shows the Error:
    "javax.mail.MessagingException: 505 5.7.3 Client was not Authenticated.
    If anyone knows how to resolve this problem please reply.
    The Code is as follows:
    import java.io.*;
    import java.net.InetAddress;
    import java.util.*;
    import javax.mail.*;
    import javax.mail.internet.*;
    import javax.activation.*;
    public class EmailSMS
    String TO;
    String FROM;
    String SUBJECT,TEXT,MAILHOST,LASTERROR;
    public static void main(String [] args) throws Exception
         EmailSMS SMS=new EmailSMS();
         SMS.setMailHost("kcsl.com");
         SMS.setTo("[email protected]");
         SMS.setFrom("[email protected]");
         SMS.setSubject("");
         SMS.setText("Hello World");
         boolean ret = SMS.send();
         if(ret){
              System.out.println("SMS was sent");
         else
              System.out.println("SMS was not sent"+SMS.getLastError());
    public EmailSMS()
         TO=null;
         FROM=null;
         SUBJECT=null;
         TEXT=null;
         LASTERROR="No methods calls";
    public void setTo(String to){TO=to;}
    public String getTo(){return TO;}
    public void setFrom (String from){FROM=from;}
    public String getFrom(){ return FROM;}
    public void setSubject(String subject){SUBJECT=subject;}
    public String getSubject(){return SUBJECT;}
    public void setText(String text){TEXT=text;}
    public void setMailHost(String host){MAILHOST=host;}
    public String getMailHost(){return MAILHOST;}
    public String getLastError(){return LASTERROR;}
    public boolean send()
         int maxLength;
         int msgLength;
         //Check to make sure that the parameters are correct
         if(TO.indexOf("mobile.att.net")>0)
              maxLength=140;
         else if(TO.indexOf("messaging.nextel.com")>0)
         {maxLength=280;}
         else if(TO.indexOf("messaging.sprintpcs.com")>0)
         {maxLength=100;}
         else maxLength=160;
         msgLength=FROM.length()+1+SUBJECT.length()+1+TEXT.length();
         if(msgLength>maxLength)
              LASTERROR="SMS length too long";
              return false;
         //set email properties
         Properties props=System.getProperties();
         if(MAILHOST!=null){props.put("mail.smtp.host",MAILHOST);}
         Session session=Session.getDefaultInstance(props,null);
         try{
              Message msg=new MimeMessage(session);
              if(FROM!=null){msg.setFrom(new InternetAddress(FROM));}
              else{msg.setFrom();}
              msg.setSubject(SUBJECT);
              msg.setText(TEXT);
              msg.setRecipients(Message.RecipientType.TO,InternetAddress.parse(TO,false));
              msg.setSentDate(new Date());
              Transport.send(msg);
              LASTERROR="Success";
              return true;
         catch(MessagingException max ){LASTERROR=max.getMessage();
         return false;}
    thanku

    Hi,
    it seems to me that you must authenticate with your smtp host. In order to do so, try following:
    While trying to run a program to sent sms to
    mobile(with airtel connection)it shows the Error:
    "javax.mail.MessagingException: 505 5.7.3 Client was
    not Authenticated.
    If anyone knows how to resolve this problem please
    reply.
    The Code is as follows:
    import java.io.*;
    import java.net.InetAddress;
    import java.util.*;
    import javax.mail.*;
    import javax.mail.internet.*;
    import javax.activation.*;
    public class EmailSMS
    String TO;
    String FROM;
    String SUBJECT,TEXT,MAILHOST,LASTERROR;
    public static void main(String [] args) throws
    Exception
         EmailSMS SMS=new EmailSMS();
         SMS.setMailHost("kcsl.com");
         SMS.setTo("[email protected]");
         SMS.setFrom("[email protected]");
         SMS.setSubject("");
         SMS.setText("Hello World");
         boolean ret = SMS.send();
         if(ret){
              System.out.println("SMS was sent");
         else
    System.out.println("SMS was not
    t sent"+SMS.getLastError());
    public EmailSMS()
         TO=null;
         FROM=null;
         SUBJECT=null;
         TEXT=null;
         LASTERROR="No methods calls";
    public void setTo(String to){TO=to;}
    public String getTo(){return TO;}
    public void setFrom (String from){FROM=from;}
    public String getFrom(){ return FROM;}
    public void setSubject(String
    subject){SUBJECT=subject;}
    public String getSubject(){return SUBJECT;}
    public void setText(String text){TEXT=text;}
    public void setMailHost(String host){MAILHOST=host;}
    public String getMailHost(){return MAILHOST;}
    public String getLastError(){return LASTERROR;}
    public boolean send()
         int maxLength;
         int msgLength;
         //Check to make sure that the parameters are correct
         if(TO.indexOf("mobile.att.net")>0)
              maxLength=140;
         else if(TO.indexOf("messaging.nextel.com")>0)
         {maxLength=280;}
         else if(TO.indexOf("messaging.sprintpcs.com")>0)
         {maxLength=100;}
         else maxLength=160;
         msgLength=FROM.length()+1+SUBJECT.length()+1+TEXT.leng
    h();
         if(msgLength>maxLength)
              LASTERROR="SMS length too long";
              return false;
         //set email properties
         Properties props=System.getProperties();
         if(MAILHOST!=null){props.put("mail.smtp.host",MAILHOST
    Session
    session=Session.getDefaultInstance(props,null);
         try{     // Get a Transport object to send e-mail
                   Transport bus = session.getTransport("smtp");
                   // Connect only once here
                   // Transport.send() disconnects after each send
                   bus.connect(host, username, password);
              Message msg=new MimeMessage(session);
    if(FROM!=null){msg.setFrom(new
    w InternetAddress(FROM));}
              else{msg.setFrom();}
              msg.setSubject(SUBJECT);
              msg.setText(TEXT);
              msg.setRecipients(Message.RecipientType.TO,InternetAd
    ress.parse(TO,false));
              msg.setSentDate(new Date());// Send message
              bus.send(msg);
              bus.close();
              LASTERROR="Success";
              return true;
    catch(MessagingException max
    ){LASTERROR=max.getMessage();
         return false;}
    thankuGood luck

Maybe you are looking for

  • OIM 11g R2 PS1 - Bugs fixed info required

    Hi , I have OIM 11g R2 with BP 06 installed on my system and want upgrade to latest version so that majority of bug fixes are incorporated. As both BP07 and PS1 are in market. While checking for BP7 fixes we noticed that there are certain fixes that

  • HP 2055 Printing from selected tray issue

    Hey all, This is my first time posting here but i need some serious help. We have a networked HP 2055 printer that 3 workstations are printing to.  We have the native drivers installed on the machines, and have it selected to print tp tray 3 (the bot

  • Pls advice correct sequence of learning SAP-ABAP

    I am a new learner in SAP-ABAP so just wanted to know the correct sequence of learning the things in SAP-ABAP and also I need to become technically strong . So just tell me how should I start? because my conpany is going to start implementation ecc 6

  • Can aperture 2 on 10.4.11 still be used to make a photo book ?

    Hello Clever People ! Can aperture 2 running on 10.4.11 still be used to make a photo book ? If so ... is it also possible to also upload to order via a PC running on XP ? Thank you in advance for your much appreciated help and expertise

  • One site only will not load on Firefox4.01 and Safari 5.05.

    Using OX 10.6.7  the site is www.tradera.com.  I get time out errors before a connection can be made No problem to load and log in via proxy - but that prevents opening essential link that refer back to the original site I have removed the cookies/ca