Sending mail from using utl_smtp error......

Hi
When i try to send mail like as follows
DECLARE
v_connection UTL_SMTP.CONNECTION;
BEGIN
v_connection := UTL_SMTP.OPEN_CONNECTION('xxx.xxx.xxx.xxx',25);
UTL_SMTP.HELO(v_connection,'xxx.xxx.xxx.xxx');
UTL_SMTP.MAIL(v_connection,'[email protected]');
UTL_SMTP.RCPT(v_connection,'[email protected]');
UTL_SMTP.DATA(v_connection,'Sent From PL/SQL');
UTL_SMTP.QUIT(v_connection);
END;
I get the following error..
ERROR at line 1:
ORA-29278: SMTP transient error: 421 Service not available
ORA-06512: at "SYS.UTL_SMTP", line 17
ORA-06512: at "SYS.UTL_SMTP", line 96
ORA-06512: at "SYS.UTL_SMTP", line 138
ORA-06512: at line 4
if i send mail from outlook it goes...the configuration is like this
in mail properties general tab
email address : [email protected]
and i have to tick mark the "include this account when receiving mail or synchro" option
in servers tab
POP3 : xxx.xxx.xxx.xxx
smtp : xxx.xxx.xxx.xxx
and i have to tick the "My server requires authentication" option
and have to give the setting for that also
ie. log on using account : [email protected]
     password: xxxxxx
How to Correct it ?
Kris

i am on the same platform and in same account..... and PL/SQL UTL_SMTP gets a connection plus SMTP error, while telnet cannot even get a connection. A very weird one. Not sure what the problem can be.
Worse case, forget telnet and do all your troubleshooting using UTL_SMTP.. with liberal usage of DBMS_OUTPUT. :-)
regd. the connection from my xp client it is
connecting to the telnet server on server, but when i
tri to connect to the ISP's smtp address it throws
the errorNot that strange. You're likely going through a proxy of sorts of to reach the ISP mail server. Besides, to send mail you should be able to use your company's SMTP server as it should route Internet e-mail out to the net automatically.
In fact, many SMTP servers will not allow you to relay via them. E.g. if you connect from domain 1 to SMTP server on domain 2, and you submit an e-mail to be delivered to domain 3, the domain 2 server will tell you to take a hike. It will only accept mail that is destined for its own domain or originating from its own domain.
Reason for this is spam. Open relays are one of the prime reasons for having billions of spam mails being transmitted.
The correct method will be for you on domain 1 to connect to domain 1's SMTP server and submit an e-mail to be delivered to domain 3. That will be accepted and delivered. Using domain 2 as an intermediate agent to act as a relay, is/should not be accepted by all SMTP servers. (your SMTP server should get blacklisted/blackholed if it has an open relay)

Similar Messages

  • Error while sending mail from SAP

    Hello All,
    Recently we are facing an error while sending mail from SAP. When we try to compose a message ,it is moving to a dump error RAISE_EXCEPTION.
    The details from ST22,
    Short text
        Exception condition "FOLDER_NOT_EXIST" raised.
    Error analysis
        A RAISE statement in the program "SA
        condition "FOLDER_NOT_EXIST".
        Since the exception was not intercep
        program, processing was terminated.
    Kindly suggest..
    Thank You,
    Regards,
    Hasan

    Hello Priyanka,
    Actually, I performed the following two steps in order to solve the issue:
    - In transaction SICF, the node for SAPConnect must be active. In our system, this node was in inactive state. Hence I activated it.
    - Then In transaction SCOT-> Settings menu--> default domain should be 'xyz.com' if the email addresses in your company are maintained with a suffix  xyz.com.
    But for me the problem didnt get solved here..
    The problem that i am facing now is that if in my user profile, I have the email address maintained, then i get an error saying 'Sender address rejected'. However, if i goto transaction SU01 and clear the email id, the mail is successfully sent to outer world.
    You can try the above mentioned two steps using SICF and SCOT. If the problem does not get solved then try clearing the mail id in ur user profile.
    Hope this helps. If you find an answer to the problem of the mail id getting cleared, then please let me know..
    Regards,
    Himanshu

  • Error in sending mail from SAP to microsoft outlook

    Hi all.
    Greetings.
    I have a requirement to send mail from SAP to Outlook.
    SMTP is configured here....i have checked the steps.
    I am using FM "SO_NEW_DOCUMENT_SEND_API1" to send the mail text.
    when i check the SOST Tcode i got message "Wait for communications service".
    after evry 10 minutes the sap connect all process runs..as it is configured in SCOT transaction, but even after 30 minutes the mail is not sent.
    I don't know how should i check the error message?
    tell me the checking stepls plz?...how should i step through in checking this?
    what are the prerequsites for sending mails from SAP to Microsoft outlook?
    regards
    Prashant Tiwari
    Edited by: prashant tiwari on Feb 6, 2009 10:26 AM

    Hi prashant,
    Pls refer to the link below:
    Re: Inbound Email- SAP Connect
    or
    check your userid .
    If not correct  no mail will go from u r id.
    Try it with another user id.
    or try using the following function module
    'SO_NEW_DOCUMENT_ATT_SEND_API1'
    I Hope this helps you with the issue.
    Thanks
    Ravi Aswani

  • TS4291 I can't send mail from my iPad apps, I just get the error message, 'The recipient- was rejected by the server because it does not allow relaying.' Does anyone know what this means and how to fix the problem.

    I can't send mail from my iPad apps, I just get the error message, 'The recipient… was rejected by the server because it does not allow relaying.' Does anyone know what this means and how to fix the problem.

    iOS: Unable to send or receive email
    http://support.apple.com/kb/TS3899
    Can’t Send Emails on iPad – Troubleshooting Steps
    http://ipadhelp.com/ipad-help/ipad-cant-send-emails-troubleshooting-steps/
    Setting up and troubleshooting Mail
    http://www.apple.com/support/ipad/assistant/mail/
    Using a POP account with multiple devices
    http://support.apple.com/kb/ht3228
    iOS: Adding an email account
    http://support.apple.com/kb/HT4810
    iOS: Setting up an Outlook.com, Hotmail, Live, or MSN email account
    http://support.apple.com/kb/ht1694
    Server does not allow relaying email error, fix
    http://appletoolbox.com/2012/01/server-does-not-allow-relaying-email-error-fix/
    Why Does My iPad Say "Cannot Connect to Server"?
    http://www.ehow.co.uk/info_8693415_ipad-say-cannot-connect-server.html
    How to Sync Contacts with Your iPad Using iTunes
    http://www.dummies.com/how-to/content/how-to-sync-contacts-with-your-ipad-using- itunes.html
    iOS: 'Mailbox Locked', account is in use on another device, or prompt to re-enter POP3 password
    http://support.apple.com/kb/ts2621
    eMail Groups - You can use a third party app that many users recommend.
    MailShot -  https://itunes.apple.com/us/app/mailshot-pro-group-email-done/id445996226?mt=8
    Group Email  -  https://itunes.apple.com/us/app/group-email!-mail-client-attachments/id380690305 ?mt=8
    iPad Mail
    http://www.apple.com/support/ipad/mail/
    Configuration problems with IMAP e-mail on iOS with a non-standard SSL port.
    http://colinrobbins.me/2013/02/09/configuration-problems-with-imap-e-mail-on-ios -with-a-non-standard-ssl-port/
    Try this first - Reset the iPad by holding down on the Sleep and Home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons. (This is equivalent to rebooting your computer.)
    Or this - Delete the account in Mail and then set it up again. Settings->Mail, Contacts, Calendars -> Accounts   Tap on the Account, then on the red button that says Remove Account.
     Cheers, Tom

  • Error during sending mail from solaris 9

    Hi All,
    I am trying to send mail from solaris machine.I am using sendmail 8.12.9+Sun.When I am trying to send mail a mail using
    #echo "Test mail"|mailx -s "welcome to Solaris" [email protected]
    #it is execuitng sucessfully but when I am seeing the /var/log/syslog file,then It showing the error--
    /etc/mail/aliases.db out of date
    Aug 6 15:51:33 mgsun sendmail[823]: [ID 801593 mail.notice] n76ALXfa000823: <Sang@mgsun>... User unknown
    Aug 6 15:51:33 mgsun sendmail[813]: [ID 801593 mail.info] n76ALXZo000813: to=Sang, delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=31096, relay=[127.0.0.1] [127.0.0.1], dsn=5.1.1, stat=User unknown
    00823: from=<>, size=1096, class=0, nrcpts=0, proto=ESMTP, daemon=MTA, relay=localhost [127.0.0.1]
    00813: n76ALXZp000813: return to sender: User unknown
    Aug 6 15:51:33 mgsun sendmail[823]: [ID 801593 mail.info] n76ALXfc000823: from=<>, size=3566, class=0, nrcpts=1, msgid=<200908061021.n76ALXZp000813@mgsun>, proto=ESMTP, daemon=MTA, relay=localhost [127.0.0.1]
    Aug 6 15:51:33 mgsun sendmail[813]: [ID 801593 mail.info] n76ALXZp000813: to=postmaster, delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=32120, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (n76ALXfc000823 Message accepted for delivery)
    Aug 6 15:51:33 mgsun sendmail[824]: [ID 702911 mail.info] alias database /etc/mail/aliases.db out of date
    Aug 6 15:51:33 mgsun sendmail[824]: [ID 801593 mail.info] n76ALXfc000823: to=root, delay=00:00:00, xdelay=00:00:00, mailer=local, pri=33739, dsn=5.3.0, stat=unknown mailer error 5
    Aug 6 15:51:33 mgsun sendmail[824]: [ID 801593 mail.info] n76ALXfc000823: n76ALXfY000824: postmaster notify: unknown mailer error 5
    Aug 6 15:51:33 mgsun sendmail[824]: [ID 801593 mail.info] n76ALXfY000824: to=root, delay=00:00:00, xdelay=00:00:00, mailer=local, pri=31024, dsn=5.3.0, stat=unknown mailer error 5
    Aug 6 15:51:33 mgsun sendmail[824]: [ID 801593 mail.info] n76ALXfY000824: n76ALXfZ000824: return to sender: unknown mailer error 5
    Aug 6 15:51:33 mgsun sendmail[824]: [ID 801593 mail.info] n76ALXfZ000824: to=root, delay=00:00:00, xdelay=00:00:00, mailer=local, pri=31024, dsn=5.3.0, stat=unknown mailer error 5
    Aug 6 15:51:33 mgsun sendmail[824]: [ID 801593 mail.alert] n76ALXfY000824: Losing ./qfn76ALXfY000824: *savemail panic*
    Aug 6 15:51:33 mgsun sendmail[824]: [ID 801593 mail.crit] n76ALXfY000824: SYSERR(root): s*avemail: cannot save rejected email anywhere*Please help me to resolve it.
    Thanks in advance..

    Here's some pointers on troubleshooting sendmail:
    [http://docs.hp.com/en/B2355-90110/ch05s08.html]
    and
    qualify my own domain
    [http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=149991]
    newaliases error - Executable files not allowed
    [http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=39966]
    HP forums can be good for SUN too. :)

  • Cannot send mail from newsletter server and Server error: Unable to relay

    We have newsletter server. Sometimes we sent mail by our exchange 2010 server. But recently we are unable to send mail to external mail server. we sent mail by newsletter server within a domain now. We need to solve. Pls. check below log file and provide
    how to solve it.
    Sender ID: [email protected]
    our domain: www.silkways.net
    LOG:
    Status Msg : The email details entered successfully into the database.
    Status Msg : The email details entered successfully into the database.
    Access Level : 1
    MAIL SENT TO : [email protected]
    FAILED TO SEND MAIL TO : [email protected]
    Error : SMTP Error: The following recipients failed: [email protected]<p>SMTP server error: 5.7.1 Unable to relay
    </p>
     FAILED TO SEND MAIL TO : [email protected]
    Error : The following From address failed: [email protected]<p>SMTP server error: 5.5.2 Sender already specified
    </p>
    FAILED TO SEND MAIL TO : [email protected]
    Error : SMTP Error: The following recipients failed: [email protected]<p>SMTP server error: 5.7.1 Unable to relay
    </p>
     FAILED TO SEND MAIL TO : [email protected]
    Error : The following From address failed: [email protected]<p>SMTP server error: 5.5.2 Sender already specified
    </p>
     FAILED TO SEND MAIL TO : [email protected]
    Error : The following From address failed: [email protected]<p>SMTP server error: 4.7.0 Too many errors on this connection, closing transmission channel
    </p>
    FAILED TO SEND MAIL TO : [email protected]
    Error : SMTP Error: The following recipients failed: [email protected]<p>SMTP server error: 5.7.1 Unable to relay
    </p>
     FAILED TO SEND MAIL TO : [email protected]
    Error : The following From address failed: [email protected]<p>SMTP server error: 5.5.2 Sender already specified
    </p>

    Hi,
    Since you are able to send emails to internal domain i assume the application server IP address already allowed into Receive Connector.
    To relay application emails to external domain you should enable Externally Secured box in the Authentication Tab of the particular Receive Connector.
    Kottees :My Blog Please mark it as an answer if it really helps you.

  • Error: Not able send mail from OWA 2010. When I send mail, the mails go to Drafts Folder.

    Error: Not able to send mail from OWA 2010. When I send mail, the mails go to Drafts Folder. I have installed everything correctly but when I tried to open the OWA and trying to send mail from OWA. The mails do not deliver and mails become saved in Drafts folder. I tried to re-send messaged from Draft also but not able to send. 
    Screen Shot: http://cid-31ba948d0da4d57e.skydrive.live.com/self.aspx/.Public/Error%20-%20Not%20Able%20to%20Send%20Mail%20from%20OWA%202010.docx
    Scenario: I have below configuration of exchange 2010 server Setup:
    1. Windows Domain Controller with Global Catalog on Windows Server 2008 which only for Windows 2008 Server Native.
    Server Name: WDC2010
    Domain: Blazex.Com
    2. Hub/Client Access Server: It is installed on Windows Server 2008. As per Microsoft recommendation, I have just installed Windows Server 2008 and then join this computer to Blazex.com.
    After that installed the Hub/Client Access Exchange role servers.
    Server Name: HC2010.blazex.com (This is not a Addition Member server or ADC)
    Role: Hub and Client Access Server.
    3. Mailbox Server: It is installed on Windows Server 2008. As per Microsoft recommendation, I have just installed Windows Server 2008 and then join this computer to Blazex.com.
    After that installed the Mailbox Exchange role servers.
    Server Name: MBX2010.blazex.com (This is not a Addition Member server or ADC)
    Role: Mailbox Server.
    4. 2nd  Mailbox Server: It is installed on Windows Server 2008. As per Microsoft recommendation, I have just installed Windows Server 2008 and then join this computer to Blazex.com.
    After that installed the Mailbox Exchange role servers.
    Server Name: 2MBX2010.blazex.com (This is not a Addition Member server or ADC)
    Role: Mailbox Server.
    5. Client Windows 7: It is installed on Windows 7 Ultimate Workstation. As per Microsoft recommendation, I have just installed Windows 7 and then join this computer to Blazex.com.
    Workstation Name: WIN7.blazex.com
    Role: Workstation
    Error Description: I have installed everything correctly but when I tried to open the OWA and trying to send mail from OWA. The mails do not deliver and mails become saved in Drafts folder. I tried to re-send messaged from Draft also but not able to send. 
    Screen Shot (Same As Above): http://cid-31ba948d0da4d57e.skydrive.live.com/self.aspx/.Public/Error%20-%20Not%20Able%20to%20Send%20Mail%20from%20OWA%202010.docx
    I don't know what I am missing but I think there is some configuration I need to do on Hub/Client Access Server (HC2010).  I tried to access the mailbox on XP Client system through OWA. I get the same problem as Win7.
    Can someone please help me on this?
    Thanks and Regards
    Shambhu

    Hi Subhash,
    I have done the troubleshooting but I didn't find any problem at server side. I will send you mail also with all EXBPA report and as well DC, HC and Mailbox servers' Application Log and System Log.
    Below are the questions's answers which was asked by you:
    1.     Please check whether you can send email via Outlook.
    I am not able to open the MS Outlook. Please check all details in this thread : http://social.technet.microsoft.com/Forums/en-US/exchange2010/thread/c491c5c7-7d6f-48ff-97fa-6bf83d94e53c
    2.     Please run EXBPA to have a health scan.
    I have run the EXBPA and didn't see any critical Problem. I have took the screen shot and report. Please have a look in below screen shot link:
    a. http://cid-31ba948d0da4d57e.skydrive.live.com/self.aspx/.Public/EXBPA.docx                                                                            - Final Report
    b. http://cid-31ba948d0da4d57e.skydrive.live.com/self.aspx/.Public/ExBPA.BaseLine.200906270226501077.data.xml                        - Baseline Health Check
    c. http://cid-31ba948d0da4d57e.skydrive.live.com/self.aspx/.Public/ExBPA.Connectivity%20Test.200906270223318201.data.xml      - Connectivity Check
    d. http://cid-31ba948d0da4d57e.skydrive.live.com/self.aspx/.Public/ExBPA.Health%20Check.200906270125477730.data.xml            - Health Check with 2 Hr. Baseline option
    e. http://cid-31ba948d0da4d57e.skydrive.live.com/self.aspx/.Public/ExBPA.Permission%20Check.200906270224343377.data.xml      - Permission Report
    The error which I received in EXBPA, that allready ignored by you and told that it is bug in EXBPA. Have a look here: http://social.technet.microsoft.com/Forums/en-US/exchange2010/thread/d4bb03bb-db84-4a8b-83ba-19937d7dcacf
    3.     Please check application log, whether any error event logged there. They could come from ADAccess related error or etc.
    I didn't see any ADAccess event on the server. For this I have left my lab PC open and I will check again.
    4.     We find that if mail .que gets corrupt, then this issue will occur, please try to move the affected user to another store and then test the issue.
    I am facing this problem with all users (7 users). Anyway I moved one user from one server Mailbox Database (2mbx2010) to Other Server Mailbox Database (mbx2010). After that
    a) Rebooted the Workstation
    b) Login successfully with same user.
    c) Delete the Old MS Outlook Profile
    d) Create New profile for same user without any problem.
    e) Tried to login in MS Outlook and got the same error. : http://social.technet.microsoft.com/Forums/en-US/exchange2010/thread/c491c5c7-7d6f-48ff-97fa-6bf83d94e53c
    f) Open the OWA successfully for Same user.
    g) Tried to send mail but again mail went to Drafts Folder.
    5.     I noticed that you test the issue after you close outlook. I recommend you to reboot your pc and then access
    mailbox via OWA to test the issue.
    I tried you suggested option, but sorry it also couldn't help.
    6.  You also check your disk space.
         All Servers have Enough Disk Space. Check the EXBPA Report.
    7. You may run EXTRA to get log information for further troubleshooting.
      Need more time for this.
    8. Please save application log, system log as *.evt file, then send them with EXTRA,EXBPA report to [email protected] .
       I have sent it as your mentioned mail address OR, you can get the mentioned log from below link also:
       a) http://cid-31ba948d0da4d57e.skydrive.live.com/self.aspx/.Public/WDC2010%7C_APPLICATION.evtx           - DC/GC Application Log
       b) http://cid-31ba948d0da4d57e.skydrive.live.com/self.aspx/.Public/WDC2010%7C_SYSTEMEVENT.evtx          - DC/GC System Log
       c) http://cid-31ba948d0da4d57e.skydrive.live.com/self.aspx/.Public/HC2010%7C_APPLICATION.evtx              - Hub/Client Application Log
       d) http://cid-31ba948d0da4d57e.skydrive.live.com/self.aspx/.Public/HC2010%7C_SYSTEM.evtx                      - Hub/Client System Log
       e) http://cid-31ba948d0da4d57e.skydrive.live.com/self.aspx/.Public/MBX2010%7C_Application.evtx                - Mailbox Application Log
       f) http://cid-31ba948d0da4d57e.skydrive.live.com/self.aspx/.Public/MBX2010%7C_System.evtx                      - Mailbox System Log
    There will be some error log you will be that the system is not able to communicate with DC/DC, MBX or HC at everyday around 3 AM or some time 6 PM Evening also. These error came because I have installed VM on Windows 7 Workstation and after 45 min or one hrs. if I don't work on PC, then pc goes to sleep. so you may ignore these alerts.
    I hope my answer will give you some clue and I expect more help from your side.
    With Best Regards
    Shambhu Sharma

  • I can't send mail from iphone4 using outlook

    I am able to receive mail, but cannot send mail from my iPhone4. I am using Outlook - please help!
    Thanks!

    Email does not sync to the phone via iTunes. Don't know where you got this idea. Email account info can be synced from a computer to the phone via iTunes, but that's it.
    If the OP told us what happens when he tries to send mail, it might actually be helpful in troubleshooting. Without this information, we're just shooting in the dark.
    That said, I'm willing to bet the SMTP server settings are incorrect.

  • Send mail from Portal application using java

    Hi everybody,
    I'm looking for a way to send mails from my portal application written in java.
    Now I've read a lot of topics on this but can't seem to get it straight.
    I added a few jars to my project among which is
    coll.appl.gw.srvcmail_api.jar
    Here you have the ISendMailItem.class and ISendMailService.class files.
    Now I know these are interfaces so I created 2 new classes:
    Mail implementing ISendMailItem
    SendMail implementing ISendMailService
    And all of the forced methods are created for me but now I don't know how to use these classes to be able to send a mail.
    Can someone help me with this please?
    Thank you
    Regards
    Wouter

    Hey Göran,
    Thank you for this example.
    for the transport i've put this
    transport.connect( "smtpgateway.arinso.com", "", "" );
    Is this correct? or do I need to fill in more info?
    I've adde the mail.jar to my buildpath and put your code in a eventhandler.
    When I now generate the corresponding event i get an Exception:
    java.lang.ClassCastException: javax.mail.Session
    Do you know why I get this?
    Thank you
    Wouter
    Message was edited by:
            Wouter Delellio

  • Mail stalls and freezes when using "Send Mail" from Filemaker.  HELP!!!!

    When I run Send Mail from Filemaker, there seems to be a limit to the number of email addresses Mac Mail can accept for broadcasting the same email to many people. It seems to stall and freeze at around 100 email addresses. Is there a fix for this or a setting that I have overlooked? I need to be able to broadcast mail to hundreds of recipients. Help????

    Hi,
    This is likely not an issue with FileMaker but with your email provider that prevents you from 'spamming'. You'd need to send your emails in 'batches'. SMTPit might help here.

  • Send mail from database server to client

    Hi,
    i Want to send mails from oracle database (10gR1 on windows 2003) to user client systems (Developer 6i). Can anyone tell me how it is possible ?
    Thanks

    You can use utl_smtp to send mail or Java stored procedure to send the mail.
    example of utl_smtp.
    CREATE OR REPLACE PROCEDURE SEND_MAIL (
    msg_to varchar2,
    msg_subject varchar2,
    msg_text varchar2 )
    IS
    c utl_smtp.connection;
    rc integer;
    msg_from varchar2(50) := 'Oracle9.2';
    mailhost VARCHAR2(30) := '127.0.0.1'; -- local database host
    BEGIN
    c := utl_smtp.open_connection(mailhost, 25); -- SMTP on port 25
    utl_smtp.helo(c, mailhost);
    utl_smtp.mail(c, msg_from);
    utl_smtp.rcpt(c, msg_to);
    utl_smtp.data(c,'From: Oracle Database' || utl_tcp.crlf ||
    'To: ' || msg_to || utl_tcp.crlf ||
    'Subject: ' || msg_subject ||
    utl_tcp.crlf || msg_text);
    utl_smtp.quit(c);
    EXCEPTION
    WHEN UTL_SMTP.INVALID_OPERATION THEN
    dbms_output.put_line(' Invalid Operation in Mail attempt
    using UTL_SMTP.');
    WHEN UTL_SMTP.TRANSIENT_ERROR THEN
    dbms_output.put_line(' Temporary e-mail issue - try again');
    WHEN UTL_SMTP.PERMANENT_ERROR THEN
    dbms_output.put_line(' Permanent Error Encountered.');
    END;
    http://www.oracleutilities.com/Packages/utl_smtp.html

  • Cannot send mail from any mail account

    I have a Mac Mini, late 2014 model, running OS X Yosemite version 10.10.2.   I have constant difficulty sending mail from any of my mail accounts; these are iCloud, Googlemail, Yahoo and a personal one which uses 123-reg.co.uk.  I am currently located in Greece, but have been having trouble for ages, even in the UK.  I can receive mail, but I don't seem able to send it.  Error message is usually simply cannot send mail using this server, select a different server.  However, when connection doctor is run, all servers appear to be connected and I am logged in.  Any ideas please?

    rosiehwilson wrote:
    Hi, not sure why that is relevant, but we arrived at the end of January this year.  Here is a screen shot of a recurring problem, although in this case Gmail is not connected to the internet, which it usually is.  Hope this helps.
    Your outgoing Gmail servers not working, everything else seems OK.
    So, what is not working for you (other than Gmail Sending)

  • Cannot send mail from .mac account in Entourage

    I am a new mac user so my troubleshooting skills are very weak. Until about one week ago, i was able to send mail from both my hotmail account and my .mac account. Now, i get this error (just on my .mac account):
    An operation on the server timed out. The server may be down, overloaded, or there may be too much net traffic.
    i read through much of the support articles, but did not find my specific error. can anyone help??
    thank you
    mknz
    MacBook Pro   Mac OS X (10.4.7)   new mac user
    MacBook Pro   Mac OS X (10.4.7)   new mac user

    it may be that your server (internet provider) has just started blocking outgoing mails not authenticated by them.
    Go to your account set up...
    and fill in the following details.
    SMTP SERVER: smtp.mac.com
    then click on advanced sending otions...
    click on override default SMTP port... type 587
    click on SMTP servber requires authentication...
    use same setting as receiving mail server.
    try this...

  • Sending Mail from workflow or updating container elements

    Dear friends,
    I'm new to work flow.
    My requirement: <b>send mail from workflow to a user after dead line is missed</b> I do not want to use messages in 'Latest end' tab. I want to send mail.
    The mail id of the user is determined in the previous step using a FM. How do I use this mail id to send the mail. I thought of using 'Rule' option in 'Send Mail' (and use same FM)but thats not possible. In that case how do I pass the mail id value to the WF container from the FM?
    I also tried this idea:
    created a task with BOR object SELFITEM, method 'SENDTASKDESCRIPTION' .
    *in an activity step used this task and filled the 'Rule' option in notification tab appropriately
    *in this case the WF goes into an error '.....error executing 'sendtaskdescription' .....'
    *i would prefer using the activity step because, the mail has to be sent after a delay
    Is there any other simple method to do this?
    My problem would be solved even if someone can show me how to transfer values from a FM into a WF container.
    Can someone please explain?

    Reposted under different thread

  • Program to send mails from an ABAP program

    Hello,
           I found the following program on the internet. When i run it i get the status as mail sent, but actually the mail is not delivered to the recipients email address. If i check tcode SBWP, a copy of the sent mail sits in outbox even though it is not actually delivered to the receivers. The domain name is set properly in tcode SCOT. Any attempt to send mail directly using tcode SBWP  works fine and a copy of the mail goes in outbox. However mails from the program only go in outbox but are not actually sent.Pls help. The program is as under
    REPORT ZSENDEXTERNAL.
    DATA: OBJPACK   LIKE SOPCKLSTI1 OCCURS 2 WITH HEADER LINE.
    DATA: OBJHEAD   LIKE SOLISTI1 OCCURS 1 WITH HEADER LINE.
    DATA: OBJBIN    LIKE SOLISTI1 OCCURS 10 WITH HEADER LINE.
    DATA: OBJTXT    LIKE SOLISTI1 OCCURS 10 WITH HEADER LINE.
    DATA: RECLIST   LIKE SOMLRECI1 OCCURS 5 WITH HEADER LINE.
    DATA: DOC_CHNG  LIKE SODOCCHGI1.
    DATA: TAB_LINES LIKE SY-TABIX.
    Creation of the document to be sent
    File Name
    DOC_CHNG-OBJ_NAME = 'SENDFILE'.
    Mail Subject
    DOC_CHNG-OBJ_DESCR = 'Send External Mail'.
    Mail Contents
    OBJTXT = 'Minimum bid : $250000'.
    APPEND OBJTXT.
    OBJTXT = 'A representation of the pictures up for auction'.
    APPEND OBJTXT.
    OBJTXT = 'was included as attachment.'.
    APPEND OBJTXT.
    DESCRIBE TABLE OBJTXT LINES TAB_LINES.
    READ TABLE OBJTXT INDEX TAB_LINES.
    DOC_CHNG-DOC_SIZE = ( TAB_LINES - 1 ) * 255 + STRLEN( OBJTXT ).
    Creation of the entry for the compressed document
    CLEAR OBJPACK-TRANSF_BIN.
    OBJPACK-HEAD_START = 1.
    OBJPACK-HEAD_NUM = 0.
    OBJPACK-BODY_START = 1.
    OBJPACK-BODY_NUM = TAB_LINES.
    OBJPACK-DOC_TYPE = 'RAW'.
    APPEND OBJPACK.
    Creation of the document attachment
    (Assume that the data in OBJBIN is in BMP format)
    *OBJBIN = ' \O/ '. APPEND OBJBIN.
    *OBJBIN = ' | '. APPEND OBJBIN.
    *OBJBIN = ' / \ '. APPEND OBJBIN.
    *DESCRIBE TABLE OBJBIN LINES TAB_LINES.
    *OBJHEAD = 'PICTURE.BMP'.
    *APPEND OBJHEAD.
    Creation of the entry for the compressed attachment
    *OBJPACK-TRANSF_BIN = 'X'.
    *OBJPACK-HEAD_START = 1.
    *OBJPACK-HEAD_NUM = 1.
    *OBJPACK-BODY_START = 1.
    *OBJPACK-BODY_NUM = TAB_LINES.
    *OBJPACK-DOC_TYPE = 'BMP'.
    *OBJPACK-OBJ_NAME = 'PICTURE'.
    *OBJPACK-OBJ_DESCR = 'Representation of object 138'.
    *OBJPACK-DOC_SIZE = TAB_LINES * 255.
    *APPEND OBJPACK.
    Completing the recipient list
    RECLIST-RECEIVER = 'email addr'.
    RECLIST-REC_TYPE = 'U'.
    APPEND RECLIST.
    *RECLIST-RECEIVER = 'SAPUSERNAME'.
    *RECLIST-REC_TYPE = 'P'.
    *APPEND RECLIST.
    Sending the document
    CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
    EXPORTING
       DOCUMENT_DATA = DOC_CHNG
       PUT_IN_OUTBOX = 'X'
    TABLES
       PACKING_LIST = OBJPACK
       OBJECT_HEADER = OBJHEAD
       CONTENTS_BIN = OBJBIN
       CONTENTS_TXT = OBJTXT
       RECEIVERS = RECLIST
    EXCEPTIONS
       TOO_MANY_RECEIVERS = 1
       DOCUMENT_NOT_SENT = 2
       OPERATION_NO_AUTHORIZATION = 4
    OTHERS = 99.
    CASE SY-SUBRC.
       WHEN 0.
       WRITE: / 'Result of the send process:'.
    LOOP AT RECLIST.
       WRITE: / RECLIST-RECEIVER(48), ':'.
       IF RECLIST-RETRN_CODE = 0.
          WRITE 'The document was sent'.
       ELSE.
          WRITE 'The document could not be sent'.
    ENDIF.
    ENDLOOP.
    WHEN 1.
       WRITE: / 'No authorization for sending to the specified number',
                'of recipients'.
    WHEN 2.
       WRITE: / 'Document could not be sent to any recipient'.
    WHEN 4.
       WRITE: / 'No send authorization'.
    WHEN OTHERS.
       WRITE: / 'Error occurred while sending'.
    ENDCASE.

    Hi,
    DATA: l_send_request TYPE REF TO cl_bcs,         " Send request
          l_body      TYPE bcsy_text,                " Mail body
          l_attach    TYPE bcsy_text,                " Attachment
          wa_text     TYPE soli,                     " Work area for attach
          l_document  TYPE REF TO cl_document_bcs,   " Mail body
          l_sender    TYPE REF TO if_sender_bcs,     " Sender address
          l_recipient TYPE REF TO if_recipient_bcs,  " Recipient
          l_size      TYPE sood-objlen,              " Size of Attachment
          c_tab       type abap_char1  value
                           cl_abap_char_utilities=>horizontal_tab,
          l_lines     TYPE i,                        " Lines count
          l_email     type ad_smtpadr,               " Email ID
          l_extension type soodk-objtp value 'OTF'.  " TXT format
      wa_text  = 'Contents'.
      APPEND wa_text  TO l_body.
      CLEAR wa_text .
    l_send_request = cl_bcs=>create_persistent( ).
    Craete document for mail body
    l_document = cl_document_bcs=>create_document(
                 i_type    = 'RAW'
                 i_text    = l_body
                 i_subject = 'BI PC Log' ).
    Add the document to send request
    CALL METHOD l_send_request->set_document( l_document ).
    Sender addess
    l_sender = cl_sapuser_bcs=>create( sy-uname ).
    CALL METHOD l_send_request->set_sender
      EXPORTING
        i_sender = l_sender.
    Recipient address
    l_email =<ur_emailid>.
    l_recipient = cl_cam_address_bcs=>create_internet_address( l_email ).
    Add recipient address to send request
    CALL METHOD l_send_request->add_recipient
      EXPORTING
        i_recipient  = l_recipient
        i_express    = 'X'
        i_copy       = ' '
        i_blind_copy = ' '
        i_no_forward = ' '.
    Trigger E-Mail immediately
    l_send_request->set_send_immediately( 'X' ).
    Send mail
    CALL METHOD l_send_request->send( ).
    COMMIT WORK.
    Regards,
    KC

Maybe you are looking for

  • User exit or BADI for Tcode ME51N

    Hi All, My requirement is i need to check available quantity at the time of Purchase req creation. If PR quantity is available in stock then it should not allow to create new PR. Is there any user exit or Badi for this requirement. Kindly send me. Re

  • How do I view iPhoto pictures on iCloud?

    How can I view pictures that are on my desktop on my iPad through the iCloud?

  • Stop download to Excel from converting string of digits & dashes into date

    Hi, How can I stop BI and Excel data from converting a column of string data that is comprised of numbers and dashes into a date format when it is downloaded into Excel? I'd like to solve this problem in BI, so that any users can download the data fr

  • Trying to change the bios setting.

    I have been trying for days to access the bios on my Notebook Pavilion g series. I have tried f2,f6, and f10. I am shutting down completely and starting over. I have tried to restart and push the function keys. Nothing works. I have tried to do a bio

  • BW customer-exit variable in WebItnelligence

    Hi all. Did anybody try to use BW customer-exit variables in WebI report. In documentstion I've found that this type of variable 'supported without user entry', what does it mean? Thanks.