How to send powershell output to web server - powershell

I have a powershell script that generates an output and I can send it by email as an attachment however now I would need to send that output to an apache web server.
I have searched and I didn't found about it and I don't know if is possible to.
If possible, how is that done?
Thanks

Related

How do you view email messages sent to greenmail

I have an application that uses camel to send email. There is a greenmail server set up in our environment. The testers testing the service need to be able to view the emails sent, to verify that the html is formatted correctly.
There doesn't seem to be an obvious way to point a browser at the greenmail server to view the email.
Note that we use wildfly, and JMX with wildfly and dockers is not reliable. Is there something besides jmx?
Use Thunderbird client. Set it up so that it uses pop3 and your server/port that hosts your greenmail.
You can create a separate user and specify it in CC for your mail so that the observation of the mail would not impact the core process you test.
Here is more detailed post on how to setup Thunderbird with Greenmail.

PDF mail attachments in IIS

I have to send emails with PDF attachments in my application (C#,ASP.NET). That function is working fine in local host, but when i deployed it to the server, attachments are not working. only the email send to the users. Do i need to set any special configuration on windows server 2008 R2 ?
This is not a server related issue. I have used Syncfusion to secure the PDF file. when it deploys to the server, we need to create a new PdfCertificate for the server. Otherwise it will not work on the server.

Selective deleting of messages from POP3 account via Gmail (or anything else)?

I'm importing emails into Gmail via POP3. Is there a way to delete from the server messages with a certain keyword in the subject and leave everything else on the server? If not Gmail than is there any other way of doing this? PHP? It is not possible to create filters on the original server or to add any scripts / cron jobs... Thanks!
Just found that I have IMAP access too, so I installed Thunderbird and was able to selectively and permanently delete the messages from the server. Not sure if it is possible with POP3...

Ways to send E-Mails over MS Exchange with VBScript

I have to write a VBScript which will run on a Windows Server 03 (no Office, SMTP, etc. installed - like it's a fresh installation). This script should send E-Mails over an MS Exchange Server (on another server). So now I have a meeting with the head of the team managing those Servers. To prepare I'd like to know what ways I have to send an E-Mail from a VBScript over an MS Exchange (also including how to authenticate with the Exchange Server)?
As far as my googling goes there is one way with CDO (only SMTP?) which can use the current user for authentication or a clear text username & password.
edit:
Or am I mistaking and there is only SMTP for sending E-Mails over Exchange Server? Also that there is only authentication with clear text / using current credentials?
Cheers,
Gregor
There are other ways as well.
I'd prefer Exchange WebDav for previous versions of Exchange server
and use Exchange WebServices with the latest version of Exchange.
These method requires no client install so can be used anywhere.
WebDav: http://www.msexchange.org/articles/Access-Exchange-2000-2003-Mailbox-WebDAV.html
WebService: http://msdn.microsoft.com/en-us/library/aa563009(v=EXCHG.140).aspx
EWS scripting sample: Link
If you use CDO with SMTP and use Windows Authentication (NTLM).
Set objMessage = CreateObject("CDO.Message")
objMessage.Configuration.Fields.Item ("http://schemas.microsoft.com/cdo/configuration/smtpauthenticate") = 2
Setting that value to 0 makes it not use authentication, setting it to 1 uses basic authentication, and 2 makes it use NTLM.

Launch Local Mail Client from App Hosted on Citrix

I have a desktop application (Windows Forms) which my client hosts on a Citrix server. I would like to launch the user's locally configured mail client to send mail from my application. How do I do this?
In addition to this, I will need to attach a file to the email before it is sent.
I'm not at all sure how the Citrix client would handle mailto: links (or if you can configure that), but if you haven't tried them, I suggest you do.
Example:
mailto:someone#example.com?subject=hello&body=see+attachment&attachment=\\host\path-to\file.foo
Also note that not all email clients support the attachment parameter in mailto URLs.