Emailing Through SMTP, Not PHP Mail()

Apr 4, 2009

PHP manual says:

Quote:

Note: It is worth noting that the mail() function is not suitable for larger volumes of email in a loop. This function opens and closes an SMTP socket for each email, which is not very efficient.

I have a VPS and cPanel.

How can I get the SMTP host, user, pass and port?

View 1 Replies


ADVERTISEMENT

VPS For Emailing

Apr 22, 2009

vps for sending out 500 emails per hour. Some of the emails in the list may not be working so they may stack up on the server.

View 2 Replies View Related

I Want To Stop Emailing Myself

Dec 25, 2008

I want to stop emailing myself

I have received quite a few emails from senders claiming to be the recipients [in this case one of my email accounts]. I did not send these emails. This is happening with almost every email account I have setup on one of my domains.

I know this is probably an easy fix-- I am simply unsure of what it is.

I noted that someone else recently posted a similar question-- with only one response. I wanted to see if another post my garner another response.

View 3 Replies View Related

Emailing And MX Records

Jun 15, 2007

I've just designed a site and the company have just told me they have their own mail server.

I've never touched mx records before as I've always had mail collected on the server which hosts the site so this is new territory for me.

What's got me a bit stumped is where are the mx records controlled - with the domain registrar, the hosting company or both? I've gone into the account and changed the DNS MX records with the hosting company (Cpanel). I've double checked I've done it right with the hosting company and they've said it seems fine... But it's not - I keep getting failed deliveries:

xxx@xxx.com
SMTP error from remote mail server after RCPT TO: <xxx@xxx.com>:
host company.mail.server.co.uk [88.88.88.88]:
550 5.7.1 Unable to relay for xxx@xxx.com

(email, server, and ip edited out)

The hosting company did say it might take some time to propagate, but I have a hunch it isn't going to work.

Now, I've got a couple of different registrars I use and one of them lets you edit mx records directly while the other one doesn't... Which leads me to think that you can control the mx records with both, but the domain has priority?

View 4 Replies View Related

Emailing From Php Forms

Dec 6, 2007

I have one domain that is having issues sending e-mail from any php forms, etc. They do have their MX records pointing out to a different service...is there anything special I need to have them do in order for this to work?

Also, do I need to check or uncheck "Always accept mail locally even if the primary mx does not point to this server."

I'm running Cpanel 11

View 5 Replies View Related

My Server Keeps Emailing Me

Aug 15, 2007

Although it's only twice a day, it's quite annoying. I have two almost identical file servers, one however sends me an email at 2:46pm and 6:00pm everyday. The first email looks like this...

Code:
From: root@server1-host.crysis-online.com (Cron Daemon)
To: root@server1-host.crysis-online.com
Subject: Cron <root@server1-host> /scripts/upcp
X-Cron-Env: <SHELL=/bin/sh>
X-Cron-Env: <HOME=/root>
X-Cron-Env: <PATH=/usr/bin:/bin>
X-Cron-Env: <LOGNAME=root>
X-Cron-Env: <USER=root>
Message-Id: <E1ILAjj-0000WN-J7@server1-host.crysis-online.com>
Date: Wed, 15 Aug 2007 00:44:14 -0400

Updating /scripts...
Sync Source: [url]
Fetching [url]
(0)....@69.90.250.34......connected......receiving......Done
Fetching [url](0)....@69.90.250.34......connected......receiving...26%...53%...80%...100%......Done
Fetching http://httpupdate.cpanel.net/cpanelsync/RELEASE/scripts/unsetupfp4.bz2 (0)....@69.90.250.34......connected......receiving...100%......Done
Got file ./unsetupfp4 ok (md5 matches)
Fetching[url](0)....@69.90.250.34......connected......receiving...37%...74%...100%......Done
Got file ./pkgacct ok (md5 matches)
Fetching [url]
(0)....@69.90.250.34......connected......receiving...100%......Done
Got file ./eximup ok (md5 matches)
Fetching...
and it keeps going. It looks like it's a scheduled c-panel update of some sort which happens everyday. The second email looks like this (sent at 6pm everyday)...

