smtp

How do I set up smtp on Vista so I can use System.Net.Mail?

Hi, From what I understand there is no SMTP server in IIS on Vista. I am working on a project which will require me to send email. I'd like to start with some simple prototypes on my development box which is running Vista Ultimate. I'm not connected to a corporate network where I can just use an exchange server someplace. I realize ...

How can I handle secondary authentication in Google Mail from Perl?

This is a pure Google Mail question. I am accessing Google Mail via Perl's Net::SMTP::SSL module. From time to time the authentication fails not because of a bad password, but because of some additional password check. The only way to unlock it is via the web interface with an additional entry of text presented as an image. Has anyone s...

VBA SMTP Libraries

Does anyone know of any SMTP libraries that I can put directly into MS Access as a class module that does not rely on the Winsock dll or ocx or any other third party products? We are currently using the SendObject functionality in MS Access but that is interfering with the Access runtime library. ...

How to send mail with ruby over smtp with ssl (not with rails, no TLS for gmail)

Hello, All I want is to send emails from my ruby scripts, over SMTP using SSL. I only find examples of doing it from Rails, or for Gmail with TLS. I found people talking about SMTPS support with ruby 1.8.5, but the libdoc doesn't mention it. Anyone with an example of sending mail over SMTP with SSL, on port 465? ruby -v ruby 1.8.7 ...

Send email using GMail SMTP server from PHP page

I am trying to send an email via GMail's SMTP server from a PHP page but I get this error: authentication failure [SMTP: SMTP server does no support authentication (code: 250, response: mx.google.com at your service, [98.117.99.235] SIZE 35651584 8BITMIME STARTTLS ENHANCEDSTATUSCODES PIPELINING)] Can anyone help? Here is my code: <?p...

How can I test C# SmtpClient code in Vista

I have to test some C# code which sends simple HTML content with Attachment through SMTP server. How can I make sure my code works. My machine is Vista and have IIS-7, I don't want to connect to any external SMTP ...

problems sending email to SMTP with PHPMailer

I get the following error log when trying to send a message through an Exchange server: SMTP -> get_lines(): $data was "" SMTP -> get_lines(): $str is "220 mail.borschow.com Microsoft ESMTP MAIL Service, Version: 6.0.3790.1830 ready at Tue, 7 Apr 2009 21:56:53 -0400 " SMTP -> get_lines(): $data is "220 mail.borschow.com Microsoft ESMT...

SMTP Mail Sending

Hi, I am using following code to send email: MailMessage Mailer = new MailMessage(); Mailer.From = new MailAddress(From); Mailer.To.Add(new MailAddress(To)); Mailer.Subject = Subject; Mailer.Body = Body; Mailer.IsBodyHtml = isBodyHTML; SmtpClient mSmtpClient = new SmtpClient(); mSmtpClient.Host = "ExchangeServer.XXX.YYY.COM"; // Our Ex...

How to use Zend_Mail_Transport_Smtp with hosted Google Apps?

So I'm under the impression that bad things will happen if I don't use Zend_Mail_Transport_Smtp when sending lots of emails. Problem is...I can't figure out how to set it up. I host my website through DreamHost, and have my email (and other domain specific apps) through google. So to access my email, I go to mail.mydomain.com, which take...

see "sent mail" with sendmail

I have an application that sends email by relaying it through sendmail. Can I see mails sent in the past? Are they kept somewhere, perhaps in the logs. I don't necessarily need the complete email, body, attachments, etc. ...

"SMTP incoming data timeout" when sending email with inline images using Indy 10 in Windows XP

I'm getting the error "SMTP incoming data timeout" when I try to send an email with inline images in Windows XP, I'm using the tiburon branch of Indy 10 with the following code to send emails with inline images: MB := TIdMessageBuilderHtml.Create; try MB.PlainText.Assign(Text); MB.Html.Assign(FHTML); MB.HtmlFile...

postfix: send a copy of every email to a given email address

I have a postfix email server and there is an issue I want to debug. How can I configure it to send a copy of every email to my email (in addition to delivering the email to its intended recipients). ...

How do I set the SMTP ENVID using system.net.mail

The SMTP spec allows for an envelopeid to be specified in the "MAIL FROM" command. This associates an id in the email envelope that can be used by MTAs for determining deliverablility of the message. When using the .NET framework library system.net.mail. I cannot seem to find a way to set the SMTP envelope id. This is the second time I...

PHPMailer and SMTP: Mail never shows up when sent from remote server, works fine on local machine.

I have a script that uses PHPMailer to send out an email. The email is sent with a direct SMTP connection to a remote mail server. The problem is that while everything seems to be okay when I run the script on my local machine, when the script is run on our live site using the same remote SMTP server the email never gets through. What...

Send Email via C# through Google Apps account

Hello, I have a standard Google Apps account. I have setup a custom domain through Google Apps. I am able to send and receive emails successfully through Google Apps when I use the Gmail interface. However, I want to send an email via code. In order to attempt this, I have been trying the following code: MailMessage mailMessage = new M...

How to do pop before smtp with Zend Mail ?

Hi All I just started to use Zend Mail Compoment and i need pop before smtp, but in the zend mail doc no mention about that. Can anyone advise on that ? Thanks ...

"The remote certificate is invalid according to the validation procedure." - Please help

Hello, I'm getting this error "The remote certificate is invalid according to the validation procedure." whenever I try to send e-mail using gmail's SMTP server in my C# code. Can someone point me to the right direction for a solution to this problem? The following is the stack trace... at System.Net.Security.SslState.StartSendAuthRes...

smtplib and gmail - python script problems

Here's my script: #!/usr/bin/python import smtplib msg = 'Hello world.' server = smtplib.SMTP('smtp.gmail.com',587) #port 465 or 587 server.ehlo() server.starttls() server.ehlo() server.login('[email protected]','mypass') server.sendmail('[email protected]','[email protected]',msg) server.close() I'm just trying to send an email ...

What is the proper way to configure SMTPAppender in log4j?

I'm trying to configure log4j to use the SMTPAppender but I keep getting relay access denied errors. I get this error when executing my code on my laptop AND straight from my shared hosting environment. Here's the relevant config: #CONFIGURE SMTP log4j.appender.email=org.apache.log4j.net.SMTPAppender log4j.appender.email.SMTPHost=mydo...

.NET SMTP SendAsync with AlternateViews throws disposed exception

I am trying to send E-mails asynchronously and it works fine as long as there isn't an AlternateView attached to the e-mail. When there is an alternate view, I get the following error: Cannot access a disposed object. Object name: 'System.Net.Mail.AlternateView' System.Net.Mail.SmtpException: Failure sending mail. ---> System.ObjectDis...