w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML videos Categories
Switched exchange servers, kept the same e-mail but some incoming mail is still going to the old server
I'm assuming that you changed the MX records for your domain, so that they now point to Microsoft 365's mail servers, correct? If so, it may take a day or two for the DNS changes to propagate.

Categories : Email

php website mail form not getting to exchange server recipient -
Most hosted Exchange providers include filters that will check for SPF records—or MX records at a minimum—for the domain with which the sender address is associated. Since there is most likely neither an SPF nor a MX record for www.[your-domain].com (because of the "www."), the hosted Exchange provider's SPAM blocker is marking the message as SPAM because it cannot verify that the IP address from which the message is coming is actually, legitimately associated with www.[your-domain].com—or, alternately (and perhaps more likely), that www.[your-domain].com has no MX or SPF records associated with it and thus the server assumes the message must be junk (because why would a domain name not configured for email be sending email?). [your-domain].com might have those records, but that do

Categories : PHP

ColdFusion 10 Can't Verify Exchange 2010 Mail Server
I "solved" this. I could find little online and received no comments to this thread. No combination of settings I tried would work and I have no access to the client's mail server. The person who runs that server couldn't run a lemonade stand so no help there. Then I stumbled across this page. Nothing to do with ColdFusion but seemed like a similar issue. Recent changes in the JavaMail API has changed certain authentication defaults and sometimes will create an authentication error with some Exchange Server environments dependent on the configuration. I'd never put much thought into CFMail because it was always drop dead simple and simply worked. Focusing on this link's Resolution 2 (ie replace the mail.jar with an older version). I wondered if CF used JavaMail and if I could

Categories : Email

Send a mail with exchange server without using SMTP in scala or java
Basically you cannot send e-mails without interacting an SMTP server (may it happen implicitly). The mail() function of PHP actually executes a native binary (e.g., the sendmail command on a Linux/Unix environment, but on Windows it needs some configuration to work properly -- which OS do you have there?). So if you want to use the same mechanism, call the binary sendmail command (ProcessBuilder, Runtime.exec() are your friends in Java, or the scala.sys.process.package in Scala).

Categories : Scala

Send email using microsoft exchange server
As I see that you are trying to connect to localhost, I will assume that this is correct and you are the Exchange Server administrator and point to other possibilities. Microsoft Exchange server uses by default a proprietary protocol called Exchange Active Sync. This is the most common set-up for corporate accounts, and (for example, in my case) other options may not be allowed. Each account may have a different privilege on using another protocols as for instance POP3 or IMAP4 and the send counterpart - SMTP. Make sure that the account through you are trying to send the message is supporting the POP3 / IMAP4 synchronization. See: http://help.outlook.com/en-us/140/cc875899(d=loband).aspx

Categories : Java

To send email via microsoft exchange Server api (java)
Change ExchangeCredentials credentials = new WebCredentials("user", "password", "domain"); to service.Credentials = new NetworkCredential("user", "password", "domain");

Categories : Java

Searching through Public Folders - Exchange 2003
First add a reference to Microsoft.Office.Interop.Outlook, then add these using statements using Microsoft.Office.Interop.Outlook; using _Application = Microsoft.Office.Interop.Outlook._Application; using Outlook = Microsoft.Office.Interop.Outlook; Then add this //declare Outlook application _Application objOutlook = new Outlook.Application(); //create it _NameSpace objNs = objOutlook.Session; //create new session MAPIFolder oPublicFolders = objNs.Folders["Public Folders"]; MAPIFolder oAllPublicFolders = oPublicFolders.Folders["All Public Folders"]; Items itms = oAllPublicFolders.Items; foreach (MailItem item in itms) { GetNewMailItem(objOutlook, objContacts, item); } Marshal.ReleaseComObject(objOutlook); //release outlook com object This next piece is just what

Categories : C#

How to use EWS to retrieve mail-related information about Exchange mail-enabled public folders
I'm able to get it with the following, you'll need to translate it to c#. The result is a folder object extended with an Email property. $PR_PF_PROXY = New-Object Microsoft.Exchange.WebServices.Data.ExtendedPropertyDefinition 26397,[Microsoft.Exchange.WebServices.Data.MapiPropertyType]::Binary $view.PropertySet.Add($PR_PF_PROXY) $foldersResult = $ExchangeService.FindFolders(Microsoft.Exchange.WebServices.Data.WellKnownFolderName]::PublicFoldersRoot,$view) foreach($folder in $foldersResult.Folders) { $folder = $folder | Add-Member -MemberType NoteProperty -Name Email -Value $null -PassThru $guid=$null if($folder.TryGetProperty($PR_PF_PROXY,[ref]$guid)) { $dn=[bitconverter]::ToString($guid) -replace '-' $folder.Email = ([