Code:
################### LogWatch 5.2.2 (06/23/04) ####################
Processing Initiated: Wed Aug 15 04:02:06 2007
Date Range Processed: yesterday
Detail Level of Output: 0
Logfiles for Host: server1-host.crysis-online.com ################################################################

--------------------- SSHD Begin ------------------------

Users logging in through sshd:
root:
xxx.xxx.dataco.com.au (xxx.xxx.xxx.xxx): 1 time

SFTP subsystem requests: 1 Time(s)

---------------------- SSHD End -------------------------

------------------ Disk Space --------------------

/dev/mapper/VolGroup00-LogVol00
73G 19G 51G 27% /
/dev/hda1 99M 19M 76M 20% /boot

###################### LogWatch End #########################

I understand that these are most certainly both Cron Jobs, but I don't know how to identify them, or get rid of them. Anyway care to tell me how? I've got SSH access to the server and use both putty and WinSCP to access it.

View 6 Replies View Related

Unlimited Emailing Functions On VPS

Jun 24, 2009

Are there companies out there that allow unlimited emailing capabilities on a VPS server? What kind of budget would be best to get this capability? Am I better of going with a dedicated server?

View 1 Replies View Related

Server For Emailing Clients

May 25, 2008

I need a server dedicated just to emailing prospected clients.

Can anyone turn me onto a decent provider who does not mind excessive mail?

View 11 Replies View Related

Plesk Emailing Dr.Web Emails

Feb 11, 2007

Hi all... Ok the situation is this. My DrWeb died a few weeks ago and then I started to receive 100's of emails trying to connect to DrWeb. This was resolved, but everyday without fail I receive these two emails and wonering if anyone can tell me why?

Quote:

From: MAILER-DAEMON@mydomain.net
Subject: failure notice
Date: 11 February 2007 9:00:05 AM
To: postmaster@ mydomain.net

This is the qmail-send program at mydomain.net.

I tried to deliver a bounce message to this address, but the bounce bounced!

<anonymous@ mydomain.net>:
This address no longer accepts mail.

--- Below this line is the original bounce.

Return-Path: <>
Received: (qmail 3086 invoked for bounce); 11 Feb 2007 09:00:04 +1100
Date: 11 Feb 2007 09:00:04 +1100
From: MAILER-DAEMON@ mydomain.net
To: anonymous@ mydomain.net
Subject: failure notice

Hi. This is the qmail-send program at mydomain.net.
I'm afraid I wasn't able to deliver your message to the following addresses.
This is a permanent error; I've given up. Sorry it didn't work out.

< mydomain@ mydomain.net>:
This address no longer accepts mail.

--- Below this line is a copy of the message.

Return-Path: <anonymous@ mydomain.net>
Received: (qmail 3078 invoked by uid 10003); 11 Feb 2007 09:00:04 +1100
Date: 11 Feb 2007 09:00:03 +1100
Message-ID: <20070210220003.2031.qmail@ mydomain.net>
From: root@ mydomain.net (Cron Daemon)
To: mydomain@ mydomain.net
Subject: Cron < mydomain@ mydomain > /usr/bin/php -q /var/www/vhosts/mydomain.net/httpdocs/whmcs/admin/cron.php > /dev/null
X-Cron-Env: <SHELL=/bin/sh>
X-Cron-Env: <HOME=/var/www/vhosts/mydomain.net>
X-Cron-Env: <PATH=/usr/bin:/bin>
X-Cron-Env: <LOGNAME= mydomain >
X-Cron-Env: <USER= mydomain >

PHP Notice: Undefined variable: attachments_dir in /var/www/vhosts/mydomain.net/httpdocs/whmcs/admin/../dbconnect.php on line 7
PHP Notice: Undefined variable: downloads_dir in /var/www/vhosts/mydomain.net/httpdocs/whmcs/admin/../dbconnect.php on line 10
PHP Notice: Undefined variable: display_errors in /var/www/vhosts/mydomain.net/httpdocs/whmcs/admin/../dbconnect.php on line 18
PHP Notice: Use of undefined constant E_NONE - assumed 'E_NONE' in /var/www/vhosts/mydomain.net/httpdocs/whmcs/admin/../dbconnect.php on line 19

