Sets the reply-to address

@param string $emailAddress The email address to use as your reply address

@return $this
169641
public function replyTo($emailAddress)
    {
        try {
            $this->mailer->AddReplyTo($emailAddress);
        } catch (phpmailerException $e) {
            throw new EmailException($e->getMessage(), $e->getCode());
        }

        return $this;
    }
250882
private function setAddress($quoteAddress, $address)
    {
        $address = $this->cartHelper->handleSpecialAddressCases($address);

        $region = $this->regionModel->loadByName(@$address->region, @$address->country_code);

        $addressData = [
            'firstname'    => @$address->first_name,
            'lastname'     => @$address->last_name,
            'street'       => trim(@$address->street_address1 . "\n" . @$address->street_address2),
            'city'         => @$address->locality,
            'country_id'   => @$address->country_code,
            'region'       => @$address->region,
            'postcode'     => @$address->postal_code,
            'telephone'    => @$address->phone_number,
            'region_id'    => $region ? $region->getId() : null,
            'company'      => @$address->company,
        ];

        if ($this->cartHelper->validateEmail(@$address->email_address)) {
            $addressData['email'] = $address->email_address;
        }

        // discard empty address fields
        foreach ($addressData as $key => $value) {
            if (empty($value)) {
                unset($addressData[$key]);
            }
        }

        $quoteAddress->setShouldIgnoreValidation(true);
        $quoteAddress->addData($addressData)->save();
    }
294121
public function setCustomerAddress(array $customerAddress)
    {
        $this->custumer['address'] = [
            'street'     => $this->sanitize($customerAddress, 'street'),
            'number'     => $this->sanitize($customerAddress, 'number'),
            'complement' => $this->sanitize($customerAddress, 'complement'),
            'district'   => $this->sanitize($customerAddress, 'district'),
            'postalCode' => $this->sanitizeNumber($customerAddress, 'postalCode'),
            'city'       => $this->sanitize($customerAddress, 'city'),
            'state'      => strtoupper($this->checkValue($customerAddress, 'state')),
        ];

        $this->validateCustomerAddress($this->custumer['address']);

        return $this;
    }
551657
public function convertEmailAddress(string $emailAddress): string
    {
        if (strpos($emailAddress, '@') === false) {
            throw new InvalidArgumentException('The given string does not look like an email address', 206);
        }

        $parts = explode('@', $emailAddress);

        return sprintf(
            '%s@%s',
            $parts[0],
            $this->convert($parts[1])
        );
    }
916827
public function setEmailAddress($value)
    {
        if (filter_var($value, FILTER_VALIDATE_EMAIL) === false)
        {
            throw new InvalidArgumentException($value . " is not a valid email address.");
        }
        $this->emailAddress = trim($value);
    }
1216361
public function setSenderAddress(array $senderAddress)
    {
        $senderAddress = [
          'street'     => $this->sanitize($senderAddress, 'senderAddressStreet'),
          'number'     => $this->sanitize($senderAddress, 'senderAddressNumber'),
          'complement' => $this->sanitize($senderAddress, 'senderAddressComplement'),
          'district'   => $this->sanitize($senderAddress, 'senderAddressDistrict'),
          'postalCode' => $this->sanitizeNumber($senderAddress, 'senderAddressPostalCode'),
          'city'       => $this->sanitize($senderAddress, 'senderAddressCity'),
          'state'      => strtoupper($this->checkValue($senderAddress, 'senderAddressState')),
          'country'    => 'BRA',
        ];

        $this->validateSenderAddress($senderAddress);
        $this->senderAddress = $senderAddress;

        return $this;
    }
327604
public function setAddress(\Dacorp\ExtraBundle\Entity\Address $address = null)
    {
        $this->address = $address;
    
        return $this;
    }
277899
public function getByEmail($emailAddress)
    {
        $path = new ResourcePathServiceOperation($this->getContext(),$this->getResourcePath(),"getByEmail",array($emailAddress));
        return new User($this->getContext(),$path);
    }
895291
public function setAddressAddOn($addressAddOn): Hybrid
    {
        self::validateSetLength('addressAddOn', $addressAddOn);
        $this->data['addressAddOn'] = $addressAddOn;

        return $this;
    }
215204
public function setReplyTo(array $addresses): Email
    {
        $addresses = $this->transformAddressesToArray($addresses);
        $this->message->setReplyTo($addresses);

        return $this;
    }
1197398
public function setReplyTo($replyToEmail)
    {
        $this->replyToEmail = $this->mailManager->getTranslator()
            ->trans($replyToEmail);

        return $this;
    }
1142124
public function address($email, $name = null)
    {
        $this->getMailer()->addAddress($email, (empty($name)) ? $email : $name);

        return $this;
    }
575875
public function setReplyTo($address, $title = '')
    {
        $this->headers['Reply-To'] = $this->formatEmailAddress($address, $title);

        return $this;
    }
695716
public function setEmail($email)
    {
        $email = trim($email);

        if (preg_match('/\<(.*)\>/', $email, $matches)) {
            $email = trim(str_replace($matches[ 0 ], '', $email));
            $name = $matches[ 1 ];
        }

        if (filter_var($email, FILTER_VALIDATE_EMAIL)) {
            $this->email = $email;

            if (isset($name)) {
                $this->setName($name);
            }
        }

        return $this;
    }
920043
public function setTo($address, $name = null) : EmailInterface
    {
        $this->mailer->addAddress($address, $name);

        return $this;
    }
389743
public static function fromString(string $emailAddress): self
    {
        if (!preg_match('/^([^><]+?)\s*(?:<([^><]+)>)?$/', $emailAddress, $matches)) {
            throw new InvalidArgumentException(sprintf('"%s" is not a valid e-mail address.', $emailAddress));
        }

        return isset($matches[2]) ? new static($matches[2], $matches[1]) : new static($matches[1]);
    }
275658
public function setAddressDestination(\Core\Entity\Address $address_destination = null) {
        $this->address_destination = $address_destination;

        return $this;
    }