Categories : C#

How to set the proxy server for Exchange in outlook 2007 and other setting automatically using the windows registry?
Below is the READ_ME.txt I made for anyone in my company who wishes to do something similar Task: Set the proxy server for Exchange in outlook 2007 Requirements: -RegFromApp ( asitMSExchangeSetup) -PowerShell Method: -Open Outlook and RegFromApp. -Select outlook as the process to monitor in RegFromApp -Make the appropriate changes to the outlook settings. -The changes to the registry will be recorded in RegFromApp. -Write a Powershell script to make these changes to the registry. -To execute the Powershell script automatically you need to make a .BAT file that changes the execution policy of PowerShell to RemoteSigned temporarily and restores it Restricted for security reasons. Notes: -RegFromApp will provide you with every change made to the registry. Only a few of are actually ne

Categories : Powershell

Setting up mail server in pc
PHPMailer is a full featured email transfer Class for PHP supporting SMTP and POP3. So you not need to setup mail server on your pc. It works on localhost too. Class Features Probably the world's most popular code for sending email from PHP! Used by many open-source projects: Drupal, SugarCRM, Yii, Joomla! and many more Integrated SMTP support - send without a local mail server Send emails with multiple TOs, CCs, BCCs and REPLY-TOs Multipart/alternative emails for mail clients that do not read HTML email Support for 8bit, base64, binary, and quoted-printable encoding SMTP authentication with LOGIN, PLAIN, NTLM and CRAM-MD5 mechanisms Native language support Compatible with PHP 5.0 and later Much more! Githup Repo and more about it

Categories : Email

Not able to search the email server with searchTerm using Mail API
Since you're using pop3, all the searching is done by downloading all the messages to the client and searching them there. If you want the server to do the searching, use imap. If the new message arrives while you have the pop3 folder open, you won't be able to see it. You need to close the folder and reopen it. That's a limitation of the pop3 protocol. If none of that helps with your problem, I would need to know exactly which search term you're using, exactly what value you're searching for, and exactly what value appears in the email header.

Categories : Java

Who will set the e-mail as read, SMTP server or email client?
SMTP stopped being involved when it delivered the message to the IMAP server. Typically, the IMAP server sets a message's flags to unread when it first arrives, and removes this flag when you fetch the message. In theory, a client could keep its own local per-message state independently from the server's, but for read / unread status, this doesn't make much sense. For other metainformation, this may be used as a mechanism for other kinds of message status; for example, Thunderbird's message tags do not appear to be saved on the server. Incidentally, there is a peek option in the IMAP protocol for examining a message without affecting its unread status.

Categories : Email

Plesk, Email with localy established domain where the mail server is external
"The problem is because the server will attempt to deliver emails for the domain name locally by default. To resolve that problem you would need to set it to use the domain name's MX record." The simple answer is to disable mail services for the subscription. Untick the box for "Activate mail service on domain".

Categories : Email

PHP mail not working with Exchange 2013
This may not be your whole problem, but I'm sure this doesn't help: $header .= "MIME-Version: 1.0 "; $headers = "Content-type: text/html" . " " . $headers .= "Content-Transfer-Encoding: 7bit "; $headers .= "motabaat@pmo.gov.ps" . " " . "CC:".$row_DetailRS1['AssignCc']; should be rewritten as: $header = "MIME-Version: 1.0" . " "; $headers .= "Content-type: text/html" . " "; $headers .= "Content-Transfer-Encoding: 7bit" . " "; $headers .= "Reply-To: motabaat@pmo.gov.ps" . " "; // guess $headers .= "Cc: " . $row_DetailRS1['AssignCc']; That's assuming the actual content of the headers is correct...

Categories : PHP

Excel 2003 copy worksheet
Consider something like: Sub dural() Dim alpha As Workbook, beta As Workbook Workbooks.Open Filename:="C:TestFolderalpha.xlsm" Set alpha = ActiveWorkbook Workbooks.Open Filename:="C:TestFoldereta.xlsm" Set beta = ActiveWorkbook alpha.Sheets(1).Copy Before:=beta.Sheets(1) End Sub

Categories : Excel

