Exchange 2007 - email body disappeared - exchange-server-2007

Got an issue with email being sent after the upgrading of email server from Exchange 2003 to Exchange 2007. The problem is the html emails (with arbitrary attachment) sent by java application (using apache components) have no body instead the body is being added as attachment (ATT00001.htm). Have you encountered this problem? This happens after the upgrade, before these emails were alright. Please help. Thanks!

Just found the solution to this issue. The problem was in the component that we're using to send email. We just upgraded apache common mail from 1.1 to 1.2, it fixes the whole problem. There's bug when sending email with attachments using the previous component. You might be considering to upgrade also when you're using this component. Other email clients seemed to read email and render it correctly but others have problems with it.
Cheers!

Related

Encrypted URL sent from Jenkins email plugin

Configured Jenkins to send emails after every build run, the email content contains a report URL, it was all working fine from many days but recently what we noticed that the URL in email content is different though once we click on the URL, it shows the proper report something like this.
URL mentioned in the email:
http://IP:8080/job/Test/lastCompletedBuild/reports/overview.html
URL is shown in the actual mail
https://urldefense.proofpoint.com/v2/url?u=http-3A__IP-3A8080_job__overview-2Dfeatures.htm.....
Is there any way I can revert this to send the same URL as configured in default content?
Thank you.
Your company installed Proofpoint's Targeted Attack Protection, hence the rewritten URL points to proofpoint.com. There might be a way to whitelist your Jenkins in Proofpoint, but I'm pretty sure that there is nothing to be done in Jenkins.
This will be your mail server rewriting urls for spam/phishing protection

How do I compose an email for Office365 using Delphi?

I need information on how to allow an end user to compose an email, in Delphi code. Our Delphi version is Delphi Seattle (I think that is 10.1?) We use office365 as our email program. I need to pre-fill the recipient and some html in the body of the email. The end-user needs to complete the body of the email then click the send button.
We used to use the reliable "mailto" commandline that then displayed an email form. But it only works with plain text, no html. I now need to have html in the body of the email. I switched to using the ancient semi-reliable TOutlookApplication component and using it in code to do this thru OLE. I do see a dialog pop up, and the html appears to render correctly, but the send button seems to do nothing. Looking at the code used by TOutlookApplication, it appears that it's not been updated since the glory days of XP.
I am using Delphi Seattle. I don't think I can use Indy components with stmp because the email dialog has to be present to allow for the composing of the email, and I didn't see a way for Indy to display the form. Can anybody please tell me what I gotta do to make this work? If anybody wants to see my current code using TOutlookApplication, I can post it, but it's like 1,000 other Delphi examples of the component. Surely, others have overcome this, right?
I have additional information on this. I was running my application on a virtual machine, but my outlook was running in the desktop. Once I run the application on the desktop, it ran fine. I even received the test emails I hadn't from the vm. I believed the vm was aware of the desktop applications. My bad!
The problems I experienced were due to running on a virtual machine. If there are other dolts trying to run an app that uses OLE to access Outlook from a VM, make sure you have a Outlook ON THE VM. Or run your app from the someplace that has Outlook installed, like a desktop.

how can i edit my server plugin for tfs alerts.as it is only sending email when something is assign to me

sorry for my bad english.
i have server plugin for tfs alerts as mention it is sending mail when something is assign to me.
now , i want that the change fields aslo will me mailed by plugin.
like , state , triage and etc.
or all the fields will be send in email.
can any one share me the logic to do that.
sorry if i cannot defined u my question as i have very bad english.
if code required then i will also send the code . plz help me
search your tfs installation directory for *.xsl files. There should be a bunch of xsl transforms which produce the emails sent by tfs.

cookies using Delphi 2010 and Indy

I'm new to dealing with cookies and not sure if my code or maybe Indy version is the problem based on researching other posts.
Using Delphi 2010 and Indy 10.5.5.
Have set up a cookiemanager at design time. I can send an initial login request (using the POST method) to the server that is successful (get a "success" code back from the server app) and the cookie manager shows that it has accepted a cookie from the server.
When I try to reply to the server (again using POST) to get the next set of information, I get an error code back from the server app which indicates an authorization failure and I'm being told by the server tech support people to check the cookie being sent with the reply.
How can I check the contents of the cookie header that is being sent back to the server?
Also, in another post I saw that Indy 10 IdCookieManager.pas and IdCookie.pas have been updated in 2011. Should I update my Indy to the latest version as this might be my problem?
Thanks in advance.
Here is some more info:
Thank you for your previous assistance; I appear to be getting closer to reinstalling Indy10.
I purged my system of all Indy stuff except the most recent version (10.5.8) which I downloaded yesterday. [Actually I just moved the old stuff into a directory with an unusual name.]
Now I get a clean compile on all 5 packages.
I was able to add the two main packages (the ones starting with dcl) to my program's project list.
But I get "[DCC Fatal Error] E2202 Required Package IndyCore not found." when I try to compile my main program.
I tried removing and reinstalling the dcl packages to my project. When I removed them, I got the message that IndyCore and 3 other packages would also be removed - so it seems to know that dclIndyCode140 uses IndyCore140.
I've added some directories to my search path and tried placing the 5 bpl's in different directories. None of that had any effect and at this point I am stumped.
Ideas? Suggestions?
Steve
Upgrading to the latest release is definate recommended. Links are on Indy`s website. Yes, cookie support was broken in earlier Indy 10 releases but it working again now.
As for your other question, to see what TIdHTTP is sending, you have a few choices:
Look at the TIdHTTP.Request.RawHeaders property after sending a request.
Attach one of Indy's TIdLog... components to TIdHTTP, such as TIdLogFile, and look at the output.
Use an external packet sniffer, such as Wireshark.

Not able to update task completely using Windows SharePoint Services Incoming E-Mail

I am using Windows SharePoint Services Incoming E-Mail timer job to add email in a document library.On itemupdated event I am trying to update a workflow task.Its showing completed,however internally its not getting completed and rest of the flow is not working.Please suggest.
Thanks for replying.I have solved the problem.What exactly I was doing is using Windows SharePoint Services Incoming E-Mail timer job I was uploading .eml file in a document library.On Itemupdated event I was updating a task based on email body.However before task.update I had written base.DisableEventFiring() which was causing that error.
Now it is fixed . :)
xyz

Resources