I hope someone out there can tell me if I have something configured wrong or if this is a Heroku bug.
When I email someone at a University, the email somehow comes in with a herokuapp extension in the email address that does not really exist. Then when people try to reply, it bounces back because that email doesnt exist. An example of this is below.
I'm hoping I have a CName configured wrong or something. I am not using A records, all CName records. My first CNAME record is an # record with the value of challengage.herokuapp.com.
Let me know if you can help! Much appreciated.
---------- Forwarded message ----------
From: David DiMaggio
Date: Monday, July 15, 2013
Subject: FW: Challengage - Work Team Simulation product for interviewing evaluations
To: "Paul Klopfer (paul#challengage.com)" <paul#challengage.com>
Paul,
This is the message below that I receive when I reply to your emails that come from this address: paul#challengage.herokuapp.com
David C. DiMaggio
Program Manager
CASE Co-op Program
Syracuse University
Center for Science & Technology
Room 1-232
Syracuse, NY 13244-4100
315-443-5018; Fax 315-443-4745
Cell: 315-436-1124
http://case.syr.edu/coops/index.php
-----Original Message-----
From: Mail Delivery Subsystem [mailto:MAILER-DAEMON#smtp2.syr.edu]
Sent: Monday, July 15, 2013 2:08 PM
To: David DiMaggio
Subject: Undeliverable: FW: Challengage - Work Team Simulation product for interviewing evaluations
Delivery has failed to these recipients or groups:
paul#challengage.herokuapp.com
The server has tried to deliver this message, without success, and has stopped trying. Please try sending this message again. If the problem continues, contact your helpdesk.
The following organization rejected your message: challengage.herokuapp.com.
Diagnostic information for administrators:
Generating server: smtp2.syr.edu
paul#challengage.herokuapp.com
challengage.herokuapp.com #<challengage.herokuapp.com #4.4.7> #SMTP#
Original message headers:
Return-Path: <ddimaggi#syr.edu>
Received: from suex10-hub-01.ad.syr.edu ([128.230.108.124])
by smtp2.syr.edu (8.14.5/8.14.5) with ESMTP id r68GaQdR008193
(version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL);
Mon, 8 Jul 2013 12:36:26 -0400
Received: from SUEX10-MBX-09.ad.syr.edu ([128.230.108.192]) by
suex10-hub-01.ad.syr.edu ([128.230.108.124]) with mapi id 14.03.0123.003;
Mon, 8 Jul 2013 12:36:26 -0400
From: David DiMaggio <ddimaggi#syr.edu>
To: "'Paul Klopfer'" <paul#challengage.herokuapp.com>
CC: "'Hendrickson, Cindy (GE Corporate)'" <lucinda.hendrickson#ge.com>
Subject: RE: FW: Challengage - Work Team Simulation product for interviewing
evaluations
Thread-Topic: FW: Challengage - Work Team Simulation product for
interviewing evaluations
Thread-Index: AQHOcuA7MvWUIninI0ObOEkuTugrYJlSpdKAgAhmsmA=
Date: Mon, 8 Jul 2013 16:36:25 +0000
Message-ID: <832C225B54BD58489EF60E1B2B7D1165264525#SUEX10-mbx-09.ad.syr.edu>
References: <832C225B54BD58489EF60E1B2B7D11652618DF#SUEX10-mbx-09.ad.syr.edu>
<832C225B54BD58489EF60E1B2B7D1165261BF0#SUEX10-mbx-09.ad.syr.edu>
<CAHGmi1POvrk1F954ViRL5xEHKDqN1sqFvqk6XWMH=U12VjO3PA#mail.gmail.com>
<CAHGmi1Ofb13g7MenaT4Q69VJ=wU8fJcMdDpWih9P4tMC_4nsJA#mail.gmail.com>
In-Reply-To: <CAHGmi1Ofb13g7MenaT4Q69VJ=wU8fJcMdDpWih9P4tMC_4nsJA#mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [128.230.32.54]
Content-Type: text/plain
MIME-Version: 1.0
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.10.8794,1.0.431,0.0.0000
definitions=2013-07-08_02:2013-07-08,2013-07-08,1970-01-01 signatures=0
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 suspectscore=0 phishscore=0
adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1
engine=7.0.1-1305240000 definitions=main-1307080139
You've configured the wrong from address in the outgoing transaction e-mails from your Heroku app.
You have a valid e-mail configuration on chalengage.com and a heroku app challengage.herokuapps.com that can't receive email.
You need to change your outgoing email address to paul#challengage.com
In Rails, you can configure the outgoing e-mail from address in your ApplicationMailer class (subclasses ActionMailer::Base) by adding/changing the default from configuration:
default from: "Paul Klopfer <paul#challengage.com>"
Related
I upload my app on siteground. I ask them already a bunch of question regarding this issue and they just gave me links to their tech articles, followed them but still doesn't work. I been searching for an answer for too long. I hope you can suggest a procedure or help me to fix this.
The issue I am having is the email verification and forgot password is being sent to spam section or in some other instance it is blocked due to security reason.
here's the bounce email I am receiving
This message was created automatically by mail delivery software.
A message that you sent could not be delivered to one or more of its
recipients. This is a permanent error. The following address(es) failed:
user#gmail.com
host outbound.mailspamprotection.com [xx.xxx.xxx.xx]
SMTP error from remote mail server after end of data:
550 This message has been reported as spam by other users.
Reporting-MTA: dns; xxxxxxx.siteground.xxxxxx
**Action:** failed
**Final-Recipient:** rfc822;user#gmail.com
**Status:** 5.0.0
**Remote-MTA:** dns; outbound.mailspamprotection.com
**Diagnostic-Code:** smtp; 550 This message has been reported as spam by other users.
MESSAGE HEADER
**Return-path:** <>
**Envelope-to:** serveremail#mysite.com
**Delivery-date:** Fri, 26 Nov 2021 19:16:44 +0000
**Received:** from mailnull by xxxxxxxx.siteground.xxxxxx with local (Exim 4.90-.1)
id 1mqgiC-000Aqa-Ln
for serveremail#mysite.com; Fri, 26 Nov 2021 19:16:44 +0000
**X-Failed-Recipients:** user#gmail.com
**Auto-Submitted:** auto-replied
**From:** Mail Delivery System <Mailer-Daemon#sgp1000.siteground.asia>
**To:** serveremail#mysite.com
**References:** <f1bb46cdbbacd8db694337f14ad1fafc#127.0.0.1>
**Content-Type:** multipart/report; report-type=delivery-status; boundary=1637954204-eximdsn-1244935018
**MIME-Version:** 1.0
**Subject:** Mail delivery failed: returning message to sender
**Message-Id:** <E1mqgiC-000Aqa-Ln#sgp1000.siteground.asia>
**Date:** Fri, 26 Nov 2021 19:16:44 +0000
here's what I have in my env file
MAIL_DRIVER=smtp
MAIL_PORT=465
MAIL_HOST=xxxxxxx.siteground.xxxxxx
MAIL_USERNAME=serveremail#site.com
MAIL_PASSWORD='mypassword'
MAIL_ENCRYPTION=ssl
MAIL_FROM_ADDRESS=serveremail#site.com
MAIL_FROM_NAME='my app name'
I have other notification functions my app that notify/email the admins. It triggers when some certain actions are made like if there's new application etc. those notifications are being sent to inbox and not in spam.
Any suggestions? or links with really working steps that I can follow? Any suggestions will be very much appreciated.
Thank you!
I tries to send email using codeigniter. I sent to gmail (# gmail.com) successfully but not for other domains example (# example.com). is there anything that could help me ??
following my code
$this->email->from($data['email'], 'Report');
$this->email->to('biosm.sa#gmail.com', 'hasan#example.com');
$this->email->set_mailtype('html');
$this->email->subject('Report '.$data['first_name'].' '.$tgl_report);
$this->email->message($report);
$this->email->send();
I get print debugger like buttom this :
Your message has been successfully sent using the following protocol: mail
From: "Report"
Return-Path:
Reply-To: "hasan#example.com"
X-Sender: hasan#example.com
X-Mailer: CodeIgniter
X-Priority: 3 (Normal)
Message-ID: <546066ca6a564#example.com>
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary="B_ALT_546066ca6a5b9"
=?utf-8?Q?Report_Mujahid_12/11/2014?=
This is a multi-part message in MIME format.
Your email application may not support this format.
I am using codeigniter email class and helper. Everything worked perfectly well just yesterday and I dont think that I have done anything with it, but now I just dont receive any emails. The print_debugger() is echoing that a mail has been successfully sent, but there is no email in my gmail inbox, nor is any in the spam.
I have also configured a James email server and I cant receive any emails on that too. I really dont know what to do. I read somewhere that maybe I had stated $this->load->library('email') multiple times, so I have deleted all that statements and instead of that I created an autoload function for that. There are no errors within the framework whatsoever but the emails just cant be received.
$config['protocol'] = 'sendmail';
$config['charset'] = 'iso-8859-1';
$this->email->initialize($config);
$this->email->from('check#mail.com', 'Admin');
$this->email->to('mygmailaccount#gmail.com');
$this->email->subject('subject');
$this->email->message('email body');
$this->email->send();
echo $this->email->print_debugger();
The output is something like this:
Your message has been successfully sent using the following protocol: sendmail
User-Agent: CodeIgniter
Date: Sun, 14 Jul 2013 21:54:39 +0200
From: "Admin"
Return-Path:
To: mygmailaccount#gmail.com
Subject: =?iso-8859-1?Q?subject?=
Reply-To: "check#mail.com"
X-Sender: check#mail.com
X-Mailer: CodeIgniter
X-Priority: 3 (Normal)
Message-ID: <51e301ffa45d3#mail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
email body
You might want to start by looking in the mail server logs on the mail server that is being used to send the outgoing message from your codeignitor script. These should show you (a) whether or not the outgoing mail server is receiving the message for queuing from your codeignitor script, and if so - (b) what is happening when delivery of the message to the remote MTA is attempted.
I'm currently working on an application that will send the user a selected coupon via email or MMS. The problem that I am running into is with the display of the MMS when the customer receives it. on Android, the image is being displayed as a video, and on iOS, everything is wrong about the message.
Here's an example of the headers that are being sent:
User-Agent: none
Date: Tue, 5 Mar 2013 10:45:12 -0500
From:
Return-Path:
Subject: =?utf-8?Q?Your_Requested_Coupon?=
To: ###########txt.att.net
Reply-To: "webadministrator#domain.com"
X-Sender: webadministrator#domain.com
X-Mailer: none
X-Priority: 3 (Normal)
Message-ID: <51361308f1651#domain.com>
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="B_ATC_51361309002f2"
This is a multi-part message in MIME format.
Your email application may not support this format.
--B_ATC_51361309002f2
Content-Type: multipart/alternative; boundary="B_ALT_51361308f3595"
--B_ALT_51361308f3595
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
--B_ALT_51361308f3595
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable
--B_ALT_51361308f3595--
--B_ATC_51361309002f2
Content-type: image/jpeg; name="promo3.jpg"
Content-Disposition: attachment;
Content-Transfer-Encoding: base64
....
IMAGE ENCODING HERE
....
--B_ATC_51361309002f2--
And the CI Code:
$this->email->from('webadministrator#domain.com');
$this->email->to('XXXXXXXXXX#PHONE_MESSAGE_CENTER.COM');
$this->email->subject('Your Requested Coupon');
$this->email->message($this->load->view('sms_email', '', TRUE));
$this->email->attach('/path/to/image.jpg'); //I've also tried passing a second param 'inline' to change the Content-Disposition to inline
Does anyone know if it is possible to use the built in email class to accomplish this, or do I need to write specific headers to make picture messaging display properly?
Also is there a proper message format for MMS: text or html?, is there a proper way to attach an image for the iOS to view?
trying to send mms from the web using an email address, example #mms.att.com, will get you blocked by the network eventually. there is not a clean way to get around this problem without support of the network or mms partner. the best solution these days is to just send an sms with a link to a mobile ad on the web.
and by the way, i'd recommend a provider like cdyne or twilio for sms (dont try to send sms via email address either!) you might also try to simply connect a 3g/4g modem and modifying the driver to programmatically shoot sms/mms messages. go at your own risk on that one ..
We have just upgraded from Microsoft Dynamics CRM 4 to Microsoft Dynamics CRM 2011. Most of the upgrade has gone smoothly, however I have some custom code (written for CRM 4) which uses the CrmDiscoveryService at the URL "https:///MSCRMServices/2007/SPLA/CrmDiscoverService.asmx" which worked fine on our Dynamics CRM 4 server but not with out Dynamics CRM 2011 server.
Our Dynamics CRM 2011 server is set up On Premise, as an IFD deployment. On the actual Dynamics CRM 2011 server box I can navigate to "https://:444/MSCRMServices/2007/SPLA/CrmDiscoveryService.asmx" and I am directed to the correct web service, however if I try to access this from any other computer I get a infinitely looped redirect.
Using Fidler I can read what is being sent when I try to navigate to the CrmDiscoveryService URL and the response, before I am redirected is:
HTTP/1.1 302 Found
Cache-Control: private
Content-Length: 237
Content-Type: text/html; charset=utf-8
Location: https://<server>:444/MSCRMServices/2007/SPLA/CrmDiscoveryService.asmx
Server: Microsoft-IIS/7.5
X-AspNet-Version: 4.0.30319
X-Powered-By: ASP.NET
Date: Tue, 06 Dec 2011 23:31:26 GMT
<html><head><title>Object moved</title></head><body>
<h2>Object moved to here.</h2>
</body></html>
I believe that Dynamics CRM is trying to redirect me to the actual page I have gone to, and thus it is looping into infinity.
I originally had this issue with the Discovery Service: http://social.microsoft.com/Forums/en-US/crmdeployment/thread/d92924d8-5982-4a11-ac66-602feb4542c8/?prof=required however I was able to correct this by allowing anonymous authentication to the folder the Discover Service was located in.
After some extensive searches I am yet to find anything on the Discovery Service infinite redirect issue I am now having.
Any help would be greatly appreciated.
So I've solved the problem, kind of...
I'll post it here so as anybody else experiencing the same thing will be able to figure it out out (there's nothing worse than seeing an empty thread for a problem that one is having).
It turns out that while I cannot access this URL via Internet Explorer, when used authenticating via IFD in custom code this works correctly.
I'd still be interested though in finding out why it works in my custom code but not Internet Explorer.