Sending mail over VPN from Azure
Hello,
We are running a .NET website on two 2012R2 VM's behind a loadbalancer. We want to use a on-premise SMTP server for sending forms. Site to Site VPN between azure and on-premise is active.
When using telnet from both frontends we can send email with no problems at all. We use internal ip-adressess, both in azure and on-premise.
When sending email from the application we receive the error:
Message: No connection could be made because the target machine actively refused it
127.0.53.53:25
This ip-address is confusing us, I found on the ICANN website that it is a new special ip-address to mitigate the impact of name collisions in the domain name system.
However I cannot see how an azure vm or loadbalancer can have a conflicting DNS address.
Any ideas?
Regards
Finally found the issue.
The web application used a wrong hostname as sender.
Similar Messages
-
When trying to send mail over VPN, I get this error from Entourage:
An operation on the server timed out. The server may be down, overloaded, or there may be too much net traffic.
Sometimes it works and other times not. All the internal workstations send fine. We have SMTP auth on but just plain and login.
All the other VPN functions work perfectly. Also from ISP's that allow you to use external SMTP I can also get it to work sometimes and then it stops..
What am I doing wrong?Jeremiah
Many applications cache DNS settings while they're running.
When you connect to your VPN, you probably need a different DNS response because you are on a private LAN. That's probably why it sometimes works with ISPs which allow SMTP, in that case you are probably using the external public address (cached) even though you are connected by VPN.
Try quitting and relaunching Entourage.
If that doesn't work, you could try some more troubleshooting.
Try entering the private/LAN IP of the SMTP server instead of the host name you probably have now.
This is just a test and won't work when you're not on LAN or VPN.
Jeff -
Problem sending mail over GPRS/EDGE
problem sending mail over GPRS/EDGE
i am in thailand right now with my iPhone 3G 16 GB (italian, no SIM-lock, 2.2). my problem: the iPhone does not send emails via GPRS/EDGE of local AIS mobile provider (there is no 3G in thailand right now). each time i try, i will get a prompt saying 'cannot send mail, the connection to the outgoing server "mail.gmx.net" failed'.
in germany, i use a contract SIM from o2, in thailand a prepaid SIM from AIS. i have configured 2 german pop mail accounts on my phone (gmx.de, o2online.de). receiving and sending email work fine on WLAN (everywhere, also here in thailand) and in germany on 3G/EDGE/GPRS. internet works everywhere, too. so, configuration seems to be okay. for each account, i use the same (smtp) sending server for all networks (ie i do not change configurations, using mail.gmx.net and pop.o2online.de). for a test, i changed smtp server to the AIS proprietary server mail.cscoms.com, but no change in behaviour.
so, any ideas how i can get my iPhone to not only receive but also send emails via GPRS of AIS?
thank you!ok. i found the solution.
The problem is not in the iphone, the problem was DNS resolution in the server side. -
Since approx 7am GMT I've been getting "Error in sieve filter" message with each incoming mail, worse though, since about 12 noon I cannot recieve or send mail to or from my iCloud account apart from I've been getting emails from Apple (ie I've just received a welcome one from Apple Support Communities...)!! I've had this account for years, never had a problem - it can't be the OSX Mail server because the problem is the same when I log directly into iCloud. I've tried sending emails from my Hotmail account to my iCloud account (a .mac) and just get undeliverable messages back. I'm really in the s**t now at work. : ( I just set up a Smart TV yesterday with a wireless dongle - that's the only thing I've done out of the ordinary. I've spoken to Sky who are my ISP and they say all's fine with them (although the router kept kicking my off the internet this morning which was strange...). Router seems fine now though. I'm really hoping someone here can help!!
Many thanks!!Do you think once Apple sort this out I'll get my missing emails back?
-
Unable to send mails to outlook from sap system through workflow
Hi ,
Iam unable to send mails to outlook from sap system through work flow .Actually we r able to send mails from sap inbox to outlook successfully.But when trying with workflow we r not able to send.Please guide me that is there any configurations required from BASIS side for work flow.Actually we configured everything like default domain .
Please find the errors belows that traced from sost t code
02/13/2012 17:50:12 0380 MIME_MESSAGE_GENERATE G Error when generating MIME flow
02/13/2012 17:50:12 0382 MIME_MESSAGE_GENERATE G Required 'From' header is initial
02/13/2012 17:50:12 0167 SO_OBJECT_MIME_GET G Error during MIME Generation
02/13/2012 17:50:12 0777 UPDATE_SOSC G Cannot process message in SAP System
Regards
RAGHAVENADARHello,
Actually i checked the mail ID for WF-BATCH using su01 .But i didnt find any mail ID for WF-BATCH then i added the email address of the user.Then we tried sending mail it was successfull.
But later i removed the email address what i entered in WF-BATCH user .Even after removing the email address also iam able to send the mails through workflow.
So iam confused whether it needs an mail address or not.But now we are able to send a mail to outlook through work flow but not able to send mails to GMAILor yahoo.For that we need to do any settings.
ABAPer is sending mails through work flow.
Regards
RAGHAVENDAR M -
My boss has an original iPhone and I am constantly having problems keeping his e-mail functioning properly.
The latest issue is he can not send e-mail over the Edge network. I visited the AT&T support page, and they say to contact Apple for support.
Here is the message I get when attempting to send mail:
"Cannot send mail. One of the recipient addresses was invalid."
It is a POP account that works fine when sending mail over a wi-fi network. I have our smtp settings for our pop mail entered in his account as the main smtp server. There is also an additional server named AT&T SMTP Server.
When trying to send mail over the Edge network, I turn off the wi-fi access to force it to use the AT&T smtp server (cwmx.com) and every time I get the above error message.
I have another boss here with an identical iPhone and email settings that has no issues. The problem phone was brought to the local Apple Store and had the sim chip replaced, other than that they have no idea what is wrong.My boss has an original iPhone and I am constantly having problems keeping his e-mail functioning properly.
The latest issue is he can not send e-mail over the Edge network. I visited the AT&T support page, and they say to contact Apple for support.
Here is the message I get when attempting to send mail:
"Cannot send mail. One of the recipient addresses was invalid."
It is a POP account that works fine when sending mail over a wi-fi network. I have our smtp settings for our pop mail entered in his account as the main smtp server. There is also an additional server named AT&T SMTP Server.
When trying to send mail over the Edge network, I turn off the wi-fi access to force it to use the AT&T smtp server (cwmx.com) and every time I get the above error message.
I have another boss here with an identical iPhone and email settings that has no issues. The problem phone was brought to the local Apple Store and had the sim chip replaced, other than that they have no idea what is wrong. -
Can i send mail to yahoo from work flow
can i send mail to yahoo from work flow if it is possible how do i do that ? is this program enough if yes how do i do that ? do i need to write or change any coding
Hi Neo ,
You can use Function module 'SO_OBJECT_SEND' from your BO Method.
For this Function module to work Email configuration should be done for
external addresses..Please check with your Basis team for necessary config.
Thank you
Srinivas -
Send mail with attachment from webdynpro application
hi,
From a webdynpro application, the user will upload any files through the File upload ui element.These uploaded files has to go as an attachment in the mail which is being send to a particular ID ,when the user clicks the submit button in the form.
can you please give me the code regarding this and help me in sending mail with attachment from a webdynpro application.
Thanks in advance,
shami.Hai,
Properties props = System.getProperties();
props.put("mail.smtp.host", "xx.xx.x.xx");
Session session = Session.getDefaultInstance(props, null);
Message msg = new MimeMessage(session);
msg.setFrom(new InternetAddress("[email protected]"));
msg.setRecipients(Message.RecipientType.TO,
InternetAddress.parse("[email protected]", false));
msg.setSubject(subject);
msg.setText(body);
msg.setHeader("X-Mailer", " Email");
msg.setSentDate(new Date());
MimeBodyPart messageBodyPart = new MimeBodyPart();
messageBodyPart.setText("Hai , This mail Generated By the Program");
Multipart multipart = new MimeMultipart();
multipart.addBodyPart(messageBodyPart);
messageBodyPart = new MimeBodyPart();
DataSource source = new FileDataSource("C:\nag.xls");//Here you need to give the Path of uploaded File
messageBodyPart.setDataHandler( new DataHandler(source));
messageBodyPart.setFileName("nag.xls");
multipart.addBodyPart(messageBodyPart);
// Put parts in message
msg.setContent(multipart);
Transport.send(msg);
Regards,
Naga -
Why cant I send mail to myself from the ipad. It remains in the out box
Why cant I send mail to myself from the ipad. It remains in the out box.
I am using the wifi only.Why cant I send mail to myself from the ipad. It remains in the out box.
I am using the wifi only. -
Send mails to Agents from Infotype 105 External mails / SAP Inbox
Hi,
1) Whenever there is a change in the Address the change has to be notified to HR Business partner (HRBP) and Manager (MGR)
a) The mail has to be sent to the Extermail id.
b) OR it has to be sent to the SAPID (Inbox)
2) These mail ID /SAPID will be taken from the INFOTYPE PA0105, where two custom fields will carry this Mail / SAPIDs
3) Sending mail To external mail id is been done using the Function module in the rule (Inside the function module i have written a program which will collect the mail id from PA0105 and send mails)
4) Huv can i send mail to SAPINBOX from there if i have SAPID instread of external mail IDs.
Please help me to solve .
Richard ACheck the Business Object that is relevant to you
ADDRESS Address for sending documents
ADDRESSEMP Employee Address
BUS4001 Addresses of companies and organizations
BUS4002 Address of natural oerson
BUS4003 Address of "Person in company"
After selecting the Business object check which event is getting triggered when you change address. If no event getting triggered try toi configure in SWEHR3
You can take reference of the following Wflow Template
01000015
01000080
You can just use SAP User Id in mail if email address is maintained in SU01d.
<b>Reward points if useful and close thread if resolved</b> -
All the clients on the local network can use smtp.mydomain.com to send mail. If they try remotely connected through the VPN it times out with mail server may be too busy. There are no restrictions for users using the IP addresses given by the server including the VPN clients. Also the VPN client has use VPN for all traffic turned on. Tried different methods of authentication for sending mail and get the same error.
Can anyone help?
TIA
JeremiahThank you so much for your help. Yes it seems to.....where do I go from there? The first is connected to VPN the second is not.
; <<>> DiG 9.4.2-P1 <<>> smtp.XXXXXXX.com
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 43733
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
;; QUESTION SECTION:
;smtp.XXXXXXX.com. IN A
;; AUTHORITY SECTION:
XXXXXXX.com. 3600 IN SOA server.XXXXXXX.com. admin.example.com. 2008082417 10800 3600 604800 3600
;; Query time: 21 msec
;; SERVER: 192.168.2.1#53(192.168.2.1)
;; WHEN: Mon Aug 25 12:57:04 2008
;; MSG SIZE rcvd: 96
XXXXXXX-XXXXXXX-computer:~ XXXXXXX$ dig smtp.XXXXXXX.com
; <<>> DiG 9.4.2-P1 <<>> smtp.XXXXXXX.com
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 65519
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;smtp.XXXXXXX.com. IN A
;; Query time: 47 msec
;; SERVER: 10.0.1.1#53(10.0.1.1)
;; WHEN: Mon Aug 25 12:57:29 2008
;; MSG SIZE rcvd: 39
XXXXXXX-computer:~ XXXXXXX$ -
Sending mail with attachment from OIM
Hi Experts,
We have a requirement to send mail from OIM with attachment. Could not find any relevant document how to achieve this using Notification template and NotificationService.
Any help would be appreciated.
Thanks in advance.this feature is not supported by the product. check Doc ID 1444359.1
You can raise a SR to know about it. -
Sending mail to outlook from workflow
Hi All,
I tried to send a mail to outlook from workflow by giving the email address in the step mail, but it was not working.
i am getting the workitem in the sap inbox so tried setting the automating forward which we can forward from the sap inbox to outlook.
Searched in SDN , but my issue was not solved..
Could you please help me out with this issue to get the mail from workflow to outlook inbox.
Thanks,
PraveenaHi Praveena
see the threads,similar to you
Sending mails from SAP inbox to Outlook
Workflow - Sending mail to Outlook
For more inforamtion you can search a lot about sending mails to outlook in SCN
regards
Sachin
Edited by: sachin sharma on Feb 27, 2009 11:44 AM -
Sending Mail to Outlook from workflow approval
Hi All,
A standard workflow is trigering in when we click on FOR APPROVAL button in IMA11 (Appropriation Request in IM Module).
I need to send send mail to OUTLOOK with workitem for approve directly from the OUTLOOK. Is it possible.
Suppose , we have 5 approval levels.
By standard workflow , If the 2nd person approve the request , work item is going to the 3rd person SAP Inbox.
I also need, If the 2nd person approve the request , need to send a mail to the 1st person also.
How can I get this?
Plz write ur comments.
ThanksHi,
In SBWP transaction goto setting->office settings-Automatic forwarding-create new---give mail id in forward to and select external address.
In SWDD use send mail.
Recipient type Organizational object
User Name_of_the_user
Also from insert expression you can enter work item id.
Also while creating above use using SU01 enter e-mail address which you have entered in forward to. -
SEnde Mail adapter problem from txt to xml
Hi All
I have the following scenario - Mail->XI->RFC.
My interface keep crashing because of mapping errors. The attachment I am receiving from 3rd party like follow:
ENG_TYPE|INDUST_NO|COMPANY_NUMBER|SURNAME|INITIALS|NAMES|REGISTERED|MALE|EXPERIENCE|RACE|MARITAL_CODE
V|A0359214|137871|MASSANGO|J|JOSE|2007/01/18|1|458|A|7|4|1953/01/06|SHANGAAN|STANDARD
V|A0359214|137871|MASSANGO|J|JOSE|2007/01/18|1|458|A|7|4|1953/01/06|SHANGAAN|STANDARD
V|A0359214|137871|MASSANGO|J|JOSE|2007/01/18|1|458|A|7|4|1953/01/06|SHANGAAN|STANDARD
V|A0359214|137871|MASSANGO|J|JOSE|2007/01/18|1|458|A|7|4|1953/01/06|SHANGAAN|STANDARD
This is also how the data come into XI, and then the mapping crashes, how do I change to XML for the mapping to no crash.
I cannot seem to find anything on the module configuration to work for the Sender Mail adapter.
Thanks
ClintonHi,
1. You can use MessageTranformBean to convert the Text to XML.
Please look into this article for a demo on this,
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f02d12a7-0201-0010-5780-8bfc7d12f891
it talks about JMS but the messagetransformbean can be used for Mail adapters as well.
Regards
Bhavesh
Maybe you are looking for
-
Error in opening EM..plz Help..
Error in opening EM..plz Help.. Hi.. I want to start the Enterprise Manager i started step by step.. but when i had started em in the console /oracle/infs/bin/ ./emctl start it gaves me these error.. "$ emctl start Waiting for EM to initialize ..log4
-
Trouble moving iPhone to new MacBook Pro
Hi everyone, I have recently bought my first Apple computer - a new MacBook Pro. I moved my iPhone from my old PC by copying the 'itunes' folder from it onto the new MacBook Pro (and de-authorising old PC). But I am having a few problems - most impor
-
Problem in response.sendredirect()
Hi I am using response.sendredirect() to forword a request to an absolute URL out side my current environment. but it's not working....it still tries to process the request in the same environment... what can be the problem???
-
CD/DVD burner was working fine, but now a blank CD or DVD does not show up in the finder. Drive sees and reads existing cds/dvds fine.
-
Accidental adware download. How to I get rid of it?