This blog refers " How to config and send email from SAP with third party tool XAMPP "
1. XAMPP installation & configuration part.
2. SCOT settings from SAP end.
1. XAMPP installation & configuration part:
XAMPP is an easy to install Apache distribution containing MySQL, PHP, and Perl.
XAMPP stands for Cross-Platform (X), Apache (A), MySQL (M), PHP (P) and Perl (P). It is a simple, lightweight Apache distribution that makes it extremely easy for developers to create a local web server for testing purposes. Everything you need to set up a web server – server application (Apache), database (MySQL), and scripting language (PHP) – is included in a simple extractable file. XAMPP is also cross-platform, which means it works equally well on Linux, Mac and Windows. Since most actual web server deployments use the same components as XAMPP, it makes transitioning from a local test server to a live server is extremely easy as well. Web development using XAMPP is especially beginner friendly, as this popular PHP and MySQL for beginners course will teach you.
Installation of XAMPP:
We can download the free version of XAMPP from web.
- Disable your anti-virus as it can cause some XAMPP components to behave erratically.
- Disable User Account Control (UAC). UAC limits write permissions to XAMPP’s default installation directory (c:/Program Files/xampp), forcing you to install in a separate directory
- Start the installation process by double-clicking on the XAMPP installer. Click ‘Next’ after the splash screen.
- Here, you can select the components you want to install. Choose the default selection and click ‘Next’.
- Choose the folder you want to install XAMPP in. This folder will hold all your web application files, so make sure to select a drive that has plenty of space.
- The next screen is a promo for BitNami, an app store for server software. Deselect the ‘Learn more about BitNami for XAMPP’ checkbox, unless you actually enjoy receiving promo mails!
-Setup is now ready to install XAMPP. Click Next and wait for the installer to unpack and install selected components. This may take a few minutes. You may be asked to approve Firewall access to certain components (such as Apache) during the installation process.
- Installation is now complete! Select the ‘Do you want to start the Control Panel now?’ checkbox to open the XAMPP control panel.
Understanding XAMPP Control Panel
The XAMPP control panel gives you complete control over all installed XAMPP components. You can use the CP to start/stop different modules, launch the Unix shell, open Windows explorer and see all operations running in the background.
Here is a quick overview of the Control Panel. For now, you only need to know how to start and stop an Apache server.
CONFIGURE MERCURY MAIL TRANSPORT SYSTEM -XAMPP
2. First of all we disable the HTTP server of Mercury so that it doesn't conflict with the apache:
3. To be able to send external mail we have to disable “MercuryE SMTP end-to-end delivery client” in the same dialog and enable “MercuryC SMTP relaying client”. Click “OK” and restart Mercury!
4. Now let’s configure Mercury in general:
we want to send from localhost, therefore we check if “localhost” is the value of “internet name for this system” and adjust that if not
3. Check under the tab “Local domains” if the entry “localhost (local host or server) localhost (internet name)” is there, if not, add it
4. Click “OK” and leave the dialog.
5. Next we focus on the MercuryS SMTP Server for outgoing emails:
6. Now we limit the access to the server so that only our local machine can access it:
with a click on “OK” we quit the dialog and we’re looking forward to the next one
7. Now we have the important one “MercuryC SMTP Client”
For a “normal” SMTP that would probably be port 25 and “Normal (no SSL encryption)”
After completing the XAMPP configuration test Mail :
Go to File Menu --> Click on Send mail message option:
Give the recipient email Address and subject then click on Send button:
XAMPP Configuration done!!!
2. SCOT settings from SAP end.
- Create a User (SCOTUSER):-SU01
- Give the User Name and Email Address.
- In Logon Data: User Type : Service
- Assign the below parameters:
- Assign the Profile: S_A.SCON - SAP Connect All Auth.RFC User/SAP Phone.Centr.Arch
- Click on Save.
- Add the highlight parameter in Instance profile :
Profile Parameter (Instance) :
- Run the TX. SCOT for settings :
Give the below details as in below screen shot:
Click on settings tab: Assign the SFDN
Create a new Job :
Sending a mail :(SO01)
Click on New message:
Click on send button on Top menu bar
Now go to Tx SOST:
Status is changed to send:
Mail is sent to the recipient, confirmation from mail inbox.
Thank you.. :smile: :smile: :smile:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
8 | |
8 | |
7 | |
7 | |
5 | |
4 | |
4 | |
4 | |
3 | |
3 |