Email settings problem; error sending activation email

Hi there 
Hope everyone is doing well
I am having some problems with my latest user registration pages for my site
I am havving problems sending the
activation email
I have set up my server to relay emails and it works ok      I use a linux server and  cpenel and outlook expres as my mail client...... I configured an email account in my cpanel called     admin @mysite.com      I used the automatic configure outlook express to configure outlook    
   I can send and recieve emails to and from my Yahoo account using my yahoo adress to [email protected]     and I can send emails from outlook ex using     [email protected]     to my yahoo email
I then created the user registration pages for my site with email activation .........
All wen well then I tried to test and got the following error ....
Developer Details:
E-mail couldn't be sent. Error returned: Failed to connect to mail.mysite.com:25 [SMTP: Failed to connect socket: Connection timed out (code: -1, response: )]. (EMAIL_FAILED)
So I looked at my email settings in my control panel........      I have tried every possible combination of information to get it to work and I still get the same error
I have tried     
mail server      mail.mysite.com                                    This is the same info that is described in the manual settings for my email config in cpanel
          port       25
   username     [email protected]                               This is the email account I set up in cpanel    web mail
   password      **********
default sender  [email protected] 
This is the same info that is described in the manual settings for my email config in cpanel 
This is the email account I set up in cpanel    web mail         
I have changed all the information Mannnnnnny times for hours and hours and still no luck
I have tried      mail server =     mail.mysite.com , my mail server IP address , www.mysite.com . etc etc etc
I have tried to     username / paassword        the cpanel username & password    /    my email account username and password ... etc etc etc
nothing works
I can find nothing to help at all on the net
I did read that the settings should be exactly the same as the working settings from outlook express....... so I checked the settings in outlook express, that work, and put all the same settings in my email settings in ADDT control panel .....
And it still does not work
I still get the same error
The  strange thing is that I can send and recieve email from outlook using the email [email protected] , using the mail server    mail.mysite.com
but when I use exactly the same info in addt I get the error
Is driving me crazy
Can someone please tell me the correct information to fill in on my email settings ......?    in detail ........
I have read the help documentation and  is no help at all
I am lost
Any help would be great
Have a great day
oh one thing........ any idea why you cannot search withing forum topics anymore ...... ?
Cheers

So Mysite is your ISP.  They should be able to describe on their website what settings you need.
(1) Mail Server - the name of their mail server ([email protected]?)
(2) Port - you may need to specify the actual port to be used, I know I do.
(3) Username - The user name you use when you log into your Mysite account
(4) Password - The password you use
Both username and password are case sensitive.
This information should be on one of their admin pages for explanation.
Sorry, this may not help you much.

