Prev: FFT old program
Next: Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap space
From: Brad Stiritz on 25 Mar 2010 11:30 Hey everyone, Back in R2009a, I configured sendmail successfully within Matlab via the Mathworks Tech. Solution 1-3PRRDV ("How do I use SENDMAIL to send email from MATLAB 7.2 (R2006a) via the GMail server?"). I've been successfully sending messages to my gmail account, but this morning I started getting unexpected errors for the first time: >> sendmail('myaddress(a)gmail.com','Thursday Morning Test','Body Text'); ??? Error using ==> sendmail at 168 Could not connect to SMTP host: smtp.gmail.com, port: 25; Connection timed out: connect I checked my Gmail history, it looks like the last sendmail command was executed a couple of weeks ago. Since then, obviously there could have been some program / system changes. But I don't see any Windows Updates applied since then, except for an Internet Explorer 8 Compatibility View List update. Here's what I've done to try to resolve the sendmail problem: I checked the Windows Firewall & confirmed that Matlab 2010a is permitted to access all ports. I shut down Webroot SpySweeper / AntiVirus. I shut down Jungle Disk Workstation. I closed and restarted Matlab 2010a .... Even after all these steps, I continue getting the SMTP host connection time-out error. Any suggestions greatly appreciated, Thanks, Brad
From: us on 25 Mar 2010 14:18 "Brad Stiritz" <sorry.no.contact(a)info.net> wrote in message <hofvib$ksa$1(a)fred.mathworks.com>... > Hey everyone, > > Back in R2009a, I configured sendmail successfully within Matlab via the Mathworks Tech. Solution 1-3PRRDV ("How do I use SENDMAIL to send email from MATLAB 7.2 (R2006a) via the GMail server?"). I've been successfully sending messages to my gmail account, but this morning I started getting unexpected errors for the first time: > > >> sendmail('myaddress(a)gmail.com','Thursday Morning Test','Body Text'); > ??? Error using ==> sendmail at 168 > Could not connect to SMTP host: smtp.gmail.com, port: 25; > Connection timed out: connect > > I checked my Gmail history, it looks like the last sendmail command was executed a couple of weeks ago. Since then, obviously there could have been some program / system changes. But I don't see any Windows Updates applied since then, except for an Internet Explorer 8 Compatibility View List update. > > Here's what I've done to try to resolve the sendmail problem: > > I checked the Windows Firewall & confirmed that Matlab 2010a is permitted to access all ports. > > I shut down Webroot SpySweeper / AntiVirus. > > I shut down Jungle Disk Workstation. > > I closed and restarted Matlab 2010a > > ... > > Even after all these steps, I continue getting the SMTP host connection time-out error. > > Any suggestions greatly appreciated, > > Thanks, > Brad this solution, which i proposed still works... note: the port is 465... http://www.mathworks.com/matlabcentral/newsreader/view_thread/254080#658549 us
From: Brad Stiritz on 25 Mar 2010 15:18 Hi "us", Thank you so much for referring me to your previously posted solution to my sendmail problem. I executed your .NET-interface-based code in R2010a and unfortunately received an error message: >> mySmtpClient.Send(myMail) ??? Message: The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.7.0 Must issue a STARTTLS command first. 22sm55690iwn.4 Source: System HelpLink: Any further suggestions appreciated, Thanks, Brad > > this solution, which i proposed still works... > note: the port is 465... > > http://www.mathworks.com/matlabcentral/newsreader/view_thread/254080#658549 > > us
From: us on 25 Mar 2010 15:28 "Brad Stiritz" <sorry.no.contact(a)info.net> wrote in message <hogctd$f91$1(a)fred.mathworks.com>... > Hi "us", > > Thank you so much for referring me to your previously posted solution to my sendmail problem. I executed your .NET-interface-based code in R2010a and unfortunately received an error message: > > >> mySmtpClient.Send(myMail) > ??? Message: The SMTP server requires a secure connection or the client was > not authenticated. The server response was: 5.7.0 Must issue a STARTTLS > command first. 22sm55690iwn.4 > Source: System > HelpLink: > > Any further suggestions appreciated, > Thanks, > Brad but - the code is NOT .net based - it's java... did you use this very syntax(?)... props=java.lang.System.getProperties; % which does NOT use .net's SYSTEM... again, we're living behind several firewalls and it works perfectly well... us
From: Brad Stiritz on 25 Mar 2010 15:50 Hi again, I added a line of port-initialization to your code, which resolved the authentication issue. You may want to consider editing your reference posting to include the line: mySmtpClient.Port = 465; Unfortunately, in my case something weird must be going on at the system level. I'm now getting this error: >> mySmtpClient.Send(myMail) ??? Message: Failure sending mail. Source: System HelpLink: Any suggestions appreciated, Thanks, Brad "Brad Stiritz" <sorry.no.contact(a)info.net> wrote in message <hogctd$f91$1(a)fred.mathworks.com>... > Hi "us", > > Thank you so much for referring me to your previously posted solution to my sendmail problem. I executed your .NET-interface-based code in R2010a and unfortunately received an error message: > > >> mySmtpClient.Send(myMail) > ??? Message: The SMTP server requires a secure connection or the client was > not authenticated. The server response was: 5.7.0 Must issue a STARTTLS > command first. 22sm55690iwn.4 > Source: System > HelpLink: > > Any further suggestions appreciated, > Thanks, > Brad > > > > > this solution, which i proposed still works... > > note: the port is 465... > > > > http://www.mathworks.com/matlabcentral/newsreader/view_thread/254080#658549 > > > > us
|
Next
|
Last
Pages: 1 2 Prev: FFT old program Next: Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap space |