Opening an Outlook Email - xcode

I am not new in computers; I am a .NET developer, but was presented with this great opportunity to develop in PHP, so I took it. There is a need to open an Outlook/Item (email) form the website; is that even possible? I know there is functionality in CakePHP to send emails but client wants to use their own Outlook application.
Any pointer would be much appreciated! Have a great coding day...

There ist no easy Way in PHP. PHP will be executed on a webserver and not on the client computer.
There ars some ways to solve this, depend on your needs:
You can open the standard mail-client with an HTML-Link like this:
E-Mail senden
If this is too rudimentary, you can send an nice formated email via smtp/sendmail to an emailadress.
cakephp mailer class documentation
You can also try to connect via IMAP an put mailobjects into the draft-folder. There are some basic PHP functions for this: PHP IMAP documentation
Only in the first case, outlook will open the email in a Window.

Related

joomla 3 email to web interface solution - logging in, sending and receiving emails only through my joomla! 3 website

I'm developing a website and I was wondering if its fairly easy to set up an email interface with in my joomla! 3 website. An email system with inbox, outbox, possibly junk mail.. etc. I need basic tasks of an email system like Gmail or Yahoo, where the already logged in user at my website can send and receive emails with attachments only through my joomla website. Meaning the user can not use outlook or any kind of email application to send or receive emails. If the user needs to email someone with the email that we gave him after we registered him/her at our website, he needs to log in first to our website in order to have access to the email service.
I'm wondering if this kind of idea is easily achievable in joomla 3 as I'm kind of new to Joomla developing- only started a month ago. Or if it's too complicated and it costs a lot of over head. If it is possible how can I achieve it because I have researched the internet for 3 days with out any luck for a specific joomla 3 extension.
However I found other ideas like roundcube and squirrelmail but for sure I need something way simpler than that since the email service is already provided by my host. I just need an interface, thats all. Also I found this link that talks about something called DMail but also its too advanced and possibly a very old post too.
So please if any one could help. Thanks!

OWA: Changing Email password through a script

Is there a way to change my outlook web app client password with the help of a bash script? If yes, then please suggest how. My company has implemented a policy to change my password every 21st day. I'm tired of this.
Grab yourself a Firefox web browser and install the extension "LiveHTTPHeaders". It can log all the headers that are sent between your web browser and your companies server. Then you fire up wget with the --save-cookies cookie_file and try to repeat the communication with your server. From the first call on you use --load_cookies cookie_file so the server knows who you are. You can find out more about wget here.
In case you can use perl/ruby/python I would recommend mechanize which is a parser that helps you find all links in a webpage for example.

Improving WebMail performance MVC3

I'm using the MVC helper WebMail to send emails. However the speed of it seems to be of concern. Especially when I have to send more than 1 email at the same time. I tried using a thread, but that didn't work since the Webmail object was null. How do I speed this up? Any ideas appreciated.
Forgot to mention, this is during testing and I'm using localhost and gmail! Not sure if that is causing the issue.
Thank you
If you want performance, don't use the WebMail helper. Use the classes in the System.Net namespace.
This allows you to open a new thread and send the email out-of-band from the web request.
We use Google Apps mail (gmail) in the cloud, opening a new thread, and sending the email from there, using the System.Net types (not WebMail). It works pretty well, as we can respond to the user without having to wait for the email to be sent.
Be careful about using Google Apps / gmail though, especially in development. We had one of our accounts disabled by google because of this. During development, you should use your local ISP, or better yet, use SpecifiedPickupDirectory, as it works better when unit testing email receipt.

Getting view as string in asp.net mvc for email sending

I want to use Mailgun (or maybe Sendgrid) to send emails from my app.
This is pretty straightforward cause I can use RestSharp to interact with their api.
The problem lies in the fact that generating an HTML email is a PITA if I cant use razor.
I know there are two nuget packages (Postal, MvcMailer) that handle this problem quite nicely but they force me to use a SMTP server and I dont want or need that at all.
I just want to keep using the Mailgun API to send emails but I want to have a way to generate the markup for those emails using Razor.
How can I do this?
Please Help.
If you have a partial you can render it to a string, as in the following SO question: link

How can I trigger an email+attachment from the browser?

This is for a company intranet app, so everyone is using firefox on XP and I can install whatever is needed.
We'd like to setup an email with a pre-made subject and attachment (similar to using mailto), but the mailto spec doesn't allow attachments.
Any ideas how it can be done? Perhaps using a ff extension?
update: The file is a network file at the company.
update: A good deal of customisation happens in each users outlook, signatures etc. that we'd like to keep.
You're probably much better off providing a form for the users to fill out and and doing the email from the web server. That will give you the most flexibility.

Resources