I am developing outlook addins using python programming lang. and I am not able to fetch Message-ID of the selected Mail.
I have googled and read lot of post and reply but didn’t get any satisfying solution and I don’t; want to use any other Property except Message-ID.
My whole Outlook Addin is Based on logic of the MessageID cause I have mine own server and I want dump that mail to My server and using the I am creating contact and documents on my server, in addition to this I have same Plugin for the Thunderbird so I want to both plugins to work same way. So I want to fetch Message-ID so I can use both plugin without thinking of OS weather it is Windows or Linux.
Is their any way I can fetch hat Message-ID.?
If it possible in some other programming lang than also please do reply on this.
Click these links. The first gives you details of tutorials in PHP, the second gives you details of IDE's to create PHP solutions. And when you click them links, scroll the window up and you will see this post and your thread
I want to execute a redirect a URL in which i have to call a gateway server in order to send a sms. The Server on which i want to redirect a url is Linux based and the file code is on PHP. The particular php file is executed as a cron job.
As a cron job runs in backgroud, we are not able to redirect (Response.redirect("url") not allowed) and also it runs at middle layer (not presentation layer); how one will be able to do the above task then?
I spoke with a co-worker on this and he said you would need a few things. One you need a cell card to tie into the cell network. What device you use should also include a software library from sending message via SMS. With that you should need a commandline parameter list or API reference to the software. From there you can code the php to build the message and all need variables needed to pass to the software.
I think you haven't understand the question. Well I am replying it again to make you clear that, I want to execute a url in php file which is executing in a cron job. The url after executing will be sending a sms to the specified number in the url.
I hope you now understand the question and can give me a positive approach of solving it.
It's really great and so nice of you that you are showing so much of involvement into my problem but i guess you still not able to get me, I wonder where i am going wrong. Well let me try again....
My question is that how a URL can be executed in a cron job. The URL is actually calling the gateway server ( a third party client) with all the credentials required (I have checked it manually, I am able to send the sms from this gateway server by executing the php file (containing the URL) manually).
But the problem is arising when I am executing the php script file from cron job, the url code is not getting executed and hence the sms is not being sent.
I hope now you can understand where the problem is coming and eagerly waiting for a gud and positive reply.
There you go dear, I am happy that i made you understand my problem.
Well, Yes I am having an issue in php script code but not in running the php script through cron job but in executing a URL in the php code while executing the php script file through cron job (although I am able to execute the URL while executing the php file by typing the location of php file in the address bar).
In order to execute a URL in php script; I have to execute it in a iframe control but the particular iframe control code is not running when i execute the php file through cron job. The iframe code is as follows:
iframes aren't PHP code, they are HTML elements that are interpreted by web browsers. You can't run a mixed HTML/PHP page using the stand-alone PHP interpreter. You must figure out what the HTML code emitted by the PHP script actually does when interpreted by a browser, then duplicate that action by a different script (possibly in another programming language).
markkuk is right here. Please understand that php runs on the server and your iFrame runs in the clients browser. I am not even sure how cron works into this as I thought you were making a shell program, not one that runs in a browser.
Beside that you also have issues with permissions that require attention and cross site scripting issues to boot.
I suspect your code logic is way off mark Varun ...sorry.
I decided to try to make an PHP script that a webform could call, to send an email, so I doesn't need the ugly mailto:email@example.com in the form action.
So I have 2 pages. 1 frontend (html) and 1 backend (php).
The frontend contain an webform that on submit using the backend php as action, so its like:
action="sendemail.php" (in the index.html form).
Everything works fine, and I recieving the emails as supposed... I have configured the php.ini to use my own smtp server (which I use at work too, so I know the SMTP server works).
the issue now is, that I want to send my emails as utf-8 format, cuz the need of some special characters inside the email?!?
I'm using the mail($to, $subject, $body, $header); as function right now... And when I type in some utf-8 formatted characters like ø, its viewed as ?? in the recieved email
How can I send my email()'s as utf-8?
I have try following:
- Set header of the email to utf-8: