Can JavaMail send mail to Lotus Notes?

Can JavaMail send e-mail to Lotus Notes?
If I can't, is there any alternative method?
I need it for my J2EE project.
Thanks!!
Dan. :)

Cann you explain how?
Can you put an example?
Thanks in advance.

Similar Messages

  • Out of office message when sending mail to Lotus Notes from SAP

    Hi,
    Is it possible to have an 'out of office' message when sending mail to Lotus Notes from SAP?
    I'm sending account statements by mail via a modified version of function FI_OPT_ARCHIVE_CORRESPONDENCE. The SAP username is send as a parameter, and later converted to the e-mail saved in the user profile. This works, - but I would like to have an out of office reply if the user I send to is out of office.
    Hope someone can help...
    Regards,
    Lene

    As Thomas pointed out, you can use regular SMTP mail to send the contents to Lotus Notes. You can use the function module SO_OBJECT_SEND or any of the SAP Office function modules to do this.
    Only thing to remember is that the SMTP may have been disabled by your basis team due to security risks involved. An alternative could be a lotus notes connector available from IBM.
    Srinivas

  • Sending mail to LOTUS NOTES inbox.

    Hi all,
    I am working on WORKFLOWS and i need to send a mail to lotus notes inbox. I have got the function module to send the mail.I Created a method for sending the mail. But Where and how to impletement this method in the work flow.
    Please through some light on this.
    Regards,
    Gautham

    As Thomas pointed out, you can use regular SMTP mail to send the contents to Lotus Notes. You can use the function module SO_OBJECT_SEND or any of the SAP Office function modules to do this.
    Only thing to remember is that the SMTP may have been disabled by your basis team due to security risks involved. An alternative could be a lotus notes connector available from IBM.
    Srinivas

  • Send mails via Lotus Notes using VFP

    Hi all,
    I have an VFP application which is allowing send emails from Lotus Notes. Currently it sends mails from the default account in Lotus notes. But now there is a requirement as follows.
    An email address can be defined from our application. Say
    [email protected] Lotus notes has been configured with two mail accounts such as
    [email protected] and [email protected] and the default email is
    [email protected] Now we have to send emails from our application with
    [email protected] email address. Not the default email address.
    To do this we have to read all email accounts configured in Lotus Notes using VFP. And look for the email address
    [email protected] and mail should be sent with that account. Can anybody guide me how to do this using VFP? Thanks.
    Best Regards,

    This is actually a Notes question. You need to find out whether the Notes automation server provides what you need and how to do it.
    Tamar

  • Send mail via Lotus Notes R5

    Does anyone have any examples of sending e-mail through Lotus Notes via forms 6i?
    I have searched the forum and there seems to be very few items on Lotus Notes.
    Thanks in advance.
    Lakmal

    Fainaly I found the way.. here is the coding
    PROCEDURE send_email(p_recipient_in IN VARCHAR2,
    p_copy_to_in IN VARCHAR2,
    p_blind_copy_to_in IN VARCHAR2,
    p_subject_in IN VARCHAR2,
    p_text_in IN VARCHAR2,
    p_return_receipt_in IN VARCHAR2,
    p_no_of_attachments IN NUMBER DEFAULT 0,
    p_mood_stamp_in IN VARCHAR2,
    p_view_icon_in IN NUMBER) IS
    -- Local Variable Declaration
    lv_args ole2.list_type;
    lv_db ole2.obj_type;
    lv_doc ole2.obj_type;
    lv_return_receipt VARCHAR2(1);
    lv_session ole2.obj_type;
    lv_attach1 ole2.obj_type;
    lv_attach2 ole2.obj_type;
    lv_mailserver VARCHAR2(200) := 'ew-cmb';
    lv_sqlerrm VARCHAR2(255);
    BEGIN
         lv_session := ole2.Create_Obj('Notes.NotesSession');
         lv_args := ole2.Create_Arglist;
         ole2.Add_Arg(lv_args, lv_mailserver); -- Mail Server
         ole2.Add_Arg(lv_args, 'names.nsf'); -- Mail File
         ole2.Add_Arg(lv_args, 'mail\Lakmal_M.nsf'); Mail File
         lv_db := ole2.Invoke_Obj(lv_session, 'GetDatabase', lv_args);
         ole2.Destroy_Arglist(lv_args);
         lv_doc := ole2.Invoke_Obj(lv_db, 'CreateDocument',lv_args);
         ole2.Set_Property(lv_doc, 'SendTo', p_recipient_in);
    If (p_copy_to_in IS NOT NULL) then
         ole2.Set_Property(lv_doc, 'CopyTo', p_copy_to_in);
    End If;
    If (p_blind_copy_to_in IS NOT NULL) then
         ole2.Set_Property(lv_doc, 'BlindCopyTo', p_blind_copy_to_in);
    End If;
    -- Guidelines for mood stamp as to what argument values should be passed
    -- ''- Normal
    -- P - Personal
    -- C - Confidential
    -- R - Private
    -- F - Flame
    -- Q - Question
    -- G - Good Job!
    -- M - Reminder
    -- J - Joke
    -- T - Thank You!
    If (p_mood_stamp_in IS NOT NULL) then
         ole2.Set_Property(lv_doc, 'SenderTag', p_mood_stamp_in);
    End If;
    If (p_subject_in IS NOT NULL) then
         ole2.Set_Property(lv_doc, 'Subject', p_subject_in);
    End If;
    If (p_text_in IS NOT NULL) then
         ole2.Set_Property(lv_doc, 'Body', p_text_in);
    End IF;
    --To embed attachments add the following lines to code immediately after
    -- setting the 'Body' property :
    If (nvl(p_no_of_attachments,0) = 0) then -- No attachments
         null;
    Else
         lv_args := ole2.Create_Arglist;
         ole2.Add_Arg(lv_args, 'Attachments');
         lv_attach1 := ole2.Invoke_Obj(lv_doc, 'CreateRichTextItem', lv_args);
         ole2.Destroy_Arglist(lv_args);
         lv_args := ole2.Create_Arglist;
         ole2.Add_Arg(lv_args, 1454);
         ole2.Add_Arg(lv_args, '');
         Ole2.Add_Arg(lv_args, 'C:\Install.log');
         lv_attach2 := ole2.Invoke_Obj(lv_attach1,'EMBEDOBJECT', lv_args);
    End If;
    -- 1-Return Receipt
    -- 0-No Return Receipt
    lv_return_receipt := TRANSLATE(NVL(UPPER(p_return_receipt_in), 'N'), ' NY', '001');
    ole2.Set_Property(lv_doc, 'ReturnReceipt', lv_return_receipt);
    If (lv_return_receipt = '1') then
         ole2.Set_Property(lv_doc, 'DeliveryReport', 'B');
    End If;
    -- The following values can be used to set the icon that appears to the left
    -- of the senders name.
    -- 0 - none
    -- 10 - finger with ribbon
    -- 23 - newspaper
    -- 74 - flame
    -- 83 - thumbs up
    -- 85 - happy face
    -- 133 - envelope
    -- 159 - star
    -- 162 - question mark
    -- 163 - investigator
    -- 166 - glasses
    -- 169 - red circle
    -- 170 - gold circle
    If (p_view_icon_in IS NOT NULL) then
         ole2.Set_Property(lv_doc, '_ViewIcon', p_view_icon_in);
    End If;
    ole2.Destroy_Arglist(lv_args);
    lv_args := ole2.Create_Arglist;
    ole2.Add_Arg(lv_args, 0);
    ole2.Invoke(lv_doc, 'Send', lv_args);
    ole2.Destroy_Arglist(lv_args);
    ole2.Release_Obj(lv_session);
    ole2.Release_Obj(lv_db);
    ole2.Release_Obj(lv_doc);
    EXCEPTION
         WHEN OTHERS THEN
         lv_sqlerrm := substr(sqlerrm,1,255);
         Message('Unable to send mail to ' || p_recipient_in);
         Message('Unable to send mail to ' || p_recipient_in);
         Message('Error is : '||lv_sqlerrm);
         Message('Error is : '||lv_sqlerrm);
         Set_Application_Property(CURSOR_STYLE, 'DEFAULT');
         RAISE;
    END;

  • SAPCONNECT Send mail to Lotus Notes

    Hi,
    I would like to know if is possible send mails from SAP to Lotus Notes.
    When I send a mail to other destination by SMTP Node, the process works successfully.
    But if the destination is a Lotus Notes address this process fails.
    Could you help me with this issue?
    Thank you very much in advance.
    Best regards.
    Emilio Dorado.

    Hi Alfredo,
    Yes its posible, please install Lotus Notes Domino MTA.
    And configure the notes.ini
    $SapDestination=MAIL_GATEWAY_CRMXXX
    $SapClient=XXX
    $SapUsername=MAIL
    $SapLanguage=E
    $ObjServerSearchChars="_"
    $ObjServerReplaceChars=" "
    $ObjClientSearchChars="@ "
    $ObjClientReplaceChars="&_"
    $ObjServerDontAttachBody=0
    $ObjServerAddressIsInternet=1
    $ObjServerMinConfirmation=6
    $ObjServerChangeRAWtoTXT=1
    Regards,
    Fendi Suyanto

  • When trying to send mail via Lotus Notes webmail, mail does not get send

    Firefox 4.01, XUL-manager installed.
    Logged in to corporate webmail, can see mails etc. I can create a mail (new, reply, etc.) but when I hit the send button, I get a popup asking if a copy needs to be archived. no matter if I say yes or no, the mail does not get send. Also saving as draft does not work.

    Hi,
    yes smtp is a standard and I think you could use this with almost every smtp server.
    If your smtp server doesn't require authentication you can access it without an authenticator
    I think...
    Best regards,
    Jens

  • Can't send mail out...and can't figure it out

    Hi, after 4 hours or researching, I have finally eliminated the setting issues down to one, can't send mail with outside (not within the company) recipient address. I get Relay access denied. I have done a lot of reading and playing with different settings, just can't get it to work. So I decided to ask for some help here.
    always_bcc =
    command_directory = /usr/sbin
    config_directory = /etc/postfix
    daemon_directory = /usr/libexec/postfix
    debugpeerlevel = 2
    enableserveroptions = yes
    inet_interfaces = all
    luser_relay =
    mail_owner = postfix
    mailbox_transport = cyrus
    mailq_path = /usr/bin/mailq
    manpage_directory = /usr/share/man
    mapsrbldomains = dun.dnsrbl.net
    messagesizelimit = 10240000
    mydestination = $myhostname,localhost.$mydomain,localhost,justme.com
    mydomain_fallback = localhost
    myhostname = mail.justme.com
    mynetworks = 127.0.0.1/32,192.168.1.5
    mynetworks_style = host
    newaliases_path = /usr/bin/newaliases
    queue_directory = /private/var/spool/postfix
    readme_directory = /usr/share/doc/postfix
    relayhost =
    sample_directory = /usr/share/doc/postfix/examples
    sendmail_path = /usr/sbin/sendmail
    setgid_group = postdrop
    smtpdclientrestrictions = rejectmapsrbl
    smtpdenforcetls = no
    smtpdpw_server_securityoptions = login,cram-md5
    smtpdrecipientrestrictions = permitsasl_authenticated,permit_mynetworks,reject_unauthdestination,permit
    smtpdsasl_authenable = yes
    smtpdtlsloglevel = 0
    smtpduse_pwserver = yes
    smtpdusetls = no
    unknownlocal_recipient_rejectcode = 450
    I am running server 10.3.9 on a Xserve and Entourage as client. We have a valid MX record pointing at the right external address. And why is my result looks different than the others.....? This is nuts! Thanks in advance for any help or I will have to go back to the SunCobalt wich was working fine....
    12 PB G4 1.33GHz/1.25GB, G4/1.3GHz x2/1.25GB,   Mac OS X (10.4)  

    Change:
    mynetworks = 127.0.0.1/32,192.168.1.5
    To:
    mynetworks = 127.0.0.1/32,192.168.1.0/24
    Or...
    Authenticate your SMTP connections.
    Jeff

  • Is there a fix for "can't send mail?"

    I just spent 4+ hours on this forum and worked through all suggestions I could find - still can't send mail. It happened yesterday afternoon, from one moment to the next - suddenly all my three POP accounts are offline and there was nothing I could do about it. I checked with Entourage, same thing there as well, can't send mail.
    I have no idea if this is connected with the problem in many posts about the "can't send mail" issue or not, but at least on the surface it looks like it is.
    Any help is appreciated! Thank you.

    Yes, there are complaint sites online where I've read hundreds of complaints that trickle in one by one on different dates.
    Take a look at this post, and the comments below it:
    http://www.lockergnome.com/usrbingeek/2007/04/12/comcast-blocking-port-25/
    This is going to be an ongoing problem for different users, one at a time.
    DSL users in my area are going through a similar issue with their CenturyTel email accounts. Over the last two years they have added a new smtp server and some people were transferred immediately to it, and others got added month by month (some were on smtp.centurytel.net while others are on smtpauth.centurytel.net). Then a couple of months ago, they started requiring login and password to the smtp server, but not for all users. I get a few calls a month for the next batch. Centurytel has gone with a 3rd party email hosting company so that they don't have to deal with it.
    I'm trying to set up all clients with the latest changes, but they don't always work in advance of the changes. It's hit and miss. CenturyTel has said that they have posted notices on their help site, but who goes there?
    Maybe they are just trying to manage their tech support load during changes?
    Message was edited by: dechamp

  • 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

  • Can't send mail, get message: the smtp server rejected the password. I tried lock and unlock keychain. I tried unlock captcha. Gmail works okay, it is Mail that does not. Help!! :(

    Can't send mail, get message: the smtp server rejected the password. I tried lock and unlock keychain. I tried unlock captcha. Gmail works okay, it is Mail that does not. Help!!

    Hi
    You need to check with your ISP whether or not the send mail server (SMTP) requires a password.  Some do, but many do not.  When you know the correct password to send mail, then you need to tell Mail as follows:
    Mail menu > Preferences > Accounts > Select the account
    Click on the Outgoing Mail Server (SMTP) combo box, and select Edit SMTP Server List...
    In the Account Information tab put the server name
    In the Advanced Tab, set up the authentication information from your ISP.
    Good luck
    Bob

  • HOWTO: send a mail through Lotus notes by Java Code

    Dear All,
    I have requirement with me, where i have to write a java code which will send a mail from lotus notes .
    Could you please provide me sample source code and different options for implementing this .

    Generally, whatever program you use to read mail, it will ultimately be sent by a "Mail Transfer Agent" which understand SMTP. I've got Lotus Notes here as my mail reader, but when my programs send mail they use java mail, and send the mail as SMTP using the appropriate mail server (sometimes called the "smart host"). It the mail is for my mailbox the MTA then forwards it to the Lotus Notes mail store.

  • Can't send mail to outside company

    I wrote a javamail program, I can only send mail to internal email address, but not to outside, any reason that could be?
    Thanks for your help.
    Dan.

    I'm replying specifically for GroupWise but MS Outlook/Exchange will in essence be the same.
    When you send an email from your PC using GroupWise, the GWIA (ie the SMTP server) is what actually sends the email. This is on a server somewhere but NOT on your PC.
    When using Javamail, you are really operating another smtp client. The GroupWise GWIA is likely configured not to accept relaying. If it is, for example if you use a mail filtering system so relay all mail, it is likely configured to accept relaying from only that IP address. Your PC (or wherever you are running the Javamail from) is unlikely to be an 'allowed' relay source.
    In GroupWise you can add as many relay sources as you like under the GWIA object. Again, Is imaging Exchange is similar.
    Nick.

  • Sending email via Lotus Notes

    Does anyone have any examples of sending e-mail through Lotus Notes via forms 6i? I have searched the forum and there seems to be very few items on Lotus Notes.
    Thanks in advance.
    Jeff

    A simple way is the host-command.
    The command-string is "start mailto:address?body='Text'&subject='Text"
    The length of host-string is limited.
    Text_io can help: Create the cmd-file and then start it thru the host-command.
    Also simple: Create a html-file x.html and start this via host(Start x.html')
    I am interested und this topic, too, because I can't attach files with this simple methods.
    Wolfram

  • Can't send mail since 10.4.6 update

    Since updating my OS to 10.4.6 I can't send mail. I can receive mail and I can browse online. But mail will not go out. I've verified all the Outgoing Mail Server info SEVERAL times and have had no luck. I've enabled Entourage to handle mail instead of MacMail and it won't work either. Totally stumped.
    Same thing has happened on my iBook G4 laptop by the way. I'm convinced that the update has something to do with this.

    INTERNET CONNECTION LOST
    so... since the 10.4.6 update once my computers fall asleep the connection to my wireless router is lost. (mail seems to be working ok, when i have an internet connection...)
    I have tried multiple things to fix this. Thus far the only solution seems to be resetting the router to use connect back to the internet. Once this is done the internet connection works fine, until lost or the computers go to sleep. When i wake the computer i have to do it all over again... and on top of it the post link is missing on all the pages!!! so i am replying here.
    So this time I have rebooted to my external drive with the previous version (10.4.5) to see if indeed it is the 10.4.6 update that seems to have hosed this connection somehow.
    HELP please, this is terrible annoying. Is anyone else experiencing this?
    thank you.
    PowerBook G4 and PowerPC dual G5 (10.4.6 both)   Mac OS X (10.4.6)  

Maybe you are looking for

  • Cartridge problems HP Photosmart 7520 e-All-in-One Printer

    I have replaced all of my ink cartridges with genuine HP cartridges.  I keep getting an error message that says that one or more of my cartridges are either damaged or missing.  I also cleaned all of my printer heads.   Amy suggestions? 

  • Purchased movies and music

    Ok! Just purchased some music and dl'd with no problem but 3 movies have yet to download. Message window pops up, The iTunes is temporarily unavailable. Please try again later. Two days now.

  • Prepaid for 12 months. Says I'm using the trial version. [was: I paid!]

    I paid for 1 year in advanced it is saying I am using a trail version.

  • Launch Problem

    Hi There I've recently bought an Acer Aspire 6920 Laptop and I've downloaded the trial version of Adobe Dreamweaver CS4 When I open Dreamweaver the green start up screen will open and then it will close and Dreamweaver itself won't open. All the othe

  • Silverlight problems with Netflix

    Setting up my new 11.6" MB Air I had multiple error DRM codes when trying to instantly watch Netflix movies. I called netflix and they had me 1. uninstall/reinstall Silverlight (no go) 2. create a new user account (no go). I called Applecare, no help