sendmail

What's the best way to send emails from an asp.net page?

Hi all, what is the best way to send an email from an asp.net page? I don't mean the code to actually send the message, I mean, for example, in my application, the lost password link sends an email to the user when a button is clicked, but if the smtp server takes 10 seconds to send the message, the user will wait the page to load for 1...

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. ...

What's the difference between sendmail via CGI vs. Perl?

I am using sendmail in perl and noticed (after much banging of head against wall) that when the script is run at the command line it needs you to leave out the \n(s) after your e-mail and the recipient's email address in order to format the mail correctly, but when running via CGI if those \n(s) aren't there it returns an error stating t...

php mail using sendmail.exe

Hi, I am using XAMPP on a localhost windows VISTA m/c...using gmail as smpt server I am trying to send an email using simple PHP script here is the configuration details on sendmail.ini(I have the sendmail.exe and the other 2 dll in that directory) smtp_server=smtp.gmail.com ; smtp port (normally 25) smtp_port=465 ; the default do...

How can I delay mail delivery through an SMTP relay, possibly sendmail

I have a requirement to delay mail delivery through an SMTP Relay. i.e. Mail message is successfully recieved at time T. Forward Message to destination at time T+4hours. Is this possible in sendmail or any other SMTP Relay. Deployment platform is IBM AIX. ...

email host marked as spam mule by site with a rooster

Recently I was configuring sendmail on a new linux server install and there was a configuration problem. I was given a link to a website that had the image of a rooster on it and told to consult them for configuration problems. I cant remember the url of the site, but it's apparently a well-known one. Can someone here remind me of wha...

Correct format of an Return-Path header

My application uses sendmail to send outbound email. I set the 'From:' address using the following format: Fred Dibnah <[email protected]> I'm also setting the Reply-To and Return-Path headers using the exact same format. This seems to work in the vast majority of cases but I have seen at least one instance in which this fails, name...

How do I send mail to my google apps mail server from the webserver with the same name (using sendmail) on a shared hosting environment?

I'm experiencing a similar issue to the one raised in this question. sendmail (via PHP) will send an email unless its to an address with the same domain as the server its on. I understand this is because the sendmail is trying to send the email locally. I have limited control over the server, as its a shared hosting environment. I'...

Configure sendmail to not deliver mail to local machine

I have sendmail up and running on an Ubuntu linux machine, and it can send mail correctly to all but the domain to which it is a part. How do I configure it to not send to itself for email addresses on its domain? Matt ...

How do I throttle outbound email with sendmail?

I know, I know, I should switch to Postfix. But in the meantime, how do I throttle outbound email (especially email to a single domain) in Sendmail? ...

Which SMTP server should I use, when develop im my PC?

Which SMTP server should I use, when develop im my PC? I currently use mercury, just because it's come with XAMPP. but mercury is too difficult for me. because it has too much settings. so I am seeking more easy to use SMTP soft. is there any easy SMTP soft there? ...

Proper permission for sendmail.cf when apache sends mail on linux

I have a web application (bugzilla) in apache that needs to use sendmail.cf . When it tries to use sendmail I get the error: /etc/mail/sendmail.cf: line 0: cannot open: Permission denied the web application is in group "apache" Permissions for sendmail look like: -rw-r--r-- 1 root root 58624 2008-03-29 05:27 sendmail.cf What do th...

php send mail code not working

php $to = "[email protected]"; $subject = "Hi!"; $body = "Hi,\n\nHow are you?"; if (mail($to, $subject, $body)) { echo("pMessage successfully sent!/p"); } else { echo("pMessage delivery failed.../p"); } wrote a basic php sendmail code that but it gives me the following error Warning: mail() [function.mail]: "sendmail_fro...

How can I monitor outgoing email from Unix and Sendmail?

I am running a FreeBSD server and I have been sent a warning that spam has been sent from my server. I do not have it set as an open relay and I have customized the sendmail configuration. I'd like to know who is sending what email along with their username, email subject line as well as a summary of how much mail they have been sending....

How to get extra error information from PHP's mail() failure?

When mail() fails, there not much info about what went wrong. I understand that the best course of action is to check your sendmail logs, or whatever mailer has PHP used. But from a programming and pragmatic, point of view: on a Linux hosted environment, what can a PHP program do to get as much extra info to properly log the failure, pro...

PHP, postfix, sendmail, thunderbird for local dev only

Hey, I'm trying to get php's mail function working on my local dev box in such a way where all mail sent using mail(), regardless of recipient, would stay local and show up in a thunderbird account (pop/imap/etc). I've got php set up to use sendmail and I've got postfix installed. But i'm at a loss where to go next. Any pointers? ...

Sendmail throttling?

I need to send out ~2000 emails via a sendmail server to email address's from all over the web, should I send them all at once or throttle sending? How well can sendmail handle 2000 emails being sent all at once? ...

Why does this PHP error reference localhost?

I'm running XAMPP on my local machine and on a server in the office. Both are Windows machines. I'm writing some code that uses mail() to send email from a form. By default, it uses sendmail.exe (which comes with XAMPP) to send the email. In all cases, the mail is actually sent via a third machine, which is the Exchange server. From m...

Easiest setup of email form on IIS 6 using PHP or ASP

Hey, I've tried several variations of ASP & PHP native & 3rd party mailer programs. I have hit a wall at almost every point between setting ini parameters from within the scripts to permission denied/transport fails. I would be wasting time to show my examples for what I've tried so far. All my searches produce too many results with t...

Sendmail vs SMTP

A rails application in production should use smtp or sendmail to send mails? ...