Does SAP can send a mail thru smtp server ?
Hello everybody ,
Does sap 4.7 can write a abap program to send a mail thru another smtp server (ex:lotus notes) ?
because of i hav' t any basis authorzation .
Thanks in advanced,
Best Regards,
Hi,
As far as i know , it is not possible to send a mail through external server (lotus notes).
If u dont have the authorizations then just check it with ur BASIS guy.. he can provide u with the same..
Cheers,
Simha.
Similar Messages
-
i'm new to java mail api
i'm using a machine which is in a network under a proxy server and a fire wall.our network has a smtp server.
i tried to send a amil using a smtp server.
my codes are
package mailtest;
import java.util.Properties;
import javax.mail.Session;
import javax.mail.internet.MimeMessage;
import javax.mail.internet.InternetAddress;
import javax.mail.MessagingException;
import java.io.*;
import javax.mail.Message;
import javax.mail.Transport;
public class FirstMail {
String mailServer;
String host;
public FirstMail() {
//global
mailServer="mail.smtp.host";
host="mail.informatics.lk";
// Get system properties
Properties myProperties=new Properties() ;
// Setup mail server
myProperties.put(mailServer,host) ;
myProperties.put("mail.smtp.auth", "true");
// Get session
Session myMailSession;
myMailSession=Session.getInstance(myProperties,null);
//myMailSession.setDebug(true);
// Define message
MimeMessage message=new MimeMessage(myMailSession);
// Set the from address
//try {
try {
message.setFrom(new InternetAddress("[email protected]","CHANAKA ARUNA"));
catch (UnsupportedEncodingException ex1) {
System.out.println("CAN NOT SEND FROM");
catch (MessagingException ex1) {
System.out.println("CAN NOT SEND FROM");
// Set the to address
try {
message.addRecipient(Message.RecipientType.TO, new InternetAddress("[email protected]"));
catch (MessagingException ex) {
System.out.println("CAN NOT SEND TO");
// Set the subject
try {
message.setSubject("RE:$$$$");
catch (MessagingException ex2) {
System.out.println("WRONG SUBJECT");
// Set the content
try {
message.setText("***chanaka***");
catch (MessagingException ex3) {
System.out.println("WRONG MESSAGE");
// Send message
try {
Transport.send(message);
System.out.println("MESSAGE SENT");
catch (MessagingException ex4) {
System.out.println("UNABLE TO SEND");
public static void main(String[] args) {
FirstMail firstMail1 = new FirstMail();
it was not work, but when i use the ip address of smtp server instead of mail.informatics.lk at
host="mail.informatics.lk";
it worked properly and i could get a mail to my yahoo address.
but i have seen some have used host name like
host="smtp.snet.yahoo.com";
how can i do it using yahoo smtp server.
also i want to know whethr i can use that our smtp server from a computer outside of the net work.
pls help me
txs lot.Almost certainly, if you are behind a proxy server it will only be a proxy for HTTP traffic, and you will not be able to communicate with an SMTP server outside your network. But you have your own SMTP server so why would you want to?
If you have a proxy server and an SMTP server then there will be people responsible for supporting them. Talk to those people and ask them to give you the basic explanation of networking that you need. -
How i can send a mail to the user SAP Office mailbox through the spool.
hi all,
I have created an report and scheduled for background and it generated a spool now how i can send a mail to the user SAP Office mailbox through that spool.
please provide me the sample code if possible.
thanks.Read the spool number with this...
SELECT RQIDENT
INTO (T_TSP01-RQIDENT)
FROM TSP01
WHERE RQOWNER EQ SY-UNAME
AND RQCLIENT EQ SY-MANDT.
APPEND T_TSP01.
ENDSELECT.
Use this FM RSPO_IRETURN_RAW_DATA to read the content of the spool into an Internal Table...
Finally use this FM SO_OBJECT_SEND to send the mail to an SAP Office user...
Greetings,
Blag. -
Hi
My Name is Doug
I can send e-mails to my ipad to my pc
I can send e-mails from pc to my ipad
BUT incomming emails that go to my pc DONOT go to my ipad
any help PLEASE
DougAre you using a POP3 email account on your computer?
If so the emails will be downloading to your computer and nolonger on the server, which means that when you are on your iPad they are nolonger then to see as your iPad looks at the Mail server your computer is viewing its local email.
If you change your Email to IMAP you will be able to sync your emails which ever machine you are using. -
I am unable to send the mail thru my GMAIL account.
i am unable to send the mail thru my GMAIL account
below error msg is diplyed
This message could not be sent. It will remain in your Outbox until it can be sent. This message could not be sent because your account does not have a preferHey there meera singh,
I would suggest that you attempt the troubleshooting steps found in the following article to help you address this issue:
OS X Mail: Troubleshooting sending and receiving email messages
http://support.apple.com/kb/TS3276
Thanks for being a part of the Apple Support Communities!
Cheers,
Braden -
How to send a mail thru Oracle
Hello Every one ,
Can u plz tell me the way to send a mail thru oracle...................Follow the below steps..........
INTRODUCTION:
This bulletin explains how to programmatically send a fax/email message from a
Forms/Reports application via Microsoft Exchange without any kind of user
interaction. It shows the general usage of the 'Mail' package as well as a fully
coded Forms sample application.
The concept of OLE (Object Linking and Embedding) automation is used to control
the OLE server application (Microsoft Exchange) using the client application.
The client in this case may be a Developer/2000 Forms or Reports application. It
uses the objects and methods exposed by the OLE Messaging Library which are
much more robust than the MSMAPI OCX controls and allow access to many more MAPI
properties.
Oracle provides support for OLE automation in its applications by means of the
OLE2 built-in package. This package contains object types and built-ins for
creating and manipulating the OLE objects. Some of these built-ins for e.g.
OLE2.create_obj, OLE2.invoke, OLE2.set_property have been extensively used in
the code.
GENERAL USAGE:
The Mail package contains three procedures:
1. Procedure Mail_pkg.logon( profile IN varchar2 default NULL);
Use this procedure to logon to the MS Exchange mail client. The procedure
takes a character argument which specifies the Exchange Profile to use for
logon. Passing a NULL argument to the logon procedure brings up a dialog box
which asks you to choose a profile from a list of valid profiles or create a new
one if it doesn't exist.
2. Procedure Mail_pkg.send(
--------- Recipient IN varchar2,
Subject IN varchar2 default NULL,
Text IN varchar2 default NULL,
Attachment IN varchar2 default NULL
This is the procedure that actually sends the message and attachments, if
any, to the recipient. The recipient may be specified directly as a valid email
address or as an alias defined in the address book. If the message is intended
for a fax recipient then a valid alias must be used that is defined as a fax
address in the address book.
3. Procedure Mail_pkg.logoff;
This procedure closes the Exchange session and deallocates the resources used
by the OLE automation objects.
SAMPLE FORMS APPLICATION:
1. Create the Mail Package using the following two Program Units:
(a) Mail Package Spec
(b) Mail Package Body
Mail Package Spec:
PACKAGE Mail_pkg IS
session OLE2.OBJ_TYPE; /* OLE object handle */
args OLE2.LIST_TYPE; /* handle to OLE argument list */
procedure logon( Profile IN varchar2 default NULL );
procedure logoff;
procedure send( Recp IN varchar2,
Subject IN varchar2,
Text IN varchar2,
Attch IN varchar2
END;
Mail Package Body:
PACKAGE BODY Mail_pkg IS
session_outbox OLE2.OBJ_TYPE;
session_outbox_messages OLE2.OBJ_TYPE;
message1 OLE2.OBJ_TYPE;
msg_recp OLE2.OBJ_TYPE;
recipient OLE2.OBJ_TYPE;
msg_attch OLE2.OBJ_TYPE;
attachment OLE2.OBJ_TYPE;
procedure logon( Profile IN varchar2 default NULL )is
Begin
session := ole2.create_obj('mapi.session');
/* create the session object */
args := ole2.create_arglist;
ole2.add_arg(args,Profile);/* Specify a valid profile name */
ole2.invoke(session,'Logon',args);
/* to avoid the logon dialog box */
ole2.destroy_arglist(args);
End;
procedure logoff is
Begin
ole2.invoke(session,'Logoff');
/* Logoff the session and deallocate the */
/* resources for all the OLE objects */
ole2.release_obj(session);
ole2.release_obj(session_outbox);
ole2.release_obj(session_outbox_messages);
ole2.release_obj(message1);
ole2.release_obj(msg_recp);
ole2.release_obj(recipient);
ole2.release_obj(msg_attch);
ole2.release_obj(attachment);
End;
procedure send( Recp IN varchar2,
Subject IN varchar2,
Text IN varchar2,
Attch IN varchar2
)is
Begin
/* Add a new object message1 to the outbox */
session_outbox := ole2.get_obj_property(session,'outbox');
session_outbox_messages := ole2.get_obj_property(session_outbox,'messages');
message1 := ole2.invoke_obj(session_outbox_messages,'Add');
ole2.set_property(message1,'subject',Subject);
ole2.set_property(message1,'text',Text);
/* Add a recipient object to the message1.Recipients collection */
msg_recp := ole2.get_obj_property(message1,'Recipients');
recipient := ole2.invoke_obj(msg_recp,'add') ;
ole2.set_property(recipient,'name',Recp);
ole2.set_property(recipient,'type',1);
ole2.invoke(recipient,'resolve');
/* Add an attachment object to the message1.Attachments collection */
msg_attch := ole2.get_obj_property(message1,'Attachments');
attachment := ole2.invoke_obj(msg_attch,'add') ;
ole2.set_property(attachment,'name',Attch);
ole2.set_property(attachment,'position',0);
ole2.set_property(attachment,'type',1); /* 1 => MAPI File Data */
ole2.set_property(attachment,'source',Attch);
/* Read the attachment from the file */
args := ole2.create_arglist;
ole2.add_arg(args,Attch);
ole2.invoke(attachment,'ReadFromFile',args);
ole2.destroy_arglist(args);
args := ole2.create_arglist;
ole2.add_arg(args,1); /* 1 => save copy */
ole2.add_arg(args,0); /* 0 => no dialog */
/* Send the message without any dialog box, saving a copy in the Outbox */
ole2.invoke(message1,'Send',args);
ole2.destroy_arglist(args);
message('Message successfully sent');
End;
END;
2. Create a block called MAPIOLE with the following canvas layout:
|-------------------------------------------------------------|
| |
| Exchange Profile: |====================| |
| |
| To: |============================| |
| |
| Subject: |============================| |
| |
| Message: |============================| |
| | | |
| | | |
| | | |
| | | |
| | | |
| |============================| |
| |-----| |
| Attachment: |============================| |SEND | |
| |-----| |
|-------------------------------------------------------------|
The layout contains 5 text-itmes:
- Profile
- To
- Subject
- Message (multiline functional property set to true)
- Attach
and a 'Send' button with the following WHEN-BUTTON-PRESSED trigger:
mail_pkg.logon(:profile);
mail_pkg.send(:to,:subject,:message,:attch);
mail_pkg.logoff; -
my phone has been changed under warranty by the apple store in germany.
ı need a change document to register the phone in my country again.
ımeı numbers of old and new must be in the document.you can send an mail in pdf format
as soon as possible please.
your's respectfully.
new phone serial no:DQ******TC0
old phone serial no:DN*******T9Y
Product:
iPhone 4S
Serial Number:
DN*******T9Y
Service Requested:
December 3, 2012
Status:
Repair Complete
<Edited by Host>No we cannot send it to you because we are users just like you and Apple does not monitor these forums.
But you can find the IMEI numbers yourself. Read the ENTIRE article:
http://support.apple.com/kb/HT4061 -
Mail is set up and I can send e mails but since 1st of June I cannot receive, I have tried connection doctor everything seems fine, any ideas?
There are two entirely different paths involved here; SMTP for send and either POP or IMAP receive. Check your receive path. Confirm username, password and the POP or IMAP server identity. Also check directly with your mail provider, and ensure the POP or IMAP server is functioning and online, and the provider hasn't changed their particular POP or IMAP configuration requirements.
-
Mail thru smtp line to breaks after @
Something strange came my way from the AS400 team. When they send an email thru SMTP to one of the CAS servers and or the CAS array the line to breaks after the @ end continues with < domainname.com> so in the program it is [email protected]
but in the header we find back first.lastname@ <domainname.com>
So of course we are getting a non delivery. Any idea if I need to look further in Exchange? There is an almost similar program used which is functioning normal. Also created scripts like Exchange health check is sending out mails normally...
Thanks in advanceAnd also ask them to run on the logging at their and to see if they are at least able to make an connectivity/attempt to your exchange and if so then why it is failing.
Where Technology Meets Talent
They are able to get a connection, I see in the header that it reaches the CAS array. Also there we see that the mail adress has been cutted of just after the @...
Thanks for thinking with me!
Now it is getting weird, The email is arriving at the mailbox of the person, it is just in the header that it is wrong.
So AS400 is sending true an API an email with attachement, in the to I see clearly in the messagetracking logs:
So arrival and leave MBX and CAS seems OK
user.name @company.com but in the header the to: To: "User.name@" <company.BE user.name @company.BE -
When I am on my home wifi I can send e-mail. When I am not on my home e-mail but on a wifi network or using the 3g network I cannot send e-mail. HELP HOW TO FIX.
I know this question is a few years old now, but I recently found myself having the exact same issues;
Using my iphone or ipad at home created no problems at all, but I couldn't send e mails when away from my home network.
I recently switched broadband supplier at home and set up a new e mail address, then my problems began!
I openly admit I'm not great with technology and, to be honest, some of the answers provided on these forums confuse me more than the questions!
But this worked for me:
I went along the lines that the fault wasn't with my idevice but possibly with the broadband provider (in my case Plusnet) so I contacted their customer support.
They referred me to the set up process shown below;
From your home screen press Settings.
From the setting menu, choose Mail, Contacts, Calendars followed by Add Account…
From the Add Account… menu choose Other.
Fill in your Full Name, Email Address, Password and Description and press Next.If you need help with these, there's more detail underneath the screenshot.
Full name: Enter your name (or the name you'd like people to see when you send them email)
Email Address: Enter the address you're setting up, this could be a Plusnet address ([email protected]) or a hosted domain address ([email protected])
Password: Enter the password for your email address (I don't know what this is)
Description: Enter a useful description of the email address you're setting up (e.g. Mum's email). You can put whatever you want here
Press Next to continue.
More settings will appear. Some will already be filled in.Enter the Incoming and Outgoing Mail Server details and press Next. If you need help with these, there's more detail underneath the screenshot.
IMAP/POP This will default to IMAP - it's up to you which one you want to use (I don't know what to choose)
Incoming Mail Server settings
Host Name: For IMAP this is imap.plus.net - for POP, this is mail.plus.net
User Name & Password: Enter the username and password for the email address you're setting up (I don't know what these are)
Outgoing Mail Server settings
Host Name: relay.plus.net
User Name & Password: These are optional, but if you want to send mail while on the move (e.g. while connected to mobile or wireless networks), we recommend filling these in.Enter the username and password for the email address you're setting up (I don't know what these are)
When you're finished, press Next.
If the box shown below appears, press Yes (you may need to do this twice).
After a minute or two, your email address will be set up and ready to use.If you chose IMAP when setting up you’ll be able to choose whether you want to use Notes (if you chose POP you’ll be taken back to the settings screen from step 2). Press Save when you’re done.
That's all you need to do. To start checking your email, go back to your home screen and press Mail.
Now I fully understand that it may be different for each broadband provider but the processes must be similar.
The key appears to be in setting up the outgoing message server settings in step 5. Where it says "optional, but if you want to send mail while on the move (e.g. while connected to mobile or wireless networks), we recommend filling these in.
http://www.plus.net/support/email/setup/ios-setup.shtml#pagetop
Where it says "we recommend" I think it should read "you must fill these in"
I went back to Settings - Mail,Contacts, Calenders - click on the offending account and click on the account shown.
Under OUTGOING MAIL SERVER click on the server, in my case relay.plus.net, and click again to show the details. make sure you enter your user name and password and after a few seconds the account will verify and show a load of ticks.
I tried this on my phone this morning while on 3G only. I sent an email to another of my addresses and immediately got the response that the message couldn't be sent as the recipient was rejected and the message had been placed in my Outbox. I followed the above steps and immediately heard the satisfying "whoosh" as my mail was sent. 10 seconds later another satisying beep as my e mail arrived at my alternate account.
Hope this helps anyone else with a similar problem. -
SMICM error while sending mail using SMTP server
Hi All,
We are not able send mails using SMTP server.
We have made every settings necessary in SCOT, SO16 , SMTP service is activated, default domain is maintained etc
Only things which seems to be wrong is in SMICM trace file.
[Thr 13] *** ERROR => NiBufIConnect: non-buffered connect pending after 5000ms (hdl 29;10.26.24.44:1090) [nibuf.cpp 4608]
[Thr 13] *** WARNING => Connection request from (0/1/0) to host: 10.26.24.44, service: 1090 failed (NIECONN_REFUSED)
[icxxconn_mt.c 2321]
This error is getting repeated in it.
BUt I am not sure why it it trying to hit 10.26.24.44, as we dont have any server by this ip. The ip is only not resolvable from the server.
1 more thing, at OS level, following parameter is maintained in profile :
icm/server_port_1 = PROT=SMTP,PORT=25000,TIMEOUT=180
But in SCOT, under SMTP node PORT is given as 25.
Kindly let me know what going wrong here?
Thanksalso getting error as follows
Error: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Net.Mail.SmtpException: The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.5.1
Authentication Required. Learn more at
at System.Net.Mail.MailCommand.CheckResponse(SmtpStatusCode statusCode, String response)
at System.Net.Mail.MailCommand.Send(SmtpConnection conn, Byte[] command, String from)
at System.Net.Mail.SmtpTransport.SendMail(MailAddress sender, MailAddressCollection recipients, String deliveryNotify, SmtpFailedRecipientException& exception)
at System.Net.Mail.SmtpClient.Send(MailMessage message)
at ST_c121e07caaa94c21bb1355d4f753112f.vbproj.ScriptMain.Main()
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
at System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at System.RuntimeType.InvokeMember(String name, BindingFlags bindingFlags, Binder binder, Object target, Object[] providedArgs, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParams)
at System.Type.InvokeMember(String name, BindingFlags invokeAttr, Binder binder, Object target, Object[] args, CultureInfo culture)
at Microsoft.SqlServer.Dts.Tasks.ScriptTask.VSTATaskScriptingEngine.ExecuteScript() -
I send mail via SMTP server with Hebrew text, and I get it gibberish on my iphone
I send mail via SMTP server with Hebrew text, and I get it gibberish on my iphone
What mail program from what kind of computer are you sending your email? It sounds like an encoding problem that would have to be solved on the sending end. If you want, send me an example of the kind of email which arrives as gibberish on your iphone (tom at bluesky dot org).
-
Sending Mail through SMTP server
Hi
I am trying to sent the mails through smtp server but but my smtp server is not reponding, I tried to delete the account & recreated the accounts & the smtp server but unable to do that, but creating the same mail account & same smtp server works in different laptop. can any one guide me how to correct the problem & repair it.
Thanks in advance for the support.There are a couple of things you might check:
make sure that you have the server name entered correctly (for example, stmp.gmail.com)
make sure that if you have to override the default port that you have
make sure that if SSL is required to connect that you've this option ticked, and
make sure that if you need to provide a user name and password to access the server that you have.
Other than that, that's about all that I can think of.
Clinton -
Problem to send e-mails from bo server
Hi!!!
I want to send some webi reports from my bo server to a email addres, but it show me the following message:
address error. [Error sending address(es) to SMTP server. Return code: [SMTP 550 - Requested action not taken: mailbox unavailable.]. Reason: [email addres].]: [CrystalEnterprise.Smtp]
Can you help me please??
Ruddy AlvaradoWe are facing the same issue
server error. [CrystalEnterprise.Smtp]: [Error initializing SMTP server. Return code: [TCP send failed.]. Reason: [XXXX.XXXX.XXXX:25].]
- I tried with FQDN, IP address of SMTP server
- I was able to send e-mail to myself from command line useing telnet xxxxx.xxx.xxx 25 (so that means port 25 is open and communication is happening between BO servers to SMTP server
- No firewalls on BO servers (2008 VMware)
- Antivirus has been disabled on these servers (just to see if that is blocking anything)
What else I can check with my SMTP admin.
Anybody here has any ideas? Appreciate your inputs.
-- Nivas -
Mail and SMTP server settings of ASA Certificate Authority for cisco anyconnect VPN
Dear All,
i have the folloing case :
i am using ASA as Certificate authority for cisco anyconnect VPN users,the authentication happens based on the local database of the ASA,
i want to issue a new certificate every 72 hours for the users ,and i want to send the one time password via email to each user.
so what the setting of the mail and smtp server should be ,
was i understand i should put my smtp server ip address then i have to create the local users again under(Remte VPN VPN--Certificate management--Local certificate authority --Manage user Database) along with their email addresses to send the one time passsword to them via their emails.
i sent the email manually ,hwo can automate sending the OTP to our VPN users automatically vi their emails?
Best regards,Thanks Jennifer.
I did manage to configure LDAP attribute map to the specific group policy.
Nevertheless, I was thinking whether I can have fixed IP address tied to individual user.
Using legacy Cisco VPN Client, I can do it using IPSEC(IKEv1) Connection profile, where I set Pre-Shared Key and Client Address Pools. Each Client Address Pools has only 1 fix IP address.
Example: let say my username is LLH.
Connection Profile for me is : LLH-Connection-Profile, my profile is protected by preshared key.
Client Address Pool for me is : LLH-pool, and the IP is 172.16.1.11
Only me know the preshared key and only me can login with my Connection Profile.
Using AnyConnect, I have problem. User can use any connection profile because I cannot set preshared key for AnyConnect. In that case, I cannot control who can use my Connection Profile and pretend to be me.
Example:
AnyConnect Connection Profile for me is : LLH-Connection-Profile, without any password
Client Address Pool for me is : LLH-pool, IP is 172.16.1.11
Any body can use LLH-Connection-Profile, login with another user name, let say user-abc which is a valid user in LDAP server. In that case, ASA assign 172.16.1.11 to user-abc and this user-abc can access server which only allow my IP to access.
I hope above description can paint the scenario clearer.
Thanks in advance for all the help and comment given.
Maybe you are looking for
-
Don't want the ability to Email Everyone
So I've created a list which links to certain documents, documents I want these "certain" external people to see. I've setup groups and put permissions on the link and the documents in question ALL WONDERFUL! However users can click on the "..." an
-
Hi guys..Was wondering is it possible to connect my imac to my tv in a different room.. My tv is nothing special not a flatscreen or anything fancy.. Wondering if u guys have any ideas.. cheers
-
Hi All, Can anyone send me across the mapping document of 820 payment advice to [email protected], your help will be highly appreciated and rewarded, thanks, take care
-
Photo app selects the next photo to be shared instead of the one you selected. 1. You view one photo. 2. Bring up the sharing options. 3. The photo you selected is changed to the next photo. Annoying. On iOS 8 iPhone 5S.
-
Changing album artwork via click-and-drag gone in iTunes 12?
Is there any way to still click-and-drag album artwork for CDs I import. I just built a brand new machine and now half of my CDs artwork is either not recognized, incorrect or just not what I want. Now as a party DJ I have a lot of CDs to import and