Sending Email from Web Dynpro

Hi,
I'am new in that business and have a simple question:
What is the easiest way to send emails from a web dynpro application to a specific (e.g. value of an input field in my application).
The only way I found was the "email - web service tutorial in the pdk).
Can anyone give me some code to solve this problem.
Thanx
christoph

Hi,
Sorry ! One sec! I will edit it and do it again !
          InitialContext ctx = new InitialContext();
          Properties props = new Properties();
          props.put("mail.smtp.host","Message server");
          Session sess = Session.getInstance(props);
          //Create new mime message object
          Message message = new MimeMessage(sess);
          message.setFrom(new InternetAddress(wdContext.currentContextElement().getFrom()));
          String recepient = wdContext.currentContextElement().getTo();
          message.setRecipient(Message.RecipientType.TO, new InternetAddress(recepient));
          String subject = wdContext.currentContextElement().getSubject();
          message.setSubject(subject);
          String content = wdContext.currentContextElement().getMessage();
          message.setContent(content,"text/plain");
          //Send the message
          Transport.send(message);
This should work.. (Some editing error while i was pasting it !)
Message was edited by: Bharathwaj R

Similar Messages

  • Sending paramters from Web dynpro to web services

    Hi,
    I need to send extra objects or paramters to my web service from web dynpro which are not part of user inputs. How can i achieve it? Iam new to web dynpro. pls help me with sample code.
    Thanks a lot in advance

    hello Sujesh,
    in webdynpro we import a webservice model. it contains all the necessary input parameters and u can pass value through it. i think u cannot pass extra objects or parameter other than these input parameters.
    can u make ur requirement much more clear.
    regards,
    Piyush.

  • Send Notification Email from Web Dynpro

    Hi, I'm creating a portal user from a web dynpro application but it is not sending the notification email to the user. On the other hand, when I create a user in the portal from the standard screens this e-mail is sent.
    Do I have to call some service to user the same notification email? or I will have to create my own web dynpro notification email?
    Thanks.

    Hi ,
    I guess its possible..check this link.
    http://help.sap.com/saphelp_nw04/helpdata/en/89/a91f40337d436aba318fb4920437db/frameset.htm
    Doing it in WD is also fine.. !
    Regards
    Bharathwaj

  • Sending email from web forms (Forms 6i)

    Does anyone know how to send email using Outlook from web forms? I can get it working with client server but not with web forms.
    Thanks,
    Darcea Klein
    null

    Many ways to send a email:
    1. use Web.Show_Document(v_url, '_blank') to call a .asp or .php or .cgi page which can send email, attaching some message.
    2. use utl_smtp built_in in Oracle 8i, you can save this procedure in database, then call this procedure in your web form.
    PROCEDURE SEND_EMAIL (sender IN VARCHAR2,
    recipient IN VARCHAR2,
    message IN VARCHAR2)
    IS
    mailhost VARCHAR2(30) := 'smtp.aaaaa.com';
    mail_conn utl_smtp.connection;
    BEGIN
    mail_conn := utl_smtp.open_connection(mailhost, 25);
    utl_smtp.helo(mail_conn, mailhost);
    utl_smtp.mail(mail_conn, sender);
    utl_smtp.rcpt(mail_conn, recipient);
    utl_smtp.data(mail_conn, message);
    utl_smtp.quit(mail_conn);
    -- Handle the error
    END;
    GOOD LUCK

  • How to use Yahoo or Gmail instead of Mail to send emails from Web Browser?

    When I'm on the web & want to send a web page or link as an email, how do I change the default so I can use either my Yahoo or Gmail email account?
    I don't want Apple Mail to open, but I want it sent from my internet email account.

    A rather primitive way to use GMail via browser, is to
    get a second browser for use with the web mail, & also
    get Google Notifier, so you can select GMail to run in a
    browser of your choice via Notifier.
    For mine, I use Camino, a decently quick and current
    browser; and have chosen it as the system Default
    browser (you can do that in Safari) so Camino opens
    if/when you click on something that needs a browser.
    Notifier can run in the main Menu bar, and does OK.
    As my systems all have at least four current browsers,
    and I often find my use centers around Firefox, the
    second browser used for web mail does not affect my
    use of the primary browser when doing online tasks.
    And I can hide the open web mail browser in the Dock.
    So, this is my primitive cure for using web mail via browser.
    This, due to the fact I never use any client Mail application.
    And when I leave my computer (it is left asleep) I am sure to
    use the Camino browser 'reset' command to wipe sessions.
    (If you have your computer set up to require a password to
    function on awakening from sleep, that can help keep it safe.)
    Not sure how you could handle Yahoo mail, probably with a
    login link in a browser, so you can click on it; or have the
    Yahoo login a home page in a limited-use secure browser.
    Probably there are other and better ideas; since I don't use
    an email client app and don't have email other than Gmail,
    this is a primitive way to make it work. Gmail Notifier is OK.
    Not sure how supportive it may be, but it works in 10.5.8.
    {And this allows one to choose an IP or other supplied email
    account via Mail, separate from the gmail accounts.}
    Good luck & happy computing!

  • Sending email from a dynpro?

    Hi,
    during a course of vocational training I have come across the challenge to send a newsletter, which should be done by clicking a button on a dynpro. I guess it can be done, but have no idea on the how.
    I'd appreciate any help on this topic.
    Best regards,
    Ulrich Waiditschka
    <i>Student of business IT</i>

    No problem.  Just add a button to the gui status of the dynpro,  in the PAI of your screen,  check for the FCODE that has been assigned to button. 
    save_ok = ok_code.
    case ok_code.
       when 'EMAIL'.
          clear ok_code.
          perform_send_newsletter.
    endcase.
    Here is an eample program, for sending an email with embedded HTML.
    report zrich_0002.
    data: maildata   like sodocchgi1.
    data: mailtxt    like solisti1 occurs 10 with header line.
    data: mailrec    like somlrec90 occurs 0  with header line.
    start-of-selection.
      clear:    maildata, mailtxt,  mailrec.
      refresh:  mailtxt, mailrec.
      perform build_text_message.
      perform build_receivers.
      perform send_mail_nodialog..
    *      Form  BUILD_TEXT_MESSAGE
    form build_text_message.
      maildata-obj_name = 'TEST'.
      maildata-obj_descr = 'Test Subject'.
      mailtxt  = '<html>'.
      append mailtxt.
      mailtxt  = '<head>'.
      append mailtxt.
      mailtxt  = '<title>Untitled Document</title>'.
      append mailtxt.
      mailtxt  = '<meta http-equiv="Content-Type" content="text/html;'.
      append mailtxt.
      mailtxt  = 'charset=iso-8859-1">'.
      append mailtxt.
      mailtxt  = '</head>'.
      append mailtxt.
      mailtxt  = '<body>'.
      append mailtxt.
      mailtxt  = '<div align="center"><em><font' .
      append mailtxt.
      mailtxt  = 'color="#0000FF" size="+7" face="Arial,'.
      append mailtxt.
      mailtxt  = 'Helvetica, sans-serif">THIS'.
      append mailtxt.
      mailtxt  = '  IS A TEST </font></em><font' .
      append mailtxt.
      mailtxt  = 'color="#0000FF" size="+7" face="Arial,'.
      append mailtxt.
      mailtxt  = 'Helvetica, sans-serif"></font>'.
      append mailtxt.
      mailtxt  = '</div>'.
      append mailtxt.
      mailtxt  = '</body>'.
      append mailtxt.
      mailtxt  = '</html>'.
      append mailtxt.
    endform.
    *      Form  BUILD_RECEIVERS
    form build_receivers.
    *  mailrec-receiver = '[email protected]'.
      mailrec-rec_type  = 'U'.
      append mailrec.
    endform.
    *      Form  SEND_MAIL_NODIALOG
    form send_mail_nodialog.
      call function 'SO_NEW_DOCUMENT_SEND_API1'
           exporting
                document_data              = maildata
                document_type              = 'HTM'
                put_in_outbox              = 'X'
           tables
                object_header              = mailtxt
                object_content             = mailtxt
                receivers                  = mailrec
           exceptions
                too_many_receivers         = 1
                document_not_sent          = 2
                document_type_not_exist    = 3
                operation_no_authorization = 4
                parameter_error            = 5
                x_error                    = 6
                enqueue_error              = 7
                others                     = 8.
      if sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      endif.
    endform.
    Welcome to SDN!.
    Regards,
    Rich Heilman

  • Send email from WDA

    Hi,
    I would like to send an email from Web dynpro ABAP.
    How can I proceed to do this ???
    Code samples are most welcome.
    Thx,
    Suba

    Hi RAM,
    If your problem is not solved yet then please use following code for ur reference. Its a running code for which i have used Thomas Jung's blog .
    Its very easy so just understand the code step by step.
    Here i am sending an internal table to a customer .
      DATA: l_text1  TYPE char255. " Text
      DATA: l_lines TYPE i,
            l_size  TYPE  sood-objlen. " Size of Attachment
      DATA lo_message_manager    TYPE REF TO if_wd_message_manager.
      DATA lo_api_controller     TYPE REF TO if_wd_controller.
      lo_api_controller ?= wd_this->wd_get_api( ).
      lo_message_manager = lo_api_controller->get_message_manager( ).
    * Mail related
      DATA: i_content TYPE   soli_tab, " Mail content
            i_attach  TYPE   soli_tab. " Attachment
      DATA: l_send_request    TYPE REF TO    cl_bcs,  " E-Mail Send Request
            l_document        TYPE REF TO    cl_document_bcs,  " E-Mail Attachment
            l_recipient       TYPE REF TO    if_recipient_bcs, " Distribution List
            l_sender          TYPE REF TO    if_sender_bcs,  " Address of Sender
            l_uname           TYPE           salrtdrcpt,  " Sender Name(SY-UNAME)
            l_bcs_exception   TYPE REF TO    cx_document_bcs, " BCS Exception
            l_addr_exception  TYPE REF TO    cx_address_bcs,  " Address Exception
            l_send_exception  TYPE REF TO    cx_send_req_bcs. " E-Mail sending Exception
    *        l_SO_OBJECT_MIME_GET type ref to SO_OBJECT_MIME_GET.
      DATA: l_recipient_soos  TYPE  soos1.
      DATA: lv_i_with_error_screen TYPE os_boolean.
      DATA: lv_result TYPE os_boolean.
      CONSTANTS: c_tab(1) TYPE c VALUE cl_abap_char_utilities=>horizontal_tab,  " Tab Character
                 c_cr(1)  TYPE c VALUE cl_abap_char_utilities=>cr_lf, " Line Feed for End-Of_line
                 c_ext    TYPE soodk-objtp VALUE 'XLS'. " XLS Extension
      DATA p_uname TYPE so_dir_ext .
      p_uname = 'sumit.goenka -avaya.co.in'.
    * Preparing body of the Mail
      MOVE 'Please execute the trade given in the attached excel file' TO l_text1.
      APPEND l_text1 TO i_content.
      MOVE '' TO l_text1.
      APPEND l_text1 TO i_content.
      MOVE '' TO l_text1.
      APPEND l_text1 TO i_content.
      MOVE 'Warm Regards SAP' TO  l_text1.
      APPEND l_text1 TO i_content.
    * Preparing contents of attachment with Change Log
      FIELD-SYMBOLS: <lfs_table> TYPE ANY,    " Internal table structure
                     <lfs_con> TYPE ANY.      " Field Content
      DATA: l_text TYPE char1024.    " Text content for mail attachment
      DATA: l_con(50) TYPE c.        " Field Content in character format
    * Columns to be tab delimeted
      LOOP AT detail ASSIGNING <lfs_table>.
        DO.
          ASSIGN COMPONENT sy-index OF STRUCTURE <lfs_table>
                 TO <lfs_con>.
          IF sy-subrc NE 0.
            CONCATENATE c_cr l_text INTO l_text.
            APPEND l_text TO i_attach.
            EXIT.
          ELSE.
            CLEAR: l_con.
            MOVE <lfs_con> TO l_con.
            CONDENSE l_con.
            IF sy-index = 1.
              CLEAR: l_text.
              MOVE l_con TO l_text.
            ELSE.
              CONCATENATE l_text l_con INTO l_text
                 SEPARATED BY c_tab.
            ENDIF.
          ENDIF.
        ENDDO.
      ENDLOOP.
    * Creates persistent send request
      TRY.
          l_send_request = cl_bcs=>create_persistent( ).
    * Creating Document
          l_document = cl_document_bcs=>create_document(
                                        i_type  = 'RAW'
                                        i_text  = i_content[]
                                        i_subject = 'Buy / Sell Order' ).
          DESCRIBE TABLE detail LINES l_lines.
    * Size to multiplied by 2 for UNICODE enabled systems
          l_size = l_lines * 2 * 255.
    * Adding Attachment
          CALL METHOD l_document->add_attachment
            EXPORTING
              i_attachment_type    = c_ext
              i_attachment_size    = l_size
              i_attachment_subject = 'Buy Sell Order Detail'
              i_att_content_text   = i_attach[].
    * Add document to send request
          CALL METHOD l_send_request->set_document( l_document ).
    * Get Sender Object
          l_uname = sy-uname.
          l_sender = cl_sapuser_bcs=>create( l_uname ).
          CALL METHOD l_send_request->set_sender
            EXPORTING
              i_sender = l_sender.
    * E-Mail
          TRANSLATE p_uname TO UPPER CASE.
          l_recipient_soos-recesc = 'U'.
          l_recipient_soos-recextnam = p_uname.
    * Preparing recepient from SAP Logon Name
          CALL METHOD cl_send_request_bcs=>create_recipient_from_soos1
            EXPORTING
              i_soos1 = l_recipient_soos
            RECEIVING
              result  = l_recipient.
    * Add Recipient
          CALL METHOD l_send_request->add_recipient
            EXPORTING
              i_recipient  = l_recipient
              i_express    = 'U'
              i_copy       = ' '
              i_blind_copy = ' '
              i_no_forward = ' '.
    *Trigger E-Mail immediately
          l_send_request->set_send_immediately( 'X' ).
          CALL METHOD l_send_request->send( lv_result ).
          IF lv_result IS INITIAL.
    *       *    report message
            CALL METHOD lo_message_manager->REPORT_SUCCESS
              EXPORTING
                message_text = 'Mail sent successfully '.
          ENDIF.                                                              .
          COMMIT WORK.
        CATCH cx_document_bcs INTO l_bcs_exception.
        CATCH cx_send_req_bcs INTO l_send_exception.
        CATCH cx_address_bcs  INTO l_addr_exception.
      ENDTRY.
    if any doubt please ask.
    regards
    panky

  • Error when sending email from a web application that runs on GlassFish

    Hello all, I hope some can give me some hints on how to fix this problem.
    I have a web application built in Java that runs on GlassFish v3.
    The application uses a mail plugin that makes use of mail.jar
    Whenever I try to use the plugin to send an email out I get an error.
    The application is programmed to send emails from a gmail account, and I believe there is a problem with the SSL version that Googlemail is expecting.
    By the way, everything works fine if I run the web app on other servers like Jetty or Apache.
    The stacktrace I get from the log when the error occurs is as follows:
    INFO: 2009-05-08 19:48:57,500 [httpWorkerThread-8080-0] ERROR errors.GrailsExceptionResolver - org.springframework.mail.MailSendException: Mail server connection failed; nested exception is javax.mail.MessagingException: Could not connect to SMTP host: smtp.gmail.com, port: 465;
    nested exception is:
    java.net.SocketException: java.security.NoSuchAlgorithmException: Error constructing implementation (algorithm: Default, provider: SunJSSE, class: com.sun.net.ssl.internal.ssl.DefaultSSLContextImpl)
    org.codehaus.groovy.runtime.InvokerInvocationException: org.springframework.mail.MailSendException: Mail server connection failed; nested exception is javax.mail.MessagingException: Could not connect to SMTP host: smtp.gmail.com, port: 465;
    nested exception is:
    java.net.SocketException: java.security.NoSuchAlgorithmException: Error constructing implementation (algorithm: Default, provider: SunJSSE, class: com.sun.net.ssl.internal.ssl.DefaultSSLContextImpl)
    at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:431)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:337)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:218)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:250)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:218)
    at org.apache.catalina.core.ApplicationDispatcher.doInvoke(ApplicationDispatcher.java:883)
    at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:732)
    at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:554)
    at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:485)
    at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:377)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:250)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:218)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:250)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:218)
    at org.jsecurity.web.servlet.JSecurityFilter.doFilterInternal(JSecurityFilter.java:382)
    at org.jsecurity.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:180)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:250)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:218)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:250)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:218)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:250)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:218)
    at org.apache.catalina.core.StandardWrapperValve.preInvoke(StandardWrapperValve.java:460)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:139)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:186)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:719)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:657)
    at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:96)
    at com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:98)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:187)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:719)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:657)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:651)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1030)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:142)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:719)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:657)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:651)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1030)
    at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:325)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:242)
    at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:180)
    at com.sun.grizzly.http.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:633)
    at com.sun.grizzly.http.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:570)
    at com.sun.grizzly.http.DefaultProcessorTask.process(DefaultProcessorTask.java:827)
    at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:152)
    at com.sun.enterprise.v3.services.impl.GlassfishProtocolChain.executeProtocolFilter(GlassfishProtocolChain.java:71)
    at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:103)
    at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:89)
    at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:76)
    at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:67)
    at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:56)
    at com.sun.grizzly.util.WorkerThreadImpl.processTask(WorkerThreadImpl.java:325)
    at com.sun.grizzly.util.WorkerThreadImpl.run(WorkerThreadImpl.java:184)
    Any help would be really appreciated... honestly I'm pretty stuck.
    Alex

    Hi Alex,
    Since I had a Gmail test servlet kicking around, I ran it on the latest V3 nightly build.
    On the first run, I encountered the following nested exceptions:
    javax.mail.MessagingException: Could not connect to SMTP host: smtp.gmail.com, port: 465
    --> java.net.SocketException: java.security.NoSuchAlgorithmException: Error constructing implementation (algorithm: Default, provider: SunJSSE, class: com.sun.net.ssl.internal.ssl.DefaultSSLContextImpl)
        --> java.security.NoSuchAlgorithmException: Error constructing implementation (algorithm: Default, provider: SunJSSE, class: com.sun.net.ssl.internal.ssl.DefaultSSLContextImpl)
            --> java.security.UnrecoverableKeyException: Password must not be nullThe UnrecoverableKeyException is a manifestation of [https://glassfish.dev.java.net/issues/show_bug.cgi?id=6938|https://glassfish.dev.java.net/issues/show_bug.cgi?id=6938]
    I worked around this by adding the following JVM config options to domain.xml
    <jvm-options>-Djavax.net.ssl.keyStorePassword=changeit</jvm-options>
    <jvm-options>-Djavax.net.ssl.trustStorePassword=changeit</jvm-options> (Note: the default master password is "changeit")
    These lines are placed in /domain/configs/config/java-config of domain.xml for the particular server config you're using. There's only one server config in the default domain.xml shipped with V3. Then restart the server.
    I retested the code on both port 465 and 587, with and without the above config changes. Without the change, they both fail the same way, and with the change, they both work. Let me know if this helps.
    -Peter

  • How do I set a new account as default in safari when I send emails from a web page

    how do I set a new account as default in safari when I send emails from a web page
    thanks in advance

    In the Composing pane of Mail's preferences window, look for the pop-up menu labeled "Send new messages from." Select the desired account there.
    Note, though, that this won't change the behavior when replying to a message... in that case, the reply will be sent from the account that received the message, unless you specify differently at that time.

  • I have snow leopard.  Using iCloud, I an receive mail on my mac, but suddenly, I am no longer able to send email from the mac.  I can still send it from the icloud web site.  How do I regain the ability to send email from the mac?

    I have snow leopard.  Using iCloud, I can receive email on my mac, but, suddenly, I am no longer able to send email from the mac.  I can send it from iCloud online.  Any thoughts on how to regain the abilty to send email from my mac?  Thanks.

    Install ClamXav and run a scan with that. It should pick up any trojans.   
    17" 2.2GHz i7 Quad-Core MacBook Pro  8G RAM  750G HD + OCZ Vertex 3 SSD Boot HD 
    Got problems with your Apple iDevice-like iPhone, iPad or iPod touch? Try Troubleshooting 101

  • Cannot send email from iPad & iPhone with Virgin Media

    I cannot send emails from my iPad and iPhone. I have a virginmedia.com address and I can receive but just cannot send. A message keeps saying the smpt settings are wrong. However, I have followed the tutorial on Virgin Media web site (this is how I managed to start receiving emails on my devices) but still not sending. I have looked at the settings in my MacBook Pro and all seem to be correct. Does anyone have an idea what could be wrong? I had a similar problem when I loaded Microsoft Office 365 for Mac; I had to end up calling Virgin Media (useless) and then Microsoft (useful). Anyhow I have looked at the settings on the Mac and they all seem to correspond with the ipad and iphone but still cannot send emails. V V Frustrated.
    Thanks for reading.

    Then make sure that the settings are correct in your email account.
    Check the outgoing mail server setting. Make sure that your username and password are in there.
    Settings>Mail, Contacts, Calendars>Your email account>Account>Outgoing mail server - tap the server name next to SMTP and check in the primary server and make sure your username and password are entered and correct - even if it says that the password is optional.

  • Still cannot send email from icloud .me address

    hi. does anybody knows why i cannot send email from my ipad (ios 5.0.1) icloud me.com account? i can recieve but i cannot send. on my mac (lion) it works perfectly. the message i get is "the sender address .mac.com was rejected by the server". mac.com ?? but i use my me.com address. any ideas pls?
    thank you

    I have been having the same problems for the last two days now.  It won't let me send, but it will let me save it to my drafts folder.  I even tried opening the e-mail form my iPhone 5 and it won't let me send it there either.  The last two times i ended up copying the contents from my failed e-mail on my phone and pasting that into a new e-mail and that works.  I normally use the icloud web app to reply to e-mails when i'm at work (using win 7) and it is very frustrating. 

  • Can not send email from Mac, iPhone, or iPad using mail using iCloud.

    I can send email from the icloud web page but I get error messages that the icloud outgoing server is not recongized when I send email from my iphone, ipad and Mac mail.  I can receive icloud email okay on all devices.  I have manully setup a icloud server per instructions on icloud support page for mail's outgoing server name.  It still is not recongized.

    I found a work around that works.   Got to Settings...Icloud....account......advanced....outgoing mail server.....
    Add an "other" server.
    Host Name p01-smtp.mail.me.com
    Put in your me.com email address as username and your Apple ID password
    SSL is on
    Authentication is password
    Server port 587
    This worked for me.....I will use this until the bug is fixed.     Don't make this server your primary.   Leave it in "on" status in the other category.
    Good luck

  • How can I use my iPhone'hot spot to send email from my computer ?

    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 iCare,
    Thanks for helping ...   All that configuration is already done.  I am able to surf the web from my computer using my iPhone's hotspot.
    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 ?

  • How do I fix Mail in Snow Leopard where I cannot send emails from my account to another account I've set up in Mail, but the reverse works fine?

    I have a problem with Mail in Snow Leopard in that I cannot set up two email accounts for myself and my wife with the same ISP and have them operate properly.  I've set up the accounts in strict accordance with my ISP's instructions for setting up email accounts on Mac Mail but I cannot send an email from my account to my wife's without a drop-down message appearing that Mail 'cannot send the email from this server.  Please edit the server list'.  No amount of tweaking appears to work.  Applecare consultants have so far been unable to get it to work and a recent visit to the local Genius Bar in the Apple Store was fruitless also.  My ISP's help line was unable to solve the problem even with a supervisor level consultant.  The ISP concluded it was some kind of 'bug' in Mail.
    I could send emails from my wife's account to mine, but not vice versa; I could send emails to other addresees without any problem and I can send emails from my account to my wife's using the ISP's webmail.
    Does anyone please have a solution to my problem?  At the moment we're operating one account (mine) on my Macbook and my wife's is set up on her iPad2.  As we prefer to use the Macbook for storage and (using Time Machine) for back-up of our data, the two accounts on separate machines is a nuisance.
    Another factor is that I prefer to control when I download emails and set my preferences accordingly.  One of the so-called 'fixes' that were tried wound up downloading emails regardless of settings, even after removing my wife's account; the matter was remedied only after I had removed all accounts form Mail and started afresh from scratch.

    You'll have to pardon my ignorance of some  computer terminology; I'm a retired manager and not a computer technician, hence my muddling up of client and server terminology.
    Re your comment about Port 339: I did qualify this with (?).  As I wrote, it all happened at lightining speed and the guy at the Genius Bar didn't bother explaining what he was doing.  Port designation contained 3s and 9s to the best of my recollection.
    That said, you seem to be spot on re setting up a 'dummy' client in Mail.  I set it up as you suggested and I can send to and receive from this client without a problem.  You appear to have identified the solution, notwithstanding the claims of the ISP's 'experts'.
    The next problem I have now is sorting out my wife's mailbox that is so troublesome whenever I set it up on Mail.
    All the other set-up advice to date yielded a similar result; inability to send from my account to her inbox.  Perhaps deleting her details from the account altogether and setting them up again from scratch may be the solution and I shall try that in due course.  The impediment that I have with this at the moment is that my ISP admits that it has 'a technical problem with its email servers' and some of its related web pages that prevent my doing this myself.  I will have to go through the telephone 'help' line and ask the technician to set it up at their end on my instructions.  This has some disadvantages in that I have to divulge the password to the account to the operator rather than keeping it anonymous by doing it on-line.   You may have solved the problem, but until I can successfully sort out a working mailbox for my wife i cannot definitively say so.
    Many thanks for your perseverance.  You've made more sense than anyone else so far and that deserves some points, surely?

Maybe you are looking for

  • How can I delete a reacurring calendar event from my iPhone 4?

    I recently started at a new company and of course I set up my iphone to sync with my corprate email. Everything works fine accept one thing. A few weeks make a got an Outlook reaccuring request for confrence calls on Thursdays. I accepted the invite.

  • Can't print on my all-in-one 6413 two consecutive prints.

    The printer is connected to a wireless router with a network cable. I'm printing from a Windows 7 laptop connected wirelessly to the router, no security key only MAC address. No problems when surfing. Every time I send a print or more than one I have

  • Connecting laptop to monitor/TV and image is not full screen

    I tried to connect my hp stream 11-d010ca to my monitor and my laptop via HDMI but could not get the image to appear "full screen". The picture is being duplicated fine but is only being shown in the centre of the screen and the image is not being st

  • Calendar sync issues between iphone and icloud

    My Iphone5 "phone' calendar does not seem to sync with Icloud calendars. Icloud carries home and work calendars which are also on my phone but not my "phone" calendar

  • "Cannot save alias" error message

    I am trying to create an alias and the message that pops up is "Cannot save alias." What does this mean? It doesn't say that the alias is unavailable. I've been getting this error message since I migrated from MobileMe, which was over 6 months ago. I