Sending e-mail via MS Exchange from a batch process
**If you already have shared mailbox created ,u can use the credentials of that mailbox for sending an email using EWS and the "From" address will be that of the shared mailbox.There is no need to create a mailbox for the service account that's used to run your batchjob. Here's a link which gives a code sample on how to send an email using EWS. http://chrisbitting.com/2013/02/21/retrieving-and-sending-email-using-exchange-web-services-managed-api-2-0-c/ While specifying the credentials,give that of the shared mailbox and u are good to go.**

Categories : C#

How to route internal Exchange mail through external servers
You can do this by switching the domain contoso.com from authoritative domain to internal relay domain in the accepted domains list in Exchange management console > organization configuration > hub transport > accepted domains. For domains listed as authoritative Exchange assumes all the addresses in that domain are known inside Exchange but for domains listed as internal relay Exchange reroutes emails to addresses not known are routed out to the internet while emails to addresses that are known inside Exchange are delivered normally.

Categories : Misc

sending email from g-mail host to five different email accounts using c#
You're storing the mailMessage as a property of the Form, and the address is getting changed by another thread before it's actually sent. Adding the MessageBox lets one thread finish befiore another one starts. Just change sentMail to create a new MailMessage instead of reusing the existing one and you should be fine: public partial class Form1 : Form { Thread t = null; //MailMessage mailMessage; <-- take out this line void sentEmail(Object array) { Object[] o = array as Object[]; SmtpClient client = new SmtpClient(); client.EnableSsl = true; client.Host = "smtp.gmail.com"; client.Port = 587; client.Credentials = new NetworkCredential(textBox4.Text, textBox5.Text); MailMessage mailMessage = new MailMessage(new

Categories : C#

sqlsrv error while connecting to mssql server 2008 on windows 2003 server
Two ways to try, first to check if the Native driver has the right version - is your server really a 32bit Version and not 84bit? The other thing is, to check if the extensions are actually loaded. To check that, create a file like "phpinfo.php" and put it in you folder for .htdocs. <?php // show phpinfo file phpinfo(); ?> The easy way is to search for it in the phpinfo-Page with Ctrl+F and "extension=php_sqlsrv_53_ts_vc9.dll"

Categories : PHP

Unable to make remote connection to Ms Sql Server 2008 R2 in windows 2003 server
MSSQL 2008 has a utility called a "Surface Area Configuration Manager" that actually blocks the TCP port to external network interfaces, by default. Check that out, and I'm betting it will solve your problem.

Categories : Sql Server

Server 2003 to Server 2008 - Multiple-step OLE DB operation errors
I finally fixed this. The solution was found in the last post of this thread: https://forums.oracle.com/thread/80441 It seems if I was using ODBC, setting the precision and scale for all the numeric parameters would have resolved the issue, however, for OLE DB this did not fix the issue. Changing all numeric parameters from adNumeric to adDouble did fix the issue. For those not wanting to venture to the Oracle forums. The first way is done like this: Set Parameter = Command.CreateParameter("inRequestType", adNumeric, adParamInput, <length>, <value>) Parameter.Precision = 10 Parameter.NumericScale = 0 Parameters.Append Parameter Doing that did not fix my issue, I had to change adNumeric to adDouble (131 to 5).

Categories : Oracle

ASP Classic function appears to not work after migration from Windows Server 2003 to Server 2008
Have you run the query on the new server as straight SQL and got the correct results back? Have you performed a simple query using that connection string? Can you do a hello world asp classic example on the server?

Categories : Oracle

Using Exchange EWS SOAP, how can I get the email address for a given usename
Have never came across a direct method that gives email-address of logged in user, but you can do simple hack by creating a PostItem and then getting email-address by its PostItem.getFrom() method, something like : PostItem postItem = new PostItem( service ); postItem.setBody( MessageBody.getMessageBodyFromText("Test for email-address " ) ); postItem.save(); postItem = PostItem.bind( service , postItem.getId() ); System.out.println( postItem.getFrom() ); postItem.delete( DeleteMode.HardDelete );

Categories : Node Js

Send email with swift mailer using exchange authentication
If an Exception of type Swift_TransportException will be thrown it means the authentication fails. to know early whether or not authentication has failed and an Exception is going to be thrown, call the start() method on the created Transport The following checklist will help you find the problem with this kind of error: Check if connection works on other mail clients / platforms, using same port and credentials and encryption Check if your php install does not have TLS support enabled. You can check if "tls" and/or "ssl" are present in your PHP installation by using the PHP function stream_get_transports() For example you can add it by adding this in php.ini extension=php_openssl.dll Make sure there aren't any firewalls blocking connections, 587 might be blocked

Categories : PHP

Exchange - export all incoming and outgoing email addresses to csv
You can just enable (by default it's done) message tracking on you server using Set-TransportServer (on Hub Transport server or Edge Transport server) or Set-MailboxServer (on Mailbox server) depending on the kind of server your are working on as explain in this Microsoft article. Then you can have a look to C:Program FilesMicrosoftExchange ServerV14TransportRolesLogsMessageTracking directory. On the server side your can read this file as a CSV file using : import-csv MSGTRK20130627-1.LOG -Header date-time,client-ip,client-hostname,server-ip,server-hostname,source-context,connector-id,source,event-id,internal-message-id,message-id,recipient-address,recipient-status,total-bytes,recipient-count,related-recipient-address,reference,message-subject,sender-address,return-path,message-info,

Categories : Powershell

Sending Email to a Microsoft Exchange group using Python?
This is definitely possible. Your exchange server should recognize it if you treat it as a full address. For example if you want to send it to person1, person2, and group3, use the following: import smtplib from email.mime.text import MIMEText from email.mime.multipart import MIMEMultipart address_book = ['person1@company.com', 'person2@company.com', 'group3@company.com'] msg = MIMEMultipart() sender = 'me@company.com' subject = "My subject" body = "This is my email body" msg['From'] = sender msg['To'] = ','.join(address_book) msg['Subject'] = subject msg.attach(MIMEText(body, 'plain')) text=msg.as_string() #print text # Send the message via our SMTP server s = smtplib.SMTP('our.exchangeserver.com') s.sendmail(sender,address_book, text) s.quit()

Categories : Python

Detect email move using Exchange Web Service Managed API?
You can use Streaming Notifications with EWS to listen for changes to items on the Exchange Server. Here is an example on how to set up Streaming Notifications: http://blogs.msdn.com/b/exchangedev/archive/2010/12/22/working-with-streaming-notifications-by-using-the-ews-managed-api.aspx In your case you should handle the EventType.Moved event. When you are handling the events you are given an object of type ItemEvent (as shown in the above example) which has two properties OldParentFolderId and ParentFolderId which identify the folder the item was moved from and to.

Categories : C#

Sending a notification when an email is received in Exchange 2007
Sounds to me like this is just a matter of creating a rule in Exchange. Running through the "Rules Wizard": Check messages when they arrive through the specified account (select account associated with mailbox@mycompany.com) run a script (something that will send out the new "A message has arrived." email) OR forward/redirect it to people or distribution list

Categories : Powershell

Most Efficient Way To Export Access 2003 Listbox RowSource (query) To Excel 2003
Try generating a XML file. Here an example: http://blogs.msdn.com/b/brian_jones/archive/2005/06/27/433152.aspx P.S. About first method. To avoid users clicks you can hide Excel. Also you can speed up Excel (see functions below). Use Prepare() before putting data and Ended() after it or in case of error. Public Sub Prepare() Application.ScreenUpdating = False Application.Calculation = xlCalculationManual Application.EnableEvents = False ActiveSheet.DisplayPageBreaks = False Application.DisplayStatusBar = False Application.DisplayAlerts = False End Sub Public Sub Ended() Application.ScreenUpdating = True Application.Calculation = xlCalculationAutomatic Application.EnableEvents = True ActiveSheet.DisplayPageBreaks = True Application.DisplayStatus

Categories : SQL

What email server or online email service allows for creating unlimited email alias for an inbox (via API)
One option to consider is to setup a mail server using qmail, configured as a catch-all for your domain, such that all mail to *@yourdomain.tld forwards to a script which parses each incoming message, scrapes the to, from, subject, etc. logs the messages in your database, etc. It's easier than it sounds to setup. See How to setup a mail server?. This can be done fairly inexpensively on a Rackspace or AWS cloud server.

Categories : Email

ODP.NET 32 bit on Win 7 64 bit and Win Server 2003 64 bit
IMO There are a few options: Compile for x86 and install the 32 bit Oracle Client on your 64bit server (could run side by side if you change the ORACLE_HOME, TNS_ADMIN, ... system variables); Compile for x86 and pack all DLL's for a 32 bit Oracle Instant Client together with your binaries (make sure the TNS_ADMIN system variable is set otherwise you won't be able to use LDAP or tnsnames); Compile your application for Any CPU but create a different set of dll's for x64 and x86 bit (Oracle.DataAcess.dll is compiled for a specific architecture, there is a version for x64 and one for x86); Oracle is working on a managed Oracle driver, no Oracle client is required anymore, most codebases can converted easily but be aware that it's not feature complete yet and only supports Oracle 11+ database

Categories : C#

Warning: mail(): SMTP server response: 550 This is a submission only port. You must authenticate before sending mail in
php.ini & SMTP= - how do you pass username & password PHP mail() command does not support authentication. Your options: ...

Categories : Email

Unable to get emails sent by PHP mail function because of another mail server
The first thing to establish is how you are sending emails (sendmail or SMTP). Then, whether your emails are a) not sent at all or b) getting rejected by the destination mail server. I'd check all available logs (source and destination mail servers and daemons). See if mail() itself is erroring. Try using sendmail/smtp directly. If its the destination server rejecting the mail based on its spam score, try setting SPF records to enable the web server to send mail legally.

Categories : PHP

Setting up a CCNET email publisher convertor to use the git email
At the time of this answer it does not appear to be possible to to hook into the Git author and email to parse out the email address with CCNET. The workaround is to get a list of all the committers to your Git repository and enter them like so under the element. The name must match the name of the user's name in the commit exactly, including case. Do not specify a group for these users if you want them to receive emails only for builds in which they contributed a commit. <email includeDetails="TRUE" subjectPrefix="CCNET Project "> <from>mybuild@starfleet.com</from> <mailhost>email.starfleet.com</mailhost> <users> <!-- Do NOT specify a group to send an email to these folks if and only if they have committed changes tha

Categories : GIT

Nodejs on Windows Server 2003
Your firewall settings blocks incoming requests on port 1337 if its not configured. You may have do chances in firewall settings, you need to add firewall inbound rule on this port to allow access to it. Otherwise you may try changing the port to 8080 or 8000 which firewall mostly allows. (updated as per the suggestions form adam-stanley) If you want to look how to add port to firewall on Windows, here is the link

Categories : Windows

VBScript Cannot Find file Specified Server 2003
Most likely the Open method of Office 2003 doesn't support wildcards in the path. You'll have to enumerate the files in that folder: Set app = CreateObject("Excel.Application") Set fso = CreateObject("Scripting.FileSystemObject") For Each f In fso.GetFolder("Y:Billing_Commonautoemail").Files If LCase(fso.GetExtensionName(f)) = "xls" Then Set wb = app.Workbooks.Open(f.Path) ... wb.Close End If Next

Categories : Excel

WPF:DataGridTemplateColumn on Windows server 2003/2008
Finally tested RelativeSource instead of ElementName. And after a day of time wasting worked fine on Win Server!! Solution !!: <DataGridTemplateColumn CellStyle="{x:Null}" Width="85" Header="{Extentions:DisplayName Type=Type:StandardClass, PropertyName=ProductKind}"> <DataGridTemplateColumn.CellEditingTemplate> <DataTemplate> <ComboBox ItemsSource="{Binding Path=DataContext.ProductKindCollection,RelativeSource={RelativeSource AncestorType=DataGrid}}" DisplayMemberPath="Title" Style="{x:Null}" SelectedValue="{Binding ProductKind, ValidatesOnDataErrors=True, ValidatesOnExceptions=True, Upd

Categories : Wpf

Import into SQL Server 2003 from a CSV file Error
It might not be that SQLServer is complaining about losing data when importing but when reading. For instance, the DT_DBTIMESTAMP type expects the format yyyy-mm-dd hh:mm:ss[.fff]. If your data is not formatted correct in any dimension (say your mm > 12 or dd > 31) that may be the problem. Like @Pondlife suggested I'd bring everything into a varchar(max) field and then run TSQL to see if all rows can convert to DBTIMESTAMP data type is a simple convert statement.

Categories : Sql Server

WPF Visibility Issue Windows Server 2003
You are using different versions of .NET (4.5) on you dev machine, which is only impersontating 4.0 version. It turns out there are some incompatibilities between those two versions (errors which were fixed in 4.5 would not occur even if you are downtargetting 4.0). In my work with .NET 4.0 (which you are using on your 2003 server), I've found that sometimes StaticResource malfunctions in DataTemplates. This issue was fixed with 4.5 release, so thats why you do not get those problems. You should change: EDIT: Following is not working because Converter is not a dependency property. Visibility="{Binding ShowSearch, Converter={StaticResource Bvc}}" to Visibility="{Binding ShowSearch, Converter={DynamicResource Bvc}}"

Categories : C#

Get-ScheduledTask in PowerShell on Windows Server 2003
You'll find all the informations you need about the missing COM object in Working with scheduled tasks from Windows PowerShell. Using Windows Server 2012 you can use Scheduled Tasks Cmdlets in Windows PowerShell.

Categories : Powershell



© Copyright 2017 w3hello.com Publishing Limited. All rights reserved.