Hi,
I have my code here, it works fine from my home, where my user is administrator, and I am connected to internet via a cable network.
But, problem is when I try this code from my work place, it does not work. Shows error:
"unable to connect to the remote server"
From a different machine in the same network:
"A socket operation was att...
Hi all!
I am using openssl to build secure smtp connections to gmail.com:25. So I can successfully connect to the server and sends a command STARTTLS (I receive 220 2.0.0 Ready to start TLS). Then execute the following code without disconnecting:
SSL_METHOD* method = NULL;
SSL_library_init();
SSL_load_error_strings();
method = SSLv23_...
I have written a C# dot net application that updates the SMTP relay restriction list in IIS 6. Running the application locally works great and I can add/remove IPs/DNS from the relay restriction list without any problem. Now I need to do the same for a SMTP server that is not running on the same webserver that I have the application ru...
I've setup a Windows SMTP server and a Windows POP3 service on Windows Server 2003. Can I have the SMTP server send directly to the POP3 service without setting up a public IP address and domain? The Windows Server is a VM in it's own Workgroup (no other computers) sitting on top of a corporate network.
...
How do I attach a file with a very unfriendly name (like a file with a session Id number in it) but have it attached as another name?
The file name in question has the session ID in it to avoid clashes name on the web server but when I attach it to the file, a friendlier name is preferable.
Is there a way to attach the file with the u...
I'm trying to send simple email via Ruby (no rails) on OS X, with XCode (which installs Ruby.) But I'm running into a problem with my smtp server which requires the email client to check mail before sending as a form of authentication.
How can I get Ruby to authenticate with the smtp server in a "POP" fashion before I can send mail? Not...
I wonna send email through gmail smtp, but users should see my corporative "From"
SmtpClient smtp = new SmtpClient("smtp.gmail.com", 587);
smtp.EnableSsl = true;
smtp.Credentials = new NetworkCredential("[email protected]", "pass", "mail.dynback.com");
I am getting SmtpException:
"The SMTP server requires a secure connection or the cli...
sHi folk,
I've been storing SQL connection strings in web.conf which is fine but now I need to store SMTP credentials somewhere protected. web.conf seems like the likeliest place since its protected but how can they be stored?
I've added the details to my web.conf but amnot sure how to reference them
<system.net>
<mailSettings>
...
I'm developing a web application that will send emails on behalf of a logged-in user.
I'm trying to use the new Gmail OAuth protocol announced described here to send these emails through the user's Gmail account (preferably using SMTP rather than IMAP, but I'm easy). However, the sample PHP code gives me a couple of problems.
All o...
I wish to code a little service where I will be able to send an e-mail to a specific address used by my server to send specific commands to my server.
I'll check against a list of permitted e-mail addresses to make sure no one unauthorized will send a command to the server, but how do I make sure that, say, an e-mail sent by "mrzombie@t...
I'm using PHPMailer to send out site contacts.
In development, the script works perfectly with the GMail service over smtp. However, in production, inside the client's DMZ, it appears unable to connect to the SMTP service they have there. I have connected to the same service using telnet to port 25, so I know for sure it exists and is a...
Hi my name is what, my name is who.. ops got carried away
Now this might be a serverfault question and a stackoverflow question but I will go with it here because I don't really know the answer.
I been sending mail a lot with asp.net before and never had problems like this before.
I have setup a mail with this following code
var list...
I have a python code to send a text message to your cellphone using SMTP. when I run it I don't get any errors, but it doesn't send the text message. My code isn't finished, right now I am just getting the basics down. Any help on making it send would be appreciated.
#infile = open('companyname.txt', 'r')
import sys
import smtplib
...
Hi
I am trying to setup a smtpappender for log4j using gmail as the smtp host.
I have read that the port number needs to be 465 or 587 (depending on tls or ssl) and that log4j for some reason doesnt allow a different port to be set inside log4j.properties configuration file.
I have read that the best way of doing this would be to us...
Hi everyone,
I'm looking for some opinions here, I'm building a web application which has the fairly standard functionality of:
Register for an account by filling out a form and submitting it.
Receive an email with a confirmation code link
Click the link to confirm the new account and log in
When you send emails from your web applic...
Has anyone ever tried sending emails using 1&1 smtp host? I tried the following?
SmtpClient mailClient = new SmtpClient("smtp.1and1.com", 587);
mailClient.Credentials = new NetworkCredential("[email protected]", "password");
But it always gives me a security exemption error...
I tried it using my local host and it works fine.....
Hi,
I was wondering if anyone might be able to explain to me why it's taking nearly 30 seconds each time my Java web app sends an email using Gmail's SMTP server? See the following timestamps:
13/04/2010-22:24:27:281 DEBUG test.service.impl.SynchronousEmailService - Before sending mail.
13/04/2010-22:24:52:625 DEBUG test.service.impl.S...
I have recently configured IIS 7.5 to use the SMTP server. Now, I have my ASP .Net application that was running in IIS 6 fine, moved over to IIS 7.5. The website had email functionality, but this has no stopped working. Has anyone else managed to get IIS 7.5 SMTP working with ASP.Net?
EDIT:
The website is load balanced, would this ma...
I have an SMTP server that requires secure password authentication (e.g. Outlook requires to check SPA). Is there a way to deal with it with Django SMTPConnection?
Or maybe ideas about any python solution to deal SPA?
Honestly, I couldn't find enough about SPA, to understand what is it exactly:
en.wikipedia:Secure_Password_Authenticat...
Greetings all.
I'm faced with an issue with basic SMTP.. I would like to set the return-path header to an address other than the Sender address (i.e. From: Header) using SMTP command. I know MAIL -F sets it. However, I issued the following sequence of commands into my mail daemon (TELNET rlogin) and got the SMTP error 503 - Bad Command ...