Jump to:

1999 Posts in 1408 Topics by 613 members

Form Questions

SilverStripe Forums » Form Questions » Mail failure - no recipient addresses

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 3638 Views
  • webtonic
    Avatar
    Community Member
    26 Posts

    Mail failure - no recipient addresses Link to this post

    From: Mail Delivery System [mailto:Mailer-Daemon@server1.webdzn.co.nz]
    Sent: Saturday, 30 January 2010 8:32 a.m.
    To: sales@customerdomainname.co.nz
    Subject: Mail failure - no recipient addresses

    A message that you sent contained no recipient addresses, and therefore no delivery could be attempted.

    ------ This is a copy of your message, including all the headers. ------

    To:
    Subject: Web Site Query
    X-PHP-Script: www.customerdomainname.co.nz/sapphire/main.php for 118.92.167.228
    MIME-Version: 1.0
    Content-Type: multipart/alternative; boundary="----=_NextPart_147458440719"
    Content-Transfer-Encoding: 7bit
    From: sales@customerdomainname.co.nz
    X-Mailer: SilverStripe Mailer - version 2006.06.21 (Sent from
    "www.customerdomainname.co.nz")
    X-Priority: 3
    X-SilverStripeBounceURL: www.customerdomainname.co.nz/Email_BounceHandler
    X-SilverStripeSite: mysite
    Message-Id: <E1NawZE-0007qo-6Y@server1.webdzn.co.nz>
    Date: Sat, 30 Jan 2010 08:31:44 +1300

    This is a multi-part message in MIME format.

    ------=_NextPart_147458440719
    Content-Type: text/plain; charset="utf-8"
    Content-Transfer-Encoding: quoted-printable

    Web Site Query Thank you for your email we will be in contact with you shortly. *Name:* Gerard *Email:* gwoods2006@gmail.com *Phone:* 035380743 *Subject:* testing *Comments/ Feedback:* Hello, do I recieve an email in gmail or will it bounce?

    ------=_NextPart_147458440719
    Content-Type: text/html; charset="utf-8"
    Content-Transfer-Encoding: quoted-printable

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=3DContent-Type content=3D"text/html; charset=3Dutf-8"> <STYLE type=3D3Dtext/css></STYLE>

    </HEAD>
    <BODY bgColor=3D#ffffff>
    <h1>Web Site Query</h1>
    Thank you for your email we will be in contact with you shortly.

    =09<dl>
    =09=09
    =09=09=09<dt><strong>Name:</strong></dt>
    =09=09=09<dd style=3D"margin: 4px 0 14px 0">Gerard</dd>
    =09=09
    =09=09=09<dt><strong>Email:</strong></dt>
    =09=09=09<dd style=3D"margin: 4px 0 14px 0">gwoods2006@gmail.com</dd>
    =09=09
    =09=09=09<dt><strong>Phone:</strong></dt>
    =09=09=09<dd style=3D"margin: 4px 0 14px 0">035380743</dd>
    =09=09
    =09=09=09<dt><strong>Subject:</strong></dt>
    =09=09=09<dd style=3D"margin: 4px 0 14px 0">testing</dd>
    =09=09
    =09=09=09<dt><strong>Comments/ Feedback:</strong></dt> =09=09=09<dd style=3D"margin: 4px 0 14px 0">Hello, do I recieve an email in gmail or will it bounce?</dd>
    =09=09
    =09</dl>

    </BODY>
    </HTML>
    ------=_NextPart_147458440719--

  • Willr
    Avatar
    Forum Moderator
    5482 Posts

    Re: Mail failure - no recipient addresses Link to this post

    You should really provide some more details so people can help out. How are you sending this email? custom code or using a module like UserForms? perhaps post your PHP code if its custom so we can check it out. Seems the issue is straightforward - no To set on the email. So make sure you have something like

    $email = new Email();
    ... your existing code
    $email->setTo('email@email.com');

  • webtonic
    Avatar
    Community Member
    26 Posts

    Re: Mail failure - no recipient addresses Link to this post

    Sorry
    I am using the userforms module and it is only with gmail accounts this issue occurs

  • Willr
    Avatar
    Forum Moderator
    5482 Posts

    Re: Mail failure - no recipient addresses Link to this post

    Ah with your UDF setup have you setup the 'To' parameter on the email recipient as a field or an actual fixed email addresss.

  • webtonic
    Avatar
    Community Member
    26 Posts

    Re: Mail failure - no recipient addresses Link to this post

    I have it set up as the email field

    3638 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.