Similar Messages

  • Problem when send an email with mail client!

    Hi!
    My mail server have MTA front end and Message Store back end with version:
    ./imsimta version
    Sun Java(tm) System Messaging Server 7u2-7.02 64bit (built Apr 16 2009)
    libimta.so 7u2-7.02 64bit (built 02:28:03, Apr 16 2009)
    Using /opt/sun/comms/messaging64/config/imta.cnf (compiled)
    SunOS SMSG 5.10 Generic_139556-08 i86pc i386 i86pcMy users and I are having problem following: Send an email very slow, mail client is connected to front end but mail is not delivered, after that, I stop and resend this email several times then it is can delivered. While the mail was not send, i can telnet to front end with port 25. My users and I are using Thunderbird and Microsoft Outlook. What is problem on my mail server ?
    I see time on MTA front end and Message Store are not synchronized, maybe this could be the problem?
    Thanks!

    NguyenPhuc wrote:
    Are you using any kind of MTA spam filter plugin?I removed plugin spam filter, now on MTA server don't have plugin spam or virus !Are you saying you did have a spam filter plugin enabled (if so which one(s)) and you have just disabled it?
    Are you receiving an excessive number of emails?No, total of number messages in my mailbox is about 1000 emails.I meant is the MTA receiving a large number of emails -- i.e. do you see a lot of emails coming in (mail.log_current)?
    Also try the following and see where the delay in accepting emails occurs:
    telnet <mta> 25
    mail from: [email protected]
    rcpt to: [email protected]
    data
    Subject: test email
    To: [email protected]
    From: [email protected]
    body
    .e.g.
    -bash-3.00# telnet server 25
    Trying 10.15.10.33...
    Connected to server.aus.sun.com.
    Escape character is '^]'.
    220 server.aus.sun.com -- Server ESMTP (Sun Java(tm) System Messaging Server 7u3-16.01 64bit (built Apr  6 2010))
    mail from: [email protected]
    250-2.5.0 No HELO/EHLO seen; continuing anyway, [10.15.10.33].
    250 2.5.0 Address Ok.
    rcpt to: [email protected]
    250 2.1.5 [email protected] OK.
    data
    354 Enter mail, end with a single ".".
    To: [email protected]
    From: [email protected]
    body
    250 2.5.0 Ok, envelope id [email protected]
    quit
    221 2.3.0 Bye received. Goodbye.
    Connection to server.aus.sun.com closed by foreign host.Regards,
    Shane.

  • Re-Send Activation Email

    Dear Adobe or Anyone who can help,
    Why did Adobe not create a re-send activation email function? I am not a coder more of a learner and I can not find any information to help with an automated reseponse to when people don't receive their activation email.
    This means I have to delete them from the DB and let them know they can try again.
    This must be such a simple thing to create but no information regarding this to help.
    As there is already a Forgot Password there must be a simple way to create a Not got/received Activation Email to re-send it again.
    Someone PLEASE help...................................
    Cheers,
    Joe

    This is not a trivial function; there's several steps to take.
    At registration, you have to check to make sure the confirmation email was
    sent; if not, you have to delete the database entry for that registrant so
    he can try again.
    If the registrant needs another confirmation email, you have to check to see
    if he has even registered; if not, provide a link to the registration page.
    If he has registered and confirmed, you have to provide a link to the LOST
    PASSWORD function.
    If he has registered and not confirmed, then and only then do you send him
    another activation/confirmation email.

  • HAVE A PROBLEM WHEN SENDING AN EMAIL IT STATES IT DOES NOT ALLOW RELAYING

    HAVE A PROBLEM WHEN SENDING AN EMAIL IT STATES IT DOES NOT ALLOW RELAYING

    You have either entered the wrong SMTP server info or they have blocked the sending of e-mails from outside their network. That message indicates that you are not permitted to send through that server from the network you are using to connect.
    Contact them again. There is no magic that will allow you to bypass this.

  • HT201320 I am having trouble with my wife's new iPhone 5s. She can receive her telus email but can not send any email what did I do wrong in setting up her account?

    I am having trouble with my wife's new iPhone 5s. She can receive her telus email but can not send any email what did I do wrong in setting up her account on her iPhone? I tried to just copy the info from her old iPhone.

    The sending of email is accomplished via the SMTP server. Take a moment to get back into Settings>Mail, contacts, calendars and select the account. Go to the SMTP server and check to make sure that username and password are entered in all of the appropriate places. If you cannot get it to work after trying to just change those settings, remove the account from the phone and recreate it. When recreating, make sure you enter the username and password in every location, even if the phone says optional. Make sure you have the settings from either the email provider or from the other device. Make sure that SSL is on or off as necessary.

  • Verizon email settings ( outgoing ) cannot send.

    IMS:
    incoming.verizon.net
    OMS (SMTP):
    outgoing.verizon.net
    SSL checked
    Incoming (POP 3) 995
    Outgoing (SMTP) 465
    Server Timeout (Increased to) 3min40sec
    Receive email is fine, however send is not working at all. I rebuilt the accounts and the same applies. I disabled email virus protection temporarily and the problem persists. I changed my router settings from high to medium then to low and the same problem again. So Verizon after doing all of my troubleshooting that your site suggests and from others as well, tell me why this is going on and not with a canned response.

    SubSession wrote:
    IMS:
    incoming.verizon.net
    OMS (SMTP):
    outgoing.verizon.net
    SSL checked
    Incoming (POP 3) 995
    Outgoing (SMTP) 465
    Server Timeout (Increased to) 3min40sec
    Receive email is fine, however send is not working at all. I rebuilt the accounts and the same applies. I disabled email virus protection temporarily and the problem persists. I changed my router settings from high to medium then to low and the same problem again. So Verizon after doing all of my troubleshooting that your site suggests and from others as well, tell me why this is going on and not with a canned response.
    What error are you getting when attempting to send?
    If a forum member gives an answer you like, give them the Kudos they deserve. If a member gives you the answer to your question, mark the answer as Accepted Solution so others can see the solution to the problem.
    "All knowledge is worth having."

  • Justhost email settings problem

    I just can't get my macbook pro to send emails via my Justhost server. i have no problem on windows and ios devices.
    Ive tried SSL and non-SSL settings. I can receive emails fine.
    Graham

    Hi, It appears my server is filtering my outgoing emails. I've opened a ticket with them and they have said the issue is at their end.
    Mant thanks
    Graham

  • Problems with send receive Email ( Adobe Interactive)

    I have heard the E-Learning(Send, Receive, and Process Interactive Forms via Email in SAP NetWeaver Application Server ABAP (RIG session 4A)
    ) about this topic on this webpage but i still have to many problems. Can somebody give me a source code, that i know how this works. Or is there a source code anywhere in the sap?
    I hope anybody can help me, Thanks!

    Thanks. I have written Programm, but it does not work as i want it to do. I will send an Email with attached Adobe Interactive Firm to [email protected]. I tried it with "*lo_recipient = cl_sapuser_bcs=>create( sy-uname )" at the marked(bold, fat) position. It worked but the Email was send to my SAP-Account, but i want to send to [email protected], so I tried this (see at code in bold, fat):
    lo_rec TYPE adr6-smtp_addr VALUE '[email protected]'.   " Empfänger Receiver
    lo_recipient = cl_cam_address_bcs=>create_internet_address( lo_rec ).
    But it doens`t send the email.
    Can anybody help me please???
    Kevin
    Here my Code:
          Report FP_EXAMPLE_01
          Printing of documents using PDF based forms
    REPORT z_example_02.
    Data declaration
    DATA: carr_id TYPE sbook-carrid,
          customer          TYPE scustom,
          bookings          TYPE ty_bookings,
          connections       TYPE ty_connections,
          fm_name           TYPE rs38l_fnam,
          fp_docparams      TYPE sfpdocparams,
          fp_outputparams   TYPE sfpoutputparams,
          error_string      TYPE string,
          l_booking         TYPE sbook,
          t_sums            TYPE TABLE OF sbook,
          l_sums            LIKE LINE OF t_sums,
          fp_formoutput     TYPE fpformoutput.
    PARAMETER:      p_custid TYPE scustom-id DEFAULT 38.
    SELECT-OPTIONS: s_carrid FOR carr_id     DEFAULT 'AA' TO 'ZZ'.
    PARAMETER:      p_form   TYPE tdsfname   DEFAULT 'FP_EXAMPLE_01'.
    PARAMETER:      language    TYPE sfpdocparams-langu   DEFAULT 'E'.
    PARAMETER:      country  TYPE sfpdocparams-country DEFAULT 'US'.
    Get data from the following tables: scustom(Flight customer)
                                        sbook  (Single flight reservation)
                                        spfli  (Flight plan)
    SELECT SINGLE * FROM scustom INTO customer WHERE id = p_custid.
    CHECK sy-subrc = 0.
    SELECT * FROM sbook INTO TABLE bookings
             WHERE customid = p_custid
             AND   carrid   IN s_carrid
             ORDER BY PRIMARY KEY.
    SELECT * FROM spfli INTO TABLE connections
             FOR ALL ENTRIES IN bookings
             WHERE carrid = bookings-carrid
             AND   connid = bookings-connid
             ORDER BY PRIMARY KEY.
    Print data:
    First get name of the generated function module
    CALL FUNCTION 'FP_FUNCTION_MODULE_NAME'
      EXPORTING
        i_name     = p_form
      IMPORTING
        e_funcname = fm_name.
    IF sy-subrc <> 0.
      MESSAGE e001(fp_example).
    ENDIF.
    Set output parameters and open spool job
    fp_outputparams-nodialog = 'X'.    " suppress printer dialog popup
    fp_outputparams-getpdf  = 'X'.    " launch print preview
    CALL FUNCTION 'FP_JOB_OPEN'
      CHANGING
        ie_outputparams = fp_outputparams
      EXCEPTIONS
        cancel          = 1
        usage_error     = 2
        system_error    = 3
        internal_error  = 4
        OTHERS          = 5.
    Set form language and country (->form locale)
    fp_docparams-langu   = language.
    fp_docparams-country = country.
    *fp_docparams-fillable = 'X'.
    *fp_docparams-langu   = 'E'.  "wird jetzt automatisch gesetzt, bzw. kann dynamisch verändert werden
    *fp_docparams-country = 'GB'. "wird jetzt automatisch gesetzt, bzw. kann dynamisch verändert werden
    currency key dependant summing
    LOOP AT bookings INTO l_booking.
      l_sums-forcuram  = l_booking-forcuram.
      l_sums-forcurkey = l_booking-forcurkey.
      COLLECT l_sums INTO t_sums.
    ENDLOOP.
    Now call the generated function module
    CALL FUNCTION fm_name
      EXPORTING
        /1bcdwb/docparams  = fp_docparams
        customer           = customer
        bookings           = bookings
        connections        = connections
        t_sums             = t_sums
      IMPORTING
        /1bcdwb/formoutput = fp_formoutput
      EXCEPTIONS
        usage_error        = 1
        system_error       = 2
        internal_error     = 3
        OTHERS             = 4.
    IF sy-subrc <> 0.
      CALL FUNCTION 'FP_GET_LAST_ADS_ERRSTR'
        IMPORTING
          e_adserrstr = error_string.
      IF NOT error_string IS INITIAL.
        we received a detailed error description
        WRITE:/ error_string.
        EXIT.
      ELSE.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    ENDIF.
    Close spool job
    CALL FUNCTION 'FP_JOB_CLOSE'
      EXCEPTIONS
        usage_error    = 1
        system_error   = 2
        internal_error = 3
        OTHERS         = 4.
    IF sy-subrc <> 0.
      MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
              WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ENDIF.
    *********************Send the form*******************
    *********************to the Customer*****************
    *********************via Email***********************
    *IF i_down = abap_true.
    DATA: filename TYPE string,
            path TYPE string,
            fullpath TYPE string,
            default_extension TYPE string VALUE 'PDF'.
    Data:
    lt_att_content_hex TYPE solix_tab.
    *DATA: data_tab TYPE TABLE OF x255.
    CALL FUNCTION 'SCMS_XSTRING_TO_BINARY'
      EXPORTING
        buffer     = fp_formoutput-pdf
      TABLES
        binary_tab = lt_att_content_hex.
    CLASS cl_bcs DEFINITION LOAD.
    DATA:
    lo_send_request TYPE REF TO cl_bcs VALUE IS INITIAL.
    lo_send_request = cl_bcs=>create_persistent( ).
    DATA:
    lt_message_body TYPE bcsy_text VALUE IS INITIAL.
    DATA: lo_document TYPE REF TO cl_document_bcs VALUE IS INITIAL.
    APPEND 'Dear Vendor,' TO lt_message_body.
    APPEND ' ' TO lt_message_body.
    APPEND 'Please fill the attached form and send it back to us.'
    TO lt_message_body.
    APPEND ' ' TO lt_message_body.
    APPEND 'Thank You,' TO lt_message_body.
    lo_document = cl_document_bcs=>create_document(
    i_type = 'RAW'
    i_text = lt_message_body
    i_subject = 'Vendor Payment Form' ).
    DATA: lx_document_bcs TYPE REF TO cx_document_bcs VALUE IS INITIAL.
    TRY.
        lo_document->add_attachment(
        EXPORTING
        i_attachment_type = 'PDF'
        i_attachment_subject = 'Vendor Payment Form'
        i_att_content_hex = lt_att_content_hex ).
    CATCH cx_document_bcs INTO lx_document_bcs.
    ENDTRY.
    lo_send_request->set_document( lo_document ).
    DATA:
    lo_sender TYPE REF TO if_sender_bcs VALUE IS INITIAL,
    lo_send TYPE adr6-smtp_addr VALUE '[email protected]'.   "Absender SENDER
    lo_sender = cl_cam_address_bcs=>create_internet_address( lo_send ).
    Set sender
    lo_send_request->set_sender(
    EXPORTING
    i_sender = lo_sender ).
    Create recipient
    DATA:
    lo_recipient type ref to if_recipient_bcs value is initial.
    Data:
    lo_rec TYPE adr6-smtp_addr VALUE '[email protected]'. " Empfänger Receiver
    lo_recipient = cl_cam_address_bcs=>create_internet_address( lo_rec ).
    *lo_recipient = cl_sapuser_bcs=>create( sy-uname ).
    Set recipient
    lo_send_request->add_recipient(
    EXPORTING
    i_recipient = lo_recipient
    i_express = 'X' ).
    *lo_send_request->add_recipient(
    *EXPORTING
    *i_recipient = lo_recipient
    *i_express = 'X' ).
    Send email
    DATA: lv_sent_to_all(1) TYPE c VALUE IS INITIAL.
    lo_send_request->send(
    EXPORTING
    i_with_error_screen = 'X'
    RECEIVING
    result = lv_sent_to_all ).
    COMMIT WORK.
    MESSAGE 'The payment form has been emailed to the Vendor' TYPE 'I'.

  • Verizon Email Problem, cannot send to email address with new gTLD

    I found out that Verizon Email system does not allow me to send any emails to those new domains with more than 3 characters in their last portion. e.g. [email protected] 
    How to report this problem?

    dnwklin03 wrote:
    I found out that Verizon Email system does not allow me to send any emails to those new domains with more than 3 characters in their last portion. e.g. [email protected] 
    How to report this problem?
    1. I've never seen that happen. Could you copy the error you're getting? I'd like to try to duplicate it for my own edification.
    2. You report it by contacting Verizon tech support. There are options on their Contact Us page in the footer.
    If a forum member gives an answer you like, give them the Kudos they deserve. If a member gives you the answer to your question, mark the answer as Accepted Solution so others can see the solution to the problem.
    "All knowledge is worth having."

  • Problem by  Sending an Email with attached Adobe Interactive Form (Code)

    Thanks. I have written Programm, but it does not work as i want it to do. I will send an Email with attached Adobe Interactive Firm to [email protected]. I tried it with "*lo_recipient = cl_sapuser_bcs=>create( sy-uname )" at the marked(bold, fat) position. It worked but the Email was send to my SAP-Account, but i want to send to [email protected], so I tried this (see at code in bold, fat):
    lo_rec TYPE adr6-smtp_addr VALUE '[email protected]'. " Empfänger Receiver
    lo_recipient = cl_cam_address_bcs=>create_internet_address( lo_rec ).
    But it doens`t send the email.
    Can anybody help me please???
    Kevin
    Here my Code:
    Report FP_EXAMPLE_01
    Printing of documents using PDF based forms
    REPORT z_example_02.
    Data declaration
    DATA: carr_id TYPE sbook-carrid,
    customer TYPE scustom,
    bookings TYPE ty_bookings,
    connections TYPE ty_connections,
    fm_name TYPE rs38l_fnam,
    fp_docparams TYPE sfpdocparams,
    fp_outputparams TYPE sfpoutputparams,
    error_string TYPE string,
    l_booking TYPE sbook,
    t_sums TYPE TABLE OF sbook,
    l_sums LIKE LINE OF t_sums,
    fp_formoutput TYPE fpformoutput.
    PARAMETER: p_custid TYPE scustom-id DEFAULT 38.
    SELECT-OPTIONS: s_carrid FOR carr_id DEFAULT 'AA' TO 'ZZ'.
    PARAMETER: p_form TYPE tdsfname DEFAULT 'FP_EXAMPLE_01'.
    PARAMETER: language TYPE sfpdocparams-langu DEFAULT 'E'.
    PARAMETER: country TYPE sfpdocparams-country DEFAULT 'US'.
    Get data from the following tables: scustom(Flight customer)
    sbook (Single flight reservation)
    spfli (Flight plan)
    SELECT SINGLE * FROM scustom INTO customer WHERE id = p_custid.
    CHECK sy-subrc = 0.
    SELECT * FROM sbook INTO TABLE bookings
    WHERE customid = p_custid
    AND carrid IN s_carrid
    ORDER BY PRIMARY KEY.
    SELECT * FROM spfli INTO TABLE connections
    FOR ALL ENTRIES IN bookings
    WHERE carrid = bookings-carrid
    AND connid = bookings-connid
    ORDER BY PRIMARY KEY.
    Print data:
    First get name of the generated function module
    CALL FUNCTION 'FP_FUNCTION_MODULE_NAME'
    EXPORTING
    i_name = p_form
    IMPORTING
    e_funcname = fm_name.
    IF sy-subrc <> 0.
    MESSAGE e001(fp_example).
    ENDIF.
    Set output parameters and open spool job
    fp_outputparams-nodialog = 'X'. " suppress printer dialog popup
    fp_outputparams-getpdf = 'X'. " launch print preview
    CALL FUNCTION 'FP_JOB_OPEN'
    CHANGING
    ie_outputparams = fp_outputparams
    EXCEPTIONS
    cancel = 1
    usage_error = 2
    system_error = 3
    internal_error = 4
    OTHERS = 5.
    Set form language and country (->form locale)
    fp_docparams-langu = language.
    fp_docparams-country = country.
    *fp_docparams-fillable = 'X'.
    *fp_docparams-langu = 'E'. "wird jetzt automatisch gesetzt, bzw. kann dynamisch verändert werden
    *fp_docparams-country = 'GB'. "wird jetzt automatisch gesetzt, bzw. kann dynamisch verändert werden
    currency key dependant summing
    LOOP AT bookings INTO l_booking.
    l_sums-forcuram = l_booking-forcuram.
    l_sums-forcurkey = l_booking-forcurkey.
    COLLECT l_sums INTO t_sums.
    ENDLOOP.
    Now call the generated function module
    CALL FUNCTION fm_name
    EXPORTING
    /1bcdwb/docparams = fp_docparams
    customer = customer
    bookings = bookings
    connections = connections
    t_sums = t_sums
    IMPORTING
    /1bcdwb/formoutput = fp_formoutput
    EXCEPTIONS
    usage_error = 1
    system_error = 2
    internal_error = 3
    OTHERS = 4.
    IF sy-subrc <> 0.
    CALL FUNCTION 'FP_GET_LAST_ADS_ERRSTR'
    IMPORTING
    e_adserrstr = error_string.
    IF NOT error_string IS INITIAL.
    we received a detailed error description
    WRITE:/ error_string.
    EXIT.
    ELSE.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
    WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ENDIF.
    ENDIF.
    Close spool job
    CALL FUNCTION 'FP_JOB_CLOSE'
    EXCEPTIONS
    usage_error = 1
    system_error = 2
    internal_error = 3
    OTHERS = 4.
    IF sy-subrc <> 0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
    WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ENDIF.
    *********************Send the form*******************
    *********************to the Customer*****************
    *********************via Email***********************
    *IF i_down = abap_true.
    DATA: filename TYPE string,
    path TYPE string,
    fullpath TYPE string,
    default_extension TYPE string VALUE 'PDF'.
    Data:
    lt_att_content_hex TYPE solix_tab.
    *DATA: data_tab TYPE TABLE OF x255.
    CALL FUNCTION 'SCMS_XSTRING_TO_BINARY'
    EXPORTING
    buffer = fp_formoutput-pdf
    TABLES
    binary_tab = lt_att_content_hex.
    CLASS cl_bcs DEFINITION LOAD.
    DATA:
    lo_send_request TYPE REF TO cl_bcs VALUE IS INITIAL.
    lo_send_request = cl_bcs=>create_persistent( ).
    DATA:
    lt_message_body TYPE bcsy_text VALUE IS INITIAL.
    DATA: lo_document TYPE REF TO cl_document_bcs VALUE IS INITIAL.
    APPEND 'Dear Vendor,' TO lt_message_body.
    APPEND ' ' TO lt_message_body.
    APPEND 'Please fill the attached form and send it back to us.'
    TO lt_message_body.
    APPEND ' ' TO lt_message_body.
    APPEND 'Thank You,' TO lt_message_body.
    lo_document = cl_document_bcs=>create_document(
    i_type = 'RAW'
    i_text = lt_message_body
    i_subject = 'Vendor Payment Form' ).
    DATA: lx_document_bcs TYPE REF TO cx_document_bcs VALUE IS INITIAL.
    TRY.
    lo_document->add_attachment(
    EXPORTING
    i_attachment_type = 'PDF'
    i_attachment_subject = 'Vendor Payment Form'
    i_att_content_hex = lt_att_content_hex ).
    CATCH cx_document_bcs INTO lx_document_bcs.
    ENDTRY.
    lo_send_request->set_document( lo_document ).
    DATA:
    lo_sender TYPE REF TO if_sender_bcs VALUE IS INITIAL,
    lo_send TYPE adr6-smtp_addr VALUE '[email protected]'. "Absender SENDER
    lo_sender = cl_cam_address_bcs=>create_internet_address( lo_send ).
    Set sender
    lo_send_request->set_sender(
    EXPORTING
    i_sender = lo_sender ).
    Create recipient
    DATA:
    lo_recipient type ref to if_recipient_bcs value is initial.
    Data:
    lo_rec TYPE adr6-smtp_addr VALUE '[email protected]'. " Empfänger Receiver
    lo_recipient = cl_cam_address_bcs=>create_internet_address( lo_rec ).
    *lo_recipient = cl_sapuser_bcs=>create( sy-uname ).
    Set recipient
    lo_send_request->add_recipient(
    EXPORTING
    i_recipient = lo_recipient
    i_express = 'X' ).
    *lo_send_request->add_recipient(
    *EXPORTING
    *i_recipient = lo_recipient
    *i_express = 'X' ).
    Send email
    DATA: lv_sent_to_all(1) TYPE c VALUE IS INITIAL.
    lo_send_request->send(
    EXPORTING
    i_with_error_screen = 'X'
    RECEIVING
    result = lv_sent_to_all ).
    COMMIT WORK.
    MESSAGE 'The payment form has been emailed to the Vendor' TYPE 'I'.

    Hi Kevin,
    Please try this code to send your mail, i wrote it and works well in many system.
    Take care if in your profile you got an e-mail adress define .
    Take care also of trnasaction SCOT customizing, are you able to send mail to e-mail adress ?
    Let me know if it's works.
    Best regards.
    <i>**----
    CLASS-DEFINITIONS
    DATA: send_request       TYPE REF TO cl_bcs.
    DATA: document           TYPE REF TO cl_document_bcs.
    DATA: sender             TYPE REF TO cl_sapuser_bcs.
    DATA: recipient          TYPE REF TO if_recipient_bcs.
    INTERNAL TABLES
    DATA: l_mailtext TYPE soli_tab.
    DATA: iaddsmtp   TYPE TABLE OF bapiadsmtp.
    DATA: ireturn    TYPE TABLE OF bapiret2.
    VARIABLES
    DATA: mail_line  LIKE LINE OF l_mailtext.
    DATA: bapiadsmtp         TYPE bapiadsmtp.
    DATA: subject    TYPE so_obj_des.
    DATA : att_subject TYPE so_obj_des.
    DATA : w_except TYPE REF TO cx_root .
    CONSTANTS : c_defmail TYPE ad_smtpadr VALUE
                     '[email protected]' .
    FIELD-SYMBOLS : <smtp> TYPE bapiadsmtp.
    *Convert the pdf given by function module into Binary .
    CALL FUNCTION 'SCMS_XSTRING_TO_BINARY'
      EXPORTING
        buffer     = output-pdf "PDF file from function module
      TABLES
        binary_tab = hexa.
    *Set subject of the mail
    subject = 'Exemple de PDF interactif'.
    Set text of the mail
    mail_line = 'Merci de remplir le formulaire et nous le retourner'.
    APPEND mail_line TO l_mailtext .
    Set the name of the attached document
    att_subject = 'Template du PDF'.
    TRY.
    Create persistent send request
        send_request = cl_bcs=>create_persistent( ).
    Get sender object
        sender = cl_sapuser_bcs=>create( sy-uname ).
    Add sender
        CALL METHOD send_request->set_sender
          EXPORTING
            i_sender = sender.
    Read the E-Mail address for the user
        CALL FUNCTION 'BAPI_USER_GET_DETAIL'
          EXPORTING
            username = sy-uname
          TABLES
            return   = ireturn
            addsmtp  = iaddsmtp.
        LOOP AT iaddsmtp ASSIGNING <smtp> WHERE std_no = 'X'.
          CLEAR bapiadsmtp.
          MOVE <smtp> TO bapiadsmtp.
        ENDLOOP.
        CASE bapiadsmtp-e_mail.
          WHEN space.
    No adress main for user, so send it to the default mail adress
            recipient =
         cl_cam_address_bcs=>create_internet_address( c_defmail ).
          WHEN OTHERS.
            recipient =
         cl_cam_address_bcs=>create_internet_address( bapiadsmtp-e_mail ).
        ENDCASE.
    Add recipient with its respective attributes to send request
        CALL METHOD send_request->add_recipient
          EXPORTING
            i_recipient  = recipient
            i_express    = 'X'
            i_copy       = space
            i_blind_copy = space
            i_no_forward = space.
    Set that you don't need a Return Status E-mail
        CALL METHOD send_request->set_status_attributes
          EXPORTING
            i_requested_status = 'E'
            i_status_mail      = 'E'.
    set send immediately flag
        send_request->set_send_immediately( 'X' ).
    *Build Document
        document = cl_document_bcs=>create_document(
                            i_type    = 'RAW'
                            i_text    = l_mailtext
                            i_subject = subject ).
        add attachment to document
        CALL METHOD document->add_attachment
          EXPORTING
            i_attachment_type    = 'PDF'
            i_attachment_subject = att_subject
            i_att_content_hex    = hexa.
    Add document to send request
        CALL METHOD send_request->set_document( document ).
    Send document
        CALL METHOD send_request->send( ).
        COMMIT WORK.
      CATCH cx_send_req_bcs INTO w_except.
      CATCH cx_address_bcs INTO w_except.
      CATCH cx_document_bcs INTO w_except.
    ENDTRY.</i>

  • N95 email settings problem

    Hello,
    I have recently bought N95 and updated to recent version. But when i try to setup my email account, under both incoming and outgoing parts, i set my email port manualy. However when i go up and return to standby mode, enter again to the settings i see that the setting turns to default by itself.
    Gmail requires pop manual port setting so i cannot recieve or send emails with my phone.
    Is this a software bug? Any help?
    Thanks
    Gokcer

    using your n95 go to gmail.com/mobile there is a mobile application that delivers your email or search google for seven email which is a push email client

  • Problems in sending group emails

    I am having problems sending group emails.
    I get the message "The server"smtp.mac.com" did not recognize the following recipients." Then it will list a random selection from my group, sometimes including my email. I know these emails are good emails. If I laboriously pull these selected emails from the group, eventually the group email will go through.
    The next time I try to send a group email I go through this all over again, with another random group of emails that are not recognized. Any ideas? Can my list be too long? I have 160 emails in one group?

    Can spammers grab email addresses when I have only written the group name, for example "Writing Group" in the TO: box?
    Yes. Although you might put a Group into the To field, the recipient of the email sees every email address in that group, and if anyone has any malware on their system or even the mail servers the email travels through, those can be grabbed. After you've sent the email, you can also see every recipient email address in the headers of that message in your Sent folder.
    That's why you should not ever send bulk emails using the To field; always use the BCC field; it prevents malware from grabbing email addresses sent en masse, as well as preserving the privacy of your recipients. Nobody wants you to blast their email address to everyone else without their express permission. It's rude, disrespectful, and uncouth.
    Mulder

  • Little problem on sending an email, can you take a look ?

    Hello!
    I wuld like to know why I'm getting the following exception
    everytime i try to send an email from a servlet with the classes below:
    package radio.email;
    import java.io.BufferedReader;
    import java.io.File;
    import java.io.InputStreamReader;
    import java.util.Date;
    import java.util.Properties;
    import javax.activation.DataHandler;
    import javax.activation.DataSource;
    import javax.activation.FileDataSource;
    import javax.mail.Folder;
    import javax.mail.Message;
    import javax.mail.MessagingException;
    import javax.mail.Multipart;
    import javax.mail.Session;
    import javax.mail.Store;
    import javax.mail.Transport;
    import javax.mail.internet.AddressException;
    import javax.mail.internet.InternetAddress;
    import javax.mail.internet.MimeBodyPart;
    import javax.mail.internet.MimeMessage;
    import javax.mail.internet.MimeMultipart;
    import radio.email.SMTPAuthenticator;
    public class SendEmail {
         public void send(String smtpHost, String smtpPort, String smtpUser, String passWord, String from,
                    String[] to, String subject, String content, File[] attachsFile )throws MessagingException, AddressException {
              try{
                   //Create a mail session
                   Properties props = new Properties();
                   props.put("mail.smtp.host", smtpHost);
                   props.put("mail.smtp.port", "" + smtpPort);
                   props.put("mail.smtp.auth", "true");
                   SMTPAuthenticator auth = new SMTPAuthenticator( smtpUser, passWord );
                   //Session session = Session.getDefaultInstance(props, auth);
                   Session session = Session.getInstance(props, auth);
                            session.setDebug(true);
                   // Construct the message
                   Message msg = new MimeMessage(session);
                   msg.setSentDate( new Date() );
                   msg.setFrom(new InternetAddress(from));
                   InternetAddress[] addressTo = new InternetAddress[to.length];
                   for (int i = 0; i < to.length; i++) {
                        addressTo[i] = new InternetAddress( to[i] );
                   msg.setRecipients(Message.RecipientType.TO, addressTo);
                   msg.setSubject(subject);
                   msg.setHeader("Disposition-Notification-To", from);
                   // create the message part
                      MimeBodyPart messageBodyPart = new MimeBodyPart();
                      //fill message
                      messageBodyPart.setContent( content, "text/plain");
                      Multipart multipart = new MimeMultipart();
                         multipart.addBodyPart(messageBodyPart);
                      if ( attachsFile != null &&  attachsFile[0] != null ){
                           for ( int i = 0; i < attachsFile.length; i++ ){
                            messageBodyPart = new MimeBodyPart();
                        DataSource source = null;
                            source = new FileDataSource( attachsFile[i] );
                            messageBodyPart.setDataHandler( new DataHandler(source) );
                            messageBodyPart.setFileName( source.getName() );
                            multipart.addBodyPart(messageBodyPart);
                      //set the content
                      msg.setContent( multipart );
                   // Send the message
                   Transport.send(msg);                      
              }catch( Exception e ) {
                   e.printStackTrace();
                   //throw new SacException();
            }My servlet
    new radio.email.SendEmail().send("smtp.mail.yahoo.com.br", "587", "myuser", "xxxxxx",
                        "Marcos", to, "Web R�dio Contato", content, null);The Exception:
    exception
    javax.servlet.ServletException: Servlet execution threw an exception
         org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:362)
         com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:322)
         com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:130)
         com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
         com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)
         com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
         javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
         org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:362)
    root cause
    java.lang.NoClassDefFoundError: javax/activation/DataSource
         radio.servlets.SendEmailServlet.processRequest(SendEmailServlet.java:54)
         radio.servlets.SendEmailServlet.doGet(SendEmailServlet.java:121)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:362)
         com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:322)
         com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:130)
         com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
         com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)
         com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
         javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
         org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:362)I'm importing the class "javax.activation.dataSource" properly, so What's wrong?
    Thanks for helping!!

    This has nothing to do with importing, which only effects compilation,
    and everything to do with server configuration, especially CLASSPATH.
    Start with these FAQ entries:
    http://java.sun.com/products/javamail/FAQ.html#servletconfig
    http://java.sun.com/products/javamail/FAQ.html#servletcp

  • Email settings problem - Talk Talk

    My talk talk email account has always worked fine through my Balckberry.  Suddenly, I am getting a red X everytime I try and send an email.  Any solutions??

    Steedg - I've managed to get it working.
    Go to Email Settings
    Select your talktalk email account
    Click Edit
    Scroll down to Advanced Options
    For email server, mine said: rim.imap.talktalk.net
    I deleted "rim" so it just says imap.talktalk.net
    Click Save, and it should be fine.
    Hope this helps,
    Steve

  • Email settings problem - your device encountered a problem with this application's server

    Hi, 
    I'm getting the following message 
    "your device encountered a problem with this application's server" when I try to add an email in Email settings. This problem is occurring since 15-NOV-2010. I'm using O2 service provider. i've called them and reported this problem. O2 service provider did all possible troubleshooting and they adviced everything is ok on their side. They don't know why am I getting this message. 
    This is really frustrating and not able to add an email or edit my existing email settings. I did reboot my handheld more than 10 times but no luck. Please can anyone help me to sort this problem out. PLEASE HELP
    Regards,
    Vimal

    Hello there,
    I am having the same problem since last 2 days. I have a BB curve 8900 with O2. I called them up today morning. They said that the problem is at their end and some of the customers are getting affected. Luckly, I still can access the setup using webclient.
    Hopefuly they will resolve this issue soon.
    Cheers,
    G

Maybe you are looking for

  • Upgrade to 6.0i from 4.1 causes timing and other changes

    I have recently installed 6.0i and want to continue development of the system I started on 4.1. The system is much, much slower on 6.0i and acts differently then on 4.1. A quick(hopefully) overview of the system: I'm using a PC-DIO-96. The system con

  • How to restore from playlists Time Machine?

    I replaced my hard drive and restored everything from Time Machine and now all my playlists are gone. How can I get tham back. All the music appears to be there still.

  • Oracle SOA Suite PS6 (11.1.1.7.0) is available now

    Oracle has announced the general availability of Oracle SOA Suite PS6 (11.1.1.7.0). Documentation is available here - http://docs.oracle.com/cd/E28280_01/index.htm Regards, Anuj

  • ISRC VERSUS ISWC

    En mi país tenemos el registro de temas por ISWC , como puedo hacer para anotarlo en los mp3 DEL LOGIC ya que solo tiene ISRC? Gracias. DB

  • Outgoing email blocked.

    For historical reasons my email servers are hosted by a US ISP and I use BT merely for access to the internet. However outgoing email is being blocked - the error message reports that my BT-assigned WAN IP address is blacklisted and can be found on t