Quote:

From: MAILER-DAEMON@ mydomain.net
Subject: failure notice
Date: 11 February 2007 9:42:15 AM
To: postmaster@ mydomain.net

This is the qmail-send program at mydomain.net.

I tried to deliver a bounce message to this address, but the bounce bounced!

<anonymous@ mydomain.net>:
This address no longer accepts mail.

--- Below this line is the original bounce.

Return-Path: <>
Received: (qmail 3568 invoked for bounce); 11 Feb 2007 04:42:16 +1100
Date: 11 Feb 2007 04:42:16 +1100
From: MAILER-DAEMON@ mydomain.net
To: anonymous@ mydomain.net
Subject: failure notice

This is the qmail-send program at mydomain.net.

I'm afraid I wasn't able to deliver your message to the following addresses.

This is a permanent error; I've given up. Sorry it didn't work out.

<drweb@ mydomain.net>:
This address no longer accepts mail.

--- Below this line is a copy of the message.

Return-Path: <anonymous@ mydomain.net>
Received: (qmail 3564 invoked by uid 111); 11 Feb 2007 04:42:16 +1100
Date: 11 Feb 2007 04:42:15 +1100
Message-ID: <20070210174215.3542.qmail@ mydomain.net>
From: root@ mydomain.net (Cron Daemon)
To: drweb@mydomain.net
Subject: Cron <drweb@mydomain> /opt/drweb/update.pl
X-Cron-Env: <SHELL=/bin/sh>
X-Cron-Env: <HOME=/var/drweb>
X-Cron-Env: <PATH=/usr/bin:/bin>
X-Cron-Env: <LOGNAME=drweb>
X-Cron-Env: <USER=drweb>

Dr.Web (R) update details:
Update server: http://update.msk3.drweb.com/unix/433
Update has began at Sun Feb 11 04:42:03 2007
Update has finished at Sun Feb 11 04:42:15 2007

Following files had been updated:
/var/drweb/bases/dwntoday.vdb
/var/drweb/updates/drwtoday.txt
/var/drweb/updates/dwntoday.txt
/var/drweb/bases/drwtoday.vdb

View 2 Replies View Related

Exim Mail Server :: Your Outgoing SMTP E-mail Server Has Reported An Internal Error ...

Jul 2, 2008

I getting this error when our clients are sending mail from outlook but they are able to send mail from webmail.

we are using exim mail server and whm . i can't understand where is problem , anybody can help me ?

Sending' reported error (0x800CCC6A) : 'Your
outgoing (SMTP) e-mail server has reported an internal error. If you
continue to receive this message, contact your server administrator or
Internet service provider (ISP). The server responded: 451 Please try again
later.

View 4 Replies View Related

SMTP/php Mail

Aug 23, 2007

I'm having an issue with php sending mail on my server...its not working!

I have a windows 2000 server running IIS 5 along with PHP. Now I know my scripts in PHP are correct, but they aren't sending out mail. I cannot receive them anywhere.

Is there something I have to configure in the PHP.ini file? Is SMTP setup by IIS5 or do I need to do anything?

View 8 Replies View Related

Mail.mysite.com For Smtp

Aug 10, 2008

For configuring mail.mysite.com as a smtp server so as tom send mails using it on port 25. Do i need to create a subdomain with "mail" and if so what shal be ip address that should be mapped to ip. Th ip address of the vps hosting or of that of domain name as ns1.domaincompany.com.

The issue is that I am not able to ping mail.myite.com ; I have installed postfix

debian:/var/www/ispconfig# telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.localdomain.
Escape character is '^]'.
220 mail.mysite.com ESMTP Postfix (Debian/GNU)
ehlo localhost
250-mail.mysite.com
250-PIPELINING
250-SIZE 10240000
250-VRFY
250-ETRN
250-STARTTLS
250-AUTH LOGIN PLAIN
250-AUTH=LOGIN PLAIN
250-ENHANCEDSTATUSCODES
250-8BITMIME
250 DSN

View 5 Replies View Related

VPS And Smtp Mail Server

Jul 13, 2007

I recently purchased a VPS, to host all my domains and so I can start working on my sites. The problem is however that I have noticed that my provider does not allow individual smtp servers. Is this normal for a VPS? Is there a solution to the problem that I could suggest?

The problem is that the sender is added as host.myhostdomain.com and not smtp.mydomain.com, where mydomain.com is the domain that I want to create a website for and myhostdomain.com is the name of the server.

If the SMTP server is not the same as the domain name, then my email will land in all different junkmail folders, which is not really what I had in mind. It is no use trying to build up a user database if you cant communicate with them. How should I be able to sell services, if I cant send an e-mail to my customers?

I just dont know. I have to admit that I am a bit disappointed. It is not like I am paying a forture, but I am realistic. If one of them gets big I probably have to host them individually, but until I get more traffic this is a good solution.

My hosting provider runs Cpanel/WHM/Fantastico/XController, if that helps.

I have already tried to approach customer support about this issue, but the response was simply "With the PHP email issue, there really isn't a way to have it sent from some other address. It is technically coming from the hostname, so it will be labeled as such. In the php script, you can have it set to a different from
address, but the actual sender will be from the hostname."

View 5 Replies View Related

How To Change My Mail SMTP Relay Ip ?

Jul 23, 2008

I m using cpanel and exim 4 and my server ip is black list. Now i want to change my server ip address.

How can i do this?

I have edited exim.conf

Remote_smtp:
driver = smtp
interface = 192.168.0.1

But it is not working please guide me any other way.

View 2 Replies View Related

How To Setup IIS SMTP To Copy ALL Sent Mail

Nov 27, 2008

I want to config my IIS SMTP server to copy ALL sent mail to another address.

Or, to log in more detail what was sent (I have W3C logging turned on but it doesnt record the mail subject or body).

Basically when a user complains they didnt get an email, I want to be able to look in the log to see (a) the mail was sent and (b) the body/subject of the mail.

View 5 Replies View Related

Mail() And SMTP Not Woking On Just One Account

Mar 26, 2008

One of my accounts, which of course is my main account, are unable to send out emails using either the php mail() function or SMTP, but regular email can be sent and received normaly.

All other accounts on the server works just fine though and I have deleted and setup all emails on that account and pretty much poked it anyway I can with no success.

When attempting to send emails from this account it does not show up in any error logs, email ques or anything like that as far as I can tell...it just get stuck in mid air like tha functions are never called...

Its like a ghost in the machine [url]

View 3 Replies View Related

How To Setup Smtp Outgoing Mail

Nov 26, 2007

i just have a vps with plesk installed, since this is my first time have a vps, i have run into some problem,

so here is the problem.

i want to use pop3 account directly from my outlook, but i don't know how to fill the smtp outgoing address, which mean, i can logged in to account by i cannot send the mail via outlook, but if i'm using the webmail provided by plesk it's just run fine.

here is my dns config, please take a look:
note: domain name changed to domain(dot)com because newbie cannot post url link in this forum...

Host | Record Type | Value
--------------------------------------------
123(dot)123(dot)123(dot)123 / 24 | PTR | domain(dot)com

ftp(dot)domain(dot)com | CNAME | domain(dot)com

mail(dot)domain(dot)com | A | 123(dot)123(dot)123(dot)123

ns(dot)domain(dot)com | A | 123(dot)123(dot)123(dot)123

domain(dot)com | NS | ns(dot)domain(dot)com.

domain(dot)com | A| 123(dot)123(dot)123(dot)123

domain(dot)com | MX (10) | mail(dot)domain(dot)com.

webmail(dot)domain(dot)com | A| 123(dot)123(dot)123(dot)123

www(dot)domain(dot)com | CNAME |domain(dot)com.
-----------------------------------------------------

i've tried few such as webmail.domain.com but still cannot work in smtp outgoing email in outlook.

View 0 Replies View Related

Mail() - SMTP - And Server Queue

Mar 7, 2007

I have made any test with PHP x high volume sent with mail() and with direct STMP connection

I monitoring under WHM of my server the QUEUE (under mail queue manager)

With the first (mail()) I see only 20% in the queue, other is sent immediately

With the SMTP I see 100% on the queue and I must send manually (with delivery now) and sent is really slowly

View 13 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved