Problem in Sending EMAIL  with SMTP

hi
i am new to java mail, i have devloped a routine to send a automatted email messages with attachment. my isp is VSNL.com..when i run the program it gives exception message SMTPSendFailed Exception , No Auth Command is provided
...I couldn't able to understand the problem.please help me to sort out this problem.I am passing Username,Password and HOst throgh Service Connect method in getting connection.
Arun

Hi thanksifixed that problem..
i have few questions.
some comercial servers like yahoo doesn't allows to use their SMTP and POP3 servers to access..how to override this restriction?

Similar Messages

  • Problem in sending email with attachment more than 32kb through utl_mail

    Hi friends
    I am able to send an email with attachment upto 32kb using utl_mail.
    But whenever I increase the size of attachment from 32kb, it prompts me an error.
    ===============================================
    ORA-20001: The following error has occured:
    ORA-06502: PL/SQL: numeric or value error: character string buffer too small
    ===============================================
    i have also used LONG RAW instead of RAW, bu still the problem is same.
    please help me in solving this issue.
    Thanks in advance,
    Ankur

    Yeah that's an issue with UTL_MAIL it only has 3 procedures, and none of them let you send data to the SMTP server incrementally. To send files larger than 32k you will need to switch over to using UTL_SMTP directly or via a helper package such as the [DEMO_MAIL package|http://www.oracle.com/technology/sample_code/tech/pl_sql/htdocs/Utl_Smtp_Sample.html] available from otn.

  • Having problem to send email with POP account ...

    Hi,
    I didn't have that problem before upgrading to my new 3GS iPHone. I have 3 email accounts on my iPhone: POP (videotron.ca), GMail and MobileMe. They all work fine except my POP account.
    From the POP account I can receive my email but I cannot send any. Funny enough, my emails are sent when the account is desactivated from my «Mail, contacts and Calendar» preferences on my iPhone.
    Can somebody help me ? Regards.
    Robert

    Hi Robert,
    I upgraded with the Iphone 3Gs a week ago and got the same problem with Videotron. The problem is with videotron as usual. If you want to be able to send email from your Iphone just go to Gmail, open an account FREE with them and then use this account to send Email...Work perfectly OK with me. Then of course you will have to phone videotron to make sure your account is fully available when you go on there Web site open the read email and be able to read your email if not solve the problem with them by phone. unless you will be able to send email easily with gmail and mather of fact it is free.
    Hope this will help from Quebec to Quebec!!!

  • Problems re-sending emails with attachments

    I am using Mail 7,0 with Mavericks.
    I am having problems resending emails. When I resend an email with one or more attached files, then I am having a lot of problems because the receiver gets everything scrambled!!, the body text is received as an attachment and all the images or logos included in my signautre are also received as an attachment.
    I would thank very much if someone has had the same problem and can help me to solve the problem.
    Thank you!!!
    José Ignacio

    Which antivirus software do you run on your computer? Are there any errors posting?  Have you shut off any email firewalls temporarily to attempt to isolate your issue?  Do you have outlook 2003 on more than 1 pc in your home?  Have your tried to attach a small text file and send it to see if that goes thru successfully?
    Joe D
    Verizon Telecom
    Fiber Solution Center
    Notice: Content posted by Verizon employees is meant to be informational and does not supercede or change the Verizon Forums User Guidelines or Terms or Service, or your Customer Agreement Terms and Conditions or Plan.Follow us on Twitter™!

  • Problem of sending email with attachment by SO_NEW_DOCUMENT_ATT_SEND_API1

    Hi experts,
    When I sent email with FM 'SO_NEW_DOCUMENT_ATT_SEND_API1' with TXT attachment, I found the there were no new line after each row of the content of TXT file attachment . All the rows in the internal table are concatenated into a string without any new line mark. It damaged the format of my attachment.

    You need to concatenate your text with  l_c_cr_lf  (For enter button or new line) after every 255 char to get new line. Below is the code.  Let me know in case of ny clarifications.
    CONSTANTS:  l_c_cr_lf    TYPE abap_cr_lf VALUE cl_abap_char_utilities=>cr_lf,
                  l_c_255 TYPE char3 VALUE '255'.
    DATA: l_v_cr_lf TYPE abap_cr_lf,
            l_v_n TYPE i,
            l_v_dif TYPE i,
            l_v_strlen TYPE i.
    l_v_cr_lf = l_c_cr_lf.
      l_v_n = 0.
      LOOP AT fp_i_mail_out INTO wa_mail_out.
        l_v_strlen = STRLEN( wa_mail_out ).
        CLEAR l_v_n.
        DO.
          l_v_dif = l_v_strlen - l_v_n.
          IF l_v_dif < l_c_255.
            EXIT.
          ELSE.
            l_wa_attachment =  wa_mail_out+l_v_n(255).
            APPEND l_wa_attachment TO l_i_attachment.
            CLEAR l_wa_attachment.
            l_v_n = l_v_n + 255.
          ENDIF.
        ENDDO.
        IF l_v_strlen > l_v_n.
          l_v_dif = l_v_strlen - l_v_n.
          l_wa_attachment =  wa_mail_out+l_v_n(l_v_dif).
          APPEND l_wa_attachment TO l_i_attachment.
          CLEAR l_wa_attachment.
        ENDIF.
        DESCRIBE TABLE l_i_attachment LINES l_v_lines.
        LOOP AT l_i_attachment ASSIGNING <l_fs_attach>.
          IF sy-tabix = l_v_lines.
            CONCATENATE <l_fs_attach>-line l_v_cr_lf  INTO <l_fs_attach>-line.
          ENDIF.
        ENDLOOP.
      ENDLOOP.

  • Can't send email with SMTP servers

    Not sure if I have the right SMTP server but I'm using mail.1xbell.ca and have also tried smtp.bellaliant.net. I can receive fine but can't send. It just times out. Tried it on 3G and WIFI.
    I'm using Aliant in Newfoundland, Canada for my email and the phone is with Telus. The tech dude at Aliant wouldn't tell be dick all because the phone is with another carrier even though my email is with Aliant.
    Any suggestions in getting this fixed?

    If the email account provider for the email account is not the internet service provider associated with the wi-fi network your iPhone is connected to at the time and the email account provider for the email account does not have an authenticated SMTP server, you won't be able to send with the account - unless you have access to the ISP's SMTP server being used for your internet connection at the time.
    As already provided, most if not all ISPs block the use of SMTP servers that are outside of the ISP's network or that isn't provided by the ISP being used for your internet connection at the time unless the SMTP server is authenticated.
    A MobileMe account is my primary email account which has an authenticated SMTP server and I've never had a single problem sending with the account from my iPhone over the last 3 years regardless my internet connection at the time - various wi-fi networks with different associated ISPs or when connected to AT&T's cellular network.
    Having an account with an authenticated SMTP server is the key.

  • E-recruiting:problem while sending email with changed smartform

    Hi,
    There are about 21 forms that have been configured in our E rec systems to send out correspondence to the candidates. When the forms are sent out withougt changes the mail is sent out correctly with a pdf attachment in it. Out of the 21 forms 16 of the forms are changed by the recruiters before the mail is sent out. When we try to change the forms using the 'Change form' option on the portal, the form is available in the html editor. Hence the logo on the form becomes a hyperlink. When the correspondence is sent for changed forms the email has the changed form in the body of the message and we no longer have a pdf attachment in it.
    The problem here is that the logo turns into a hyperlink hence candidates external to our systems cannot view the logo.
    Please advise how can we send changed form as a pdf attachment.
    Full marks will be awarded for any clue.

    Jaideep,
    That is correct, seems you have configured eRecruit to use "HTML editor" and with that changed correspondence cannot go as attachments due to the limitation. There are several OSS notes stating the same.
    There is alternate solution "Letter Section", using this changed correspondence is sent as attachments. However, there is limitation with this option as well, that is limited formatting options.
    You may have to choose "HTML editor" if you need better formatting options or "Letter Section" if you want to send the correspondence as attachments.
    Refer to OSS notes 1073200 and 1080924 for more information.
    regards
    Sridhar

  • Is there any problem to use multiple threads to send email with JavaMail

    Dear all,
    I am using JavaMail 1.3.2 to send emails with SMTP, it works very well for a long time.
    But one day, I found that the email service hanged and I could never send email again until I restart the tomcat. I found that the reason was a deadlock had been created, the required resource for sending email had not been released.
    I guess the error is due to multiple threads are sending email at the same time. I made a test to create seperate thread for sending each email. After few days, I found this deadlock happened again. So, my question is: Can I use JavaMail with multiple threads? If not, I may need to sychronized all the thread that using JavaMail. I would like to make sure this is the reason for causing the deadlock problem.
    Here is part of my code for using JavaMail:
    transport = session.getTransport("smtp");
    transport.connect(email_host, smtp_user, smtp_pass);
    message.saveChanges();
    transport.sendMessage(message,message.getAllRecipients());
    which is very standard call, and it worked well for a long time.
    Here is part for my thread dump on tomcat:
    (Thread-339)
    - waiting to lock <0x5447c180> (a sun.nio.cs.StandardCharsets)
    (Thread-342)
    - locked <0x5447c180> (a sun.nio.cs.StandardCharsets)
    It seems that these happened after call the method transport.sendMessage() or message.updateChanges()
    , and the underlying implementation may require the JRE StandardCharsets object. But the object had been locked and never be released. So, the sendMessage() or updateChanges() can't be completed.
    Please give me some helps if you have any idea about it.
    Thanks very much!
    Sirius

    Note that the Nightly build gets updated daily (and sometimes more than once in case of a respin) and it is always possible that something goes wrong and it doesn't work properly, so be prepared for issues if you decide to stay with the Nightly build and make sure to have the current release with its own profile installed as well in case of problems.
    See also:
    * http://kb.mozillazine.org/Testing_pre-release_versions
    *http://kb.mozillazine.org/Creating_a_new_Firefox_profile_on_Windows
    *http://kb.mozillazine.org/Shortcut_to_a_specific_profile
    *http://kb.mozillazine.org/Using_multiple_profiles_-_Firefox

  • I'm not able to send emails with mail.ru. Receiving and reading is not a problem. When I create a email with mail.ru its not possible to send it although its stored in my mail.ru account as "still to be send". What can it be??

    I'm not able to send emails with mail.ru. Receiving is not a problem. Creating a mail is also not a problem and the mail will be stored at mail.ru as still to be send, only problem is its not possible to send. I noticed the buttons for sending change colour when used but they don't perform. What it is?

    Don't know what changed, but all of a sudden able to send emails by mail.ru ...... sorry for bothering.

  • Problems sending emails with iPhone 3G and outlook exchange

    I have a problem sending email with exchange. Receiving and answering mail works fine and calender updates work fine. However when I initiate an email from the phone it syncs and ends up in the sent folder in the computer but never reaches the recipient. I have tried this many times with different recipients and phones. It only happens from my iphone and ipad. Any suggestions?
    Any help much appreciated

    The iPhone you returned is still syncing against your server and locking out your account. Someone possibly has access to your mail data. I'd recommend having your Exchange Administrator install the Microsoft Exchange Server ActiveSync Web Administration Tool (http://www.microsoft.com/downloads/details.aspx?FamilyID=E6851D23-D145-4DBF-A2CC -E0B4C6301453&displaylang=en) and attempt to wipe/delete/block that other iPhone.
    Message was edited by: ethanm

  • Problem sending email with Yahoo ISP

    All of a sudden today could not send emails (receive emails OK) on all 3 computers on two different sub accounts using the old flash.net ISP (Yahoo). I'm using Apple Mail 2.1. Called Yahoo and had to change the outgoing mail server from mail.flash.net to smtp.sbcglobal.net and all 3 computers were able to send mail again.
    Interestingly tried it on Entourage and didn't work. smtp.flash.yahoo.com worked for send email with Entourage. Didn't know the outgoing mail server was application dependent. Thought maybe this information would save sombody a call to yahoo. Terry
    Power Mac G4 1 GHz Dual   Mac OS X (10.4.8)  

    Interesting.
    A mail server is a mail server, is a mail server.
    Usually, the SMTP server config will either work or it won't.
    Interesting that your Mail.app needs one config, and entourage another.
    I'll bet entourage will need to have the new config soon, or there was something else borked on your Mail.app config.

  • Problem sending email with attachment by android

    Good Morning, I'm Luca.
    I have this problem:
    through a smartphone with Android system,
    synchronized via ActiveSync, the user
    is unable to send emails with attachments.
    While you can receive them and
    open them without problem.
    We have a server with Exchange 2010.
    Is there any authorization that I have to give
    you?
    Other devices, always with Android system,
    with other accounts of course,
    does not have the same problem.
    Thank you very much
    Best regards

    Luca, if one user is able to send attachments, the other should be able to as well.  However, if an attachment is too large, it won't be delivered.  
    Agreed, This does sound like a size limitation issue.
    Have the person try to send the same file from his outlook on his PC and see if he can send it out, that should be a good indication.

  • TS3276 I can send emails with Mail but can no longer receive them. Yet I haven't altered anything.  How do I solve this problem. Thanks

    I can send emails with Mail but can no longer receive them. Yet I haven't altered anything.  How do I solve this problem. Thanks

    Who is your email provider? Have you set up your account manually or was it set up automatically?

  • Problem sending emails with gmail on iPhone

    Everytime I send email with gmail on my iPhone. The message doesn't show up in the folder sent messages (only on the server). This never happens with my iCloud account or when I send email from Mail in osx. Does anyone have a solution for this?

    Take a look at this link, https://discussions.apple.com/message/21206691#21206691

  • How do I use my iPhone's hot spot to send email with Mail ?

    Hi,
    My land line is dead ... so no phone nor internet at home.  But I can use my iPhone'hot spot to get on the web from my iMac.  Great ... it works !
    Oups !   I cannot send email from my computer using my iPhone's hot spot with Mail.
    How do I do that ?
    Regards.
    Robert Lespérance

    Hi Templeton Peck,
    Thanks for droping in my thread ...
    Doesn't the fact that I can surf the web with my iPhone's hot spot and that I cannot use Mail normally has I normally do give you a clue what the problem could be ?
    What other information can I give you other than normally I can surf and send email with my regular ISP.  Now that my ISP is dead I am using my iPhone's hotspot to surf the web awaiting that my ISP's connoection returns. Surfing is OK but I cannot send emails with through Mail.
    When I want to send an email from my computer, I get a message asking me to select the the SMTP server.  Then I select my usual ISP server, but the message comes back telling me it does not work.
    Is there any other configuration to do ?

Maybe you